summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Philippe VĂ©ronneau <pollito@riseup.net>2016-12-22 21:56:16 -0500
committerLouis-Philippe VĂ©ronneau <pollito@riseup.net>2016-12-22 21:56:16 -0500
commit0bdd46891d9fe202e22fb5a90ed720c6769edf9c (patch)
treec4950ec390649d69baf44793fcdc1d71ba875cfb
parentc4e6f42e1b629e98ddeeb7c9821f1266f7295685 (diff)
fix array identation
-rw-r--r--manifests/dist_upgrade/initiator.pp6
-rw-r--r--manifests/init.pp13
2 files changed, 11 insertions, 8 deletions
diff --git a/manifests/dist_upgrade/initiator.pp b/manifests/dist_upgrade/initiator.pp
index 2ce83da..5dfce14 100644
--- a/manifests/dist_upgrade/initiator.pp
+++ b/manifests/dist_upgrade/initiator.pp
@@ -9,11 +9,9 @@ class apt::dist_upgrade::initiator inherits apt::dist_upgrade {
group => 0,
path => $initiator_abs,
checksum => md5,
- source => [
- "puppet:///modules/site_apt/${::fqdn}/${initiator}",
+ source => [ "puppet:///modules/site_apt/${::fqdn}/${initiator}",
"puppet:///modules/site_apt/${initiator}",
- "puppet:///modules/apt/${initiator}",
- ],
+ "puppet:///modules/apt/${initiator}" ],
}
Exec['apt_dist-upgrade'] {
diff --git a/manifests/init.pp b/manifests/init.pp
index 63059dd..196c0c7 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -117,13 +117,18 @@ class apt (
}
# workaround for preseeded_package component
- file { [ '/var/cache', '/var/cache/local', '/var/cache/local/preseeding' ]: ensure => directory }
+ file {
+ [ '/var/cache',
+ '/var/cache/local',
+ '/var/cache/local/preseeding' ]:
+ ensure => directory;
+ }
exec { 'update_apt':
command => '/usr/bin/apt-get update',
- require => [
- File['/etc/apt/apt.conf.d', '/etc/apt/preferences' ],
- File['/etc/apt/sources.list'] ],
+ require => [ File['/etc/apt/apt.conf.d',
+ '/etc/apt/preferences',
+ '/etc/apt/sources.list'] ],
refreshonly => true,
# Another Semaphor for all packages to reference
alias => [ 'apt_updated', 'refresh_apt']