diff options
Diffstat (limited to 'puppet/modules/ntp/manifests/config.pp')
m--------- | puppet/modules/ntp | 9 | ||||
-rw-r--r-- | puppet/modules/ntp/manifests/config.pp | 23 |
2 files changed, 23 insertions, 9 deletions
diff --git a/puppet/modules/ntp b/puppet/modules/ntp deleted file mode 160000 -Subproject 27f2bc72110b1001233eb0907aa07e06cdf3319 diff --git a/puppet/modules/ntp/manifests/config.pp b/puppet/modules/ntp/manifests/config.pp new file mode 100644 index 00000000..1c8963dc --- /dev/null +++ b/puppet/modules/ntp/manifests/config.pp @@ -0,0 +1,23 @@ +# +class ntp::config inherits ntp { + + if $keys_enable { + $directory = dirname($keys_file) + file { $directory: + ensure => directory, + owner => 0, + group => 0, + mode => '0755', + recurse => true, + } + } + + file { $config: + ensure => file, + owner => 0, + group => 0, + mode => '0644', + content => template($config_template), + } + +} |