diff options
author | Ashley Penney <apenney@gmail.com> | 2013-07-09 14:10:19 -0700 |
---|---|---|
committer | Ashley Penney <apenney@gmail.com> | 2013-07-09 14:10:19 -0700 |
commit | 75776217283ba2531d9025b34db567dc06f2ff65 (patch) | |
tree | d1e45b40789bb77cf88ca38c03ba1a3841d20229 /manifests/config.pp | |
parent | 451c93a46c42c9659cc0930a301746cf103dbeb2 (diff) | |
parent | b9ab67401404d13e535d815c8a3eafb78cf143fd (diff) |
Merge pull request #66 from apenney/refactor-round-1
WIP: Refactoring of NTP module
Diffstat (limited to 'manifests/config.pp')
-rw-r--r-- | manifests/config.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/manifests/config.pp b/manifests/config.pp new file mode 100644 index 0000000..b34ef4f --- /dev/null +++ b/manifests/config.pp @@ -0,0 +1,17 @@ +class ntp::config( + $config = $ntp::config, + $config_template = $ntp::config_template, + $panic = $ntp::panic, + $restrict = $ntp::restrict, + $servers = $ntp::servers, +) inherits ntp { + + file { $config: + ensure => file, + owner => 0, + group => 0, + mode => '0644', + content => template($config_template), + } + +} |