Fixed samba with Ubuntu

This commit is contained in:
Jussi 2011-07-29 18:11:25 +03:00 committed by Timo Mkinen
parent f8d8abe1ae
commit 4484685be6

View file

@ -39,6 +39,16 @@ class samba::server {
subscribe => File["/etc/samba/smb.conf"], subscribe => File["/etc/samba/smb.conf"],
} }
} }
ubuntu: {
service { [ "smbd", "nmbd" ]:
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
require => File["/etc/samba/smb.conf"],
subscribe => File["/etc/samba/smb.conf"],
}
}
default: { default: {
service { "smb": service { "smb":
ensure => running, ensure => running,