summaryrefslogtreecommitdiff
path: root/manifests/linux.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-08-30 13:24:04 +0200
committermh <mh@immerda.ch>2014-08-30 13:24:55 +0200
commitb8bd7e5c9208feb09019a395374a04437a8122a4 (patch)
tree404a93abfbbf674b8f8e04eda605a2b0b63e2035 /manifests/linux.pp
parentc80c781fa05f94ac1c8631e068af98a6839b0a4a (diff)
fix cron name globally + linting
Diffstat (limited to 'manifests/linux.pp')
-rw-r--r--manifests/linux.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/linux.pp b/manifests/linux.pp
index 6fc17ba..7bf3331 100644
--- a/manifests/linux.pp
+++ b/manifests/linux.pp
@@ -1,3 +1,4 @@
+# puppet on linux
class puppet::linux inherits puppet::base {
package { 'puppet':
@@ -12,10 +13,12 @@ class puppet::linux inherits puppet::base {
require => Package[puppet],
}
- file { '/etc/cron.d/puppetd.cron':
- source => [ "puppet:///modules/site_puppet/cron.d/puppetd",
+ file { '/etc/cron.d/puppetd':
+ source => ['puppet:///modules/site_puppet/cron.d/puppetd',
"puppet:///modules/puppet/cron.d/puppetd.${::operatingsystem}",
- "puppet:///modules/puppet/cron.d/puppetd" ],
- owner => root, group => 0, mode => 0644,
+ 'puppet:///modules/puppet/cron.d/puppetd' ],
+ owner => root,
+ group => 0,
+ mode => '0644',
}
}