]> gitweb.fluxo.info Git - puppet-apt.git/commit
refactor: simplify and remove inline content
authorGabriel Filion <lelutin@gmail.com>
Mon, 25 Oct 2010 04:14:33 +0000 (00:14 -0400)
committerGabriel Filion <lelutin@gmail.com>
Mon, 25 Oct 2010 04:14:33 +0000 (00:14 -0400)
commitd97a49b7b2c020c2c43df6524236f50a421789ee
tree80702221488e6cbfe527a6d3a153708441d1e5bc
parentac76a5d52df78aec919f08334ca5b140902a9298
refactor: simplify and remove inline content

Simplifications: make apt_conf_snippet repeat less code, make code that
generates sources.list more concise.

Remove all inline content in favor of templates and static files.
The ability to include sources for static files was needed for
the main 'preferences' file, so it was added to the preferences_snippet
define.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
files/preferences [moved from templates/preferences.erb with 99% similarity]
files/preferences_snippet.erb [new file with mode: 0644]
manifests/apt_conf_snippet.pp
manifests/init.pp
manifests/preferences.pp
manifests/preferences_snippet.pp