summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-20 12:03:34 -0400
committerMicah Anderson <micah@riseup.net>2013-06-20 12:03:34 -0400
commite085e66f0f1c045b0282f738f4501e7a1d2fd301 (patch)
treecc1c56084ac462b38c3b8cadc3b6e1e75a9c62d6 /puppet/modules
parent16b2a5593ce4ced4a21635b0638147bff250d13f (diff)
We need to have a newer facter installed in order to get an updated fact for piston cloud
This moves the apt configuration into the setup.pp run, so we can get the backport source added early which will enable us to install the latest facter from the backports repository. Change-Id: I8ccf1a0445dea72f1b94be08484f33e648439ec1
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_apt/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp
index c5f37014..c33b7a84 100644
--- a/puppet/modules/site_apt/manifests/init.pp
+++ b/puppet/modules/site_apt/manifests/init.pp
@@ -23,4 +23,9 @@ class site_apt {
content => template('site_apt/secondary.list');
}
+ apt::preferences_snippet { 'facter':
+ release => "${::lsbdistcodename}-backports",
+ priority => 999
+ }
+
}