From e78a712e1152fd8981b87a6bb035777d0256f268 Mon Sep 17 00:00:00 2001 From: Marc Date: Fri, 17 Aug 2012 09:39:52 -0400 Subject: 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 --- manifests/server/config.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/server/config.pp (limited to 'manifests/server/config.pp') 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 -- cgit v1.2.3