aboutsummaryrefslogtreecommitdiff
path: root/tests/init.pp
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2015-04-11 16:42:26 -0400
committerAdam Jahn <ajjahn@gmail.com>2015-04-11 16:42:26 -0400
commit109024fd916b67aebf983427bde8b8761a8d2a97 (patch)
tree520c854fb196a48cbf5c1757546e235e5d9772ef /tests/init.pp
parent111bb7e83fd75f5c7e116d4d67e8c0a0eb627b17 (diff)
downloadpuppet-samba-109024fd916b67aebf983427bde8b8761a8d2a97.tar.gz
puppet-samba-109024fd916b67aebf983427bde8b8761a8d2a97.tar.bz2
first set of specs
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',
+ }
+}