diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-10-19 22:17:12 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-10-19 22:17:12 +0300 |
commit | f295da3499b5d99c7fdb866f2cde9c595efb5b85 (patch) | |
tree | b1c8068a3c14dbff79655ee2d6c0840f047b78d3 /modules/bind/manifests | |
parent | 46e92afe7abe5050d748569cf414a1edc118f98c (diff) | |
download | puppet-f295da3499b5d99c7fdb866f2cde9c595efb5b85.tar puppet-f295da3499b5d99c7fdb866f2cde9c595efb5b85.tar.gz puppet-f295da3499b5d99c7fdb866f2cde9c595efb5b85.tar.bz2 puppet-f295da3499b5d99c7fdb866f2cde9c595efb5b85.tar.xz puppet-f295da3499b5d99c7fdb866f2cde9c595efb5b85.zip |
lint fixes for bind
Diffstat (limited to 'modules/bind/manifests')
-rw-r--r-- | modules/bind/manifests/zone.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bind/manifests/zone.pp b/modules/bind/manifests/zone.pp index 24367206..c99c3f16 100644 --- a/modules/bind/manifests/zone.pp +++ b/modules/bind/manifests/zone.pp @@ -1,10 +1,10 @@ define bind::zone($type, $content = false) { if ! $content { - $zone_content = template("bind/zones/$name.zone") + $zone_content = template("bind/zones/${name}.zone") } else { $zone_content = $content } - file { "/var/lib/named/var/named/$type/$name.zone": + file { "/var/lib/named/var/named/${type}/${name}.zone": content => $zone_content, require => Package['bind'], notify => Exec['named_reload'] |