aboutsummaryrefslogtreecommitdiff
path: root/manifests/cron/download.pp
diff options
context:
space:
mode:
authorGabriel Filion <lelutin@gmail.com>2013-01-02 08:12:11 -0500
committerintrigeri <intrigeri@boum.org>2013-01-02 17:28:59 +0100
commitded81d8edcc9a7cc8275a68f669fde896379b12e (patch)
tree244f0fda87dc42ab62474b306fabcb658604342d /manifests/cron/download.pp
parent17f67d9fac83193f4436e82fc6046e065d9ab024 (diff)
downloadpuppet-apt-ded81d8edcc9a7cc8275a68f669fde896379b12e.tar.gz
puppet-apt-ded81d8edcc9a7cc8275a68f669fde896379b12e.tar.bz2
Apply code style corrections from puppet-lint
Signed-off-by: Gabriel Filion <lelutin@gmail.com> + more linting by intrigeri. Conflicts: manifests/apticron.pp manifests/cron/dist_upgrade.pp manifests/cron/download.pp manifests/dist_upgrade/initiator.pp manifests/init.pp manifests/listchanges.pp manifests/preferences.pp manifests/preseeded_package.pp manifests/proxy_client.pp manifests/unattended_upgrades.pp manifests/update.pp
Diffstat (limited to 'manifests/cron/download.pp')
-rw-r--r--manifests/cron/download.pp14
1 files changed, 9 insertions, 5 deletions
diff --git a/manifests/cron/download.pp b/manifests/cron/download.pp
index f4e9184..4a19fec 100644
--- a/manifests/cron/download.pp
+++ b/manifests/cron/download.pp
@@ -4,20 +4,24 @@ class apt::cron::download inherits apt::cron::base {
dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
"
- file { "/etc/cron-apt/action.d/4-dist-upgrade":
+ file { '/etc/cron-apt/action.d/4-dist-upgrade':
ensure => absent,
}
- file { "/etc/cron-apt/action.d/3-download":
+ file { '/etc/cron-apt/action.d/3-download':
content => $action,
require => Package[cron-apt],
- owner => root, group => 0, mode => 0644;
+ owner => root,
+ group => 0,
+ mode => '0644';
}
- file { "/etc/cron-apt/config.d/MAILON":
+ file { '/etc/cron-apt/config.d/MAILON':
content => "MAILON=changes\n",
require => Package[cron-apt],
- owner => root, group => 0, mode => 0644;
+ owner => root,
+ group => 0,
+ mode => '0644';
}
}