summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorBill Weiss <bv@billweiss.net>2012-11-04 17:44:23 -0600
committerBill Weiss <bv@billweiss.net>2012-11-04 17:44:23 -0600
commit162a9fb7a305b5cc550497f01fece387d69f1060 (patch)
treed9d5f488be0164664c251fcfd4b9dae2f590e97b /manifests
parentda121489208453158c9bdcac4596c5d8fed46ed8 (diff)
Trivial fix for style, and made the README and comment match up
Puppet-lint was complaining about "ensure found on line but it's not the first attribute on line 109". Trivial fix (swapped the ensure and the name). Also, the README didn't mention Debian or CentOS, but the comment block in init.pp did. I added both to the README. I happen to be using this with Debian unstable, but I haven't tested it extensively enough to say "yep, this works". It, however, works for me.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 21f4296..b404071 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -105,8 +105,8 @@ class ntp($servers='UNSET',
if ($supported == true) {
package { 'ntp':
- name => $pkg_name,
ensure => $package_ensure,
+ name => $pkg_name,
}
file { $config: