From 5d06123df9aeb4c104843827afd855d9781aa914 Mon Sep 17 00:00:00 2001 From: Bill Weiss Date: Sun, 4 Nov 2012 17:44:23 -0600 Subject: 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. --- README.markdown | 3 ++- manifests/init.pp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index bc6476a..a1e168a 100644 --- a/README.markdown +++ b/README.markdown @@ -6,7 +6,8 @@ This module has been built and tested using Puppet 2.6.x # Platforms # - * Enterprise Linux 5 + * Enterprise Linux 5 (and CentOS 5.4) * Ubuntu 10.04 Lucid * Amazon Linux 2011.09 has been tested on 2.7.x with facter version 1.6.2 * FreeBSD 9.0 + * Debian 6.0 Squeeze 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: -- cgit v1.2.3