diff options
author | Gabriel Filion <lelutin@gmail.com> | 2010-10-24 09:07:34 -0400 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2010-10-24 09:17:09 -0400 |
commit | ac76a5d52df78aec919f08334ca5b140902a9298 (patch) | |
tree | a5eacd9b7edb4213a61b8e569be93bf2bf6b24b6 /templates | |
parent | e22029433aa82817fb4cfcb9281991b5bd526c09 (diff) | |
download | puppet-apt-ac76a5d52df78aec919f08334ca5b140902a9298.tar.gz puppet-apt-ac76a5d52df78aec919f08334ca5b140902a9298.tar.bz2 |
Add apt_conf_snippet and use it where possible
With the new define, it's easy to add an apt.conf snippet in apt.conf.d
It accepts either 'sources' to get a static file or 'content' to define
content inline or with the help of a template.
Put it to use where we create files in apt.conf.d
Finally, fix the dependancy to the apt_config file (however, I don't see
the need for this dependancy)
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/20proxy.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/20proxy.erb b/templates/20proxy.erb new file mode 100644 index 0000000..e72319f --- /dev/null +++ b/templates/20proxy.erb @@ -0,0 +1 @@ +Acquire::http { Proxy "http://<%= real_apt_proxy %>:<%= real_apt_proxy_port %>"; }; |