diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-08 13:07:03 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-08 13:07:03 +0200 |
commit | 1b5393f6c8e5c5707410701cceb3c6fb99fda613 (patch) | |
tree | cc731ef0136eda3ba398d611961434bb4b2ceb7a /manifests/init.pp | |
parent | Got content working. (diff) | |
download | dns-1b5393f6c8e5c5707410701cceb3c6fb99fda613.tar.gz dns-1b5393f6c8e5c5707410701cceb3c6fb99fda613.tar.xz |
work
Diffstat (limited to '')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index a3e073a..d80cea3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -104,11 +104,17 @@ class dns ( ensure => file, } + $warn = @(EOF) + # + # File managed by Puppet. Local changes WILL be overwritter', + # + | EOF + concat { $config_file: ensure_newline => true, - warn => '# File managed by Puppet. Local changes WILL be overwritter', validate_cmd => "${checkconf} %", notify => Service[$servicename], + warn => $warn, } concat::fragment { 'named.conf main configuration': |