Changed remaining fqdn references to homename

This commit is contained in:
Ossi Salmi 2013-08-03 00:06:03 +03:00
parent 74d93dae34
commit ebde843cc6
17 changed files with 48 additions and 52 deletions

View file

@ -151,9 +151,9 @@ class samba::server($names=[$::hostname], $auth="tdbsam",
file { "/etc/samba/lmhosts":
ensure => present,
source => [ "puppet:///files/samba/lmhosts.${fqdn}",
"puppet:///files/samba/lmhosts",
"puppet:///modules/samba/lmhosts", ],
source => [ "puppet:///files/samba/lmhosts.${::homename}",
"puppet:///files/samba/lmhosts",
"puppet:///modules/samba/lmhosts", ],
mode => "0644",
owner => "root",
group => $::operatingsystem ? {