summaryrefslogtreecommitdiffstats
path: root/modules/samba
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-15 02:03:11 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-15 02:03:11 -0500
commit70962c2d930179c2cf2d45e033d18155872d1f71 (patch)
tree38a116e462e2ee6ad8241d14ab7e9e909835eab4 /modules/samba
parentcb4c28dbc2f28cef38a26d8572c8235baea4ee5a (diff)
downloadpuppet-tozt-70962c2d930179c2cf2d45e033d18155872d1f71.tar.gz
puppet-tozt-70962c2d930179c2cf2d45e033d18155872d1f71.zip
install samba
will write up the config later
Diffstat (limited to 'modules/samba')
-rw-r--r--modules/samba/manifests/init.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/samba/manifests/init.pp b/modules/samba/manifests/init.pp
new file mode 100644
index 0000000..cd131aa
--- /dev/null
+++ b/modules/samba/manifests/init.pp
@@ -0,0 +1,11 @@
+class samba {
+ package { 'samba':
+ ensure => installed;
+ }
+
+ service { ['smb', 'nmb']:
+ enable => true,
+ ensure => running,
+ require => Package['samba'];
+ }
+}