summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-02-01 13:54:18 +0100
committervarac <varacanero@zeromail.org>2016-02-02 09:47:45 +0100
commit4e2e0737efe244fb3d13c82d441a6804c1e9918d (patch)
tree6a09ef65bb5ca9d8b18ab215d759f7a2190765b6 /puppet
parent8f1c23dfb5a08240235301bbc07e1bbe82569b7b (diff)
[bug] Fix duplicate definition error for Class[Apt]
We need to include class `site_config::default` in class `site_config::slow` so we don't get this duplicate definition: - [local1.bitmask.local] Error: Duplicate declaration: Class[Apt] is already declared; cannot redeclare at /srv/leap/puppet/modules/site_apt/manifests/init.pp:29 on node local1.bitmask.local To be honest, i didn't figuered out the real cause of this, but it works with this.
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_config/manifests/slow.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/slow.pp b/puppet/modules/site_config/manifests/slow.pp
index de276bc3..8e9b7035 100644
--- a/puppet/modules/site_config/manifests/slow.pp
+++ b/puppet/modules/site_config/manifests/slow.pp
@@ -4,6 +4,7 @@
class site_config::slow {
tag 'leap_slow'
+ include site_config::default
include apt::update
class { 'site_apt::dist_upgrade': }
}