diff options
author | varac <varacanero@zeromail.org> | 2013-03-14 18:28:44 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-03-14 18:28:44 +0100 |
commit | 3a99b7085c5a6c329adb9277b71f41e0ad9478a4 (patch) | |
tree | 0dabee440627d88ebd0c1787c3f5f0a9d04b1881 /puppet | |
parent | 0c61b8e76a4bf813886d4f8458b6002f7d143faa (diff) |
pass template() to apt
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_apt/manifests/init.pp | 3 |
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 = '' } |