summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-14 18:28:44 +0100
committervarac <varacanero@zeromail.org>2013-03-14 18:28:44 +0100
commit3a99b7085c5a6c329adb9277b71f41e0ad9478a4 (patch)
tree0dabee440627d88ebd0c1787c3f5f0a9d04b1881 /puppet
parent0c61b8e76a4bf813886d4f8458b6002f7d143faa (diff)
pass template() to apt
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_apt/manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp
index f420b0cc..de854d58 100644
--- a/puppet/modules/site_apt/manifests/init.pp
+++ b/puppet/modules/site_apt/manifests/init.pp
@@ -2,8 +2,9 @@ class site_apt {
# on couchdb we need to include squeeze in apt preferences,
# so the cloudant package can pull some packages from squeeze
+ # template() must be unquoted !
if 'couchdb' in $::services {
- $custom_preferences = 'site_apt/preferences.include_squeeze'
+ $custom_preferences = template("site_apt/preferences.include_squeeze")
} else {
$custom_preferences = ''
}