aboutsummaryrefslogtreecommitdiff
path: root/tests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/init.pp')
-rw-r--r--tests/init.pp25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/init.pp b/tests/init.pp
new file mode 100644
index 0000000..142ba4e
--- /dev/null
+++ b/tests/init.pp
@@ -0,0 +1,25 @@
+# Smoketest.
+
+class {'samba::server':
+ workgroup => 'example',
+ server_string => "Example Samba Server",
+ interfaces => "eth0 lo",
+ security => 'share'
+ }
+
+ samba::server::share {'example-share':
+ comment => 'Example Share',
+ path => '/path/to/share',
+ guest_only => true,
+ guest_ok => true,
+ guest_account => "guest",
+ browsable => false,
+ create_mask => 0777,
+ force_create_mask => 0777,
+ directory_mask => 0777,
+ force_directory_mask => 0777,
+ force_group => 'group',
+ force_user => 'user',
+ copy => 'some-other-share',
+ }
+}