summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-09-19 18:31:51 +0200
committervarac <varacanero@zeromail.org>2013-09-20 19:02:02 +0200
commit98d8a337930d5afaf78d88c23adb985a7060f66b (patch)
treeaf9a6a62a06b4ba9f4c8d8bcbe2fe69d2c9b6d2c /puppet/modules/site_config
parente182d12c72743491805a3873e8b6cd804fe5394c (diff)
move all resources that are applied on every node into site_config::default (#3782)
in commit 338833, we established a relationship between all resources that have a leap_service tag, that are called in site.pp. But we had some resources as default on every node in site.pp (apt::update, Package { require => Exec['apt_updated'] }, site_config::slow and stdlib), that were still lacking any relationship to the leap_service tag. By moving them into default.pp they automatically are executed before resources with a leap_service tag.
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r--puppet/modules/site_config/manifests/default.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/default.pp b/puppet/modules/site_config/manifests/default.pp
index 83a344a2..13de82af 100644
--- a/puppet/modules/site_config/manifests/default.pp
+++ b/puppet/modules/site_config/manifests/default.pp
@@ -3,6 +3,15 @@ class site_config::default {
$domain_hash = hiera('domain')
+ # make sure apt is updated before any packages are installed
+ include apt::update
+ Package { require => Exec['apt_updated'] }
+
+ include stdlib
+
+ include site_config::slow
+
+
include concat::setup
# default class, used by all hosts