aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/config.pp
diff options
context:
space:
mode:
authorMarc <mmontgomery@pcch.org>2012-08-17 09:39:52 -0400
committerMarc <mmontgomery@pcch.org>2012-08-17 09:39:52 -0400
commite78a712e1152fd8981b87a6bb035777d0256f268 (patch)
treee832d32239fbbbec9d5cb584b836a5917cf788ce /manifests/server/config.pp
downloadpuppet-samba-e78a712e1152fd8981b87a6bb035777d0256f268.tar.gz
puppet-samba-e78a712e1152fd8981b87a6bb035777d0256f268.tar.bz2
initial commit current progress creates shares in ensures samba is installed and daemon is running, can add shares to smb.conf, and can set global variables
Diffstat (limited to 'manifests/server/config.pp')
-rw-r--r--manifests/server/config.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/server/config.pp b/manifests/server/config.pp
new file mode 100644
index 0000000..e9b1ed9
--- /dev/null
+++ b/manifests/server/config.pp
@@ -0,0 +1,11 @@
+class samba::server::config {
+
+ file { "/etc/samba/smb.conf":
+ ensure => $ensure,
+ owner => root,
+ group => root,
+ require => Class["samba::server::install"],
+ notify => Class["samba::server::service"]
+ }
+
+} \ No newline at end of file