summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-02-01 13:54:18 +0100
committerkwadronaut <kwadronaut@leap.se>2016-02-02 19:38:35 +0100
commit65d1d6da0dc76803f26668e92acda11cfc4bbf16 (patch)
tree4a9a6124e6f13f1702a904202eef395c2cc81cd7 /puppet/modules/site_config/manifests
parent5d4642e94c8a1a460988fe11419556753ce0f1aa (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/modules/site_config/manifests')
-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': }
}