summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-12-09 17:13:23 +0100
committervarac <varacanero@zeromail.org>2016-01-05 20:20:50 +0100
commit3bb37824d5cf1e146a257d14d5cf41d7df3def5d (patch)
treedee98aff7a26a1d408b1f4ff0a1b574a7c8dd829 /puppet/modules/site_apt
parent5825513bcd14efd39031ba5cab3613a39c3027ec (diff)
[style] Lint site_apt::dist_upgrade
Diffstat (limited to 'puppet/modules/site_apt')
-rw-r--r--puppet/modules/site_apt/manifests/dist_upgrade.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/manifests/dist_upgrade.pp b/puppet/modules/site_apt/manifests/dist_upgrade.pp
index 250f4b70..40e2dd58 100644
--- a/puppet/modules/site_apt/manifests/dist_upgrade.pp
+++ b/puppet/modules/site_apt/manifests/dist_upgrade.pp
@@ -1,6 +1,10 @@
+# upgrade all packages
class site_apt::dist_upgrade {
+ # facter returns 'true' as string
+ # lint:ignore:quoted_booleans
if $::apt_running == 'true' {
+ # lint:endignore
fail ('apt-get is running in background - Please wait until it finishes. Exiting.')
} else {
exec{'initial_apt_dist_upgrade':