aboutsummaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
2010-10-25refactor: simplify and remove inline contentGabriel Filion
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>
2010-10-24Add apt_conf_snippet and use it where possibleGabriel Filion
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>
2010-10-24Move default_sources_list into apt classGabriel Filion
The contents of the file default_sources_list.pp is used in only one place. Remove the file and move its contents inside the apt class in order to have one less useless depth level. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-22notify => Exec['refresh_apt']nadir
2010-10-22merged with immerda/masternadir
2010-10-21Merge remote branch 'lelutin/master'mh
Integrate no custom preference into our new way to manage the preferences. Conflicts: README manifests/default_preferences.pp manifests/init.pp
2010-10-18Make it possible to ensure preferences is absentGabriel Filion
The current code makes it mandatory to have a file /etc/apt/preferences present. In the event that this file is empty or contains a space, apt-get update cannot execute. Add a case with the special value "false" that ensures the file does not exist. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-18Remove unnecessary execGabriel Filion
When $custom_key_dir has not been assigned any value, a useless exec of /bin/true is run. Remove this by using 'if' instead of 'case'. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-17Add a proxy-client classGabriel Filion
The module currently doesn't have a handy way of making a server get its packages via a proxy. Add a "proxy-client" class that makes this easy. $apt_proxy declares the proxy server's fqdn $apt_proxy_port declares the port used for connection Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-17Make $apt_clean effective in all casesGabriel Filion
The file "/etc/apt/apt.conf.d/from_puppet" is currently only defined when $custom_sources_list is not used (it is declared in default_preferences). Bring this file up in the apt class so that using custom sources doesn't remove its addition. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-17Merge remote branch 'riseup/master'Gabriel Filion
Conflicts: manifests/init.pp
2010-10-17minor improvements, especially do not refresh apt every runmh
2010-10-17empty line between snippetsmh
2010-10-17fix header filemh
2010-10-17fix classnamemh
2010-10-17fix modules directory stuffmh
2010-10-17improve prefrences snippetmh
2010-10-17introduce preferences snippetmh
Now, we have the possibility to externally add snippes, so that we can preferences for packages that are for example only in backports or unstable.
2010-10-09re-added apt::custom_sources_template to deploy custom sources.list.d/xyz.listnadir
2010-10-09distribution specific sources.list.erbnadir
2010-10-09added possibility to have a custom 50unattended-upgradesnadir
2010-10-09files in /etc/apt/apt.conf.d should be numberednadir
2010-09-15improve decision handling, remove unnecessary execmh
2010-09-08backports.org has merged with the normal debian archive, the apt source ↵Matt Taggart
changed and we don't need a separate apt-key for it now
2010-09-02clean up the multiple File subscribesMicah Anderson
2010-09-02quote all aliases to be consistentMicah Anderson
2010-08-14refer to correct resourcemh
2010-08-10improve exec namingmh
2010-08-09fix relationmh
2010-08-09fix relationmh
2010-08-07remove unnecessary fileserver variable (#2460)mh
2010-06-28set loglevel to info so we don't pollute the logsmh
2010-05-09adjust new module dir pathmh
2009-11-14fix preseeding dir pathmh
2009-11-02change pending module file resources to new 0.25 stylemh
2009-10-30fix typomh
2009-10-30don't require anythingmh
2009-10-30fixing requirementsmh
2009-10-30switch to new lsb waymh
2009-10-30our module_dir is currently called modules_dirmh
2009-10-30fix another typomh
2009-10-30fixing a string issue and tell it to install the packagemh
2009-10-30introduce a class to manage unattended-upgradesmh
2009-10-30add refactored filesmh
2009-10-30refactor to fit pbpmh
- refactor every class and define into its very own file to fit better (at least our) puppet's best practices. - some cosmetic rearrangements - no code changes have been made, only reordering
2009-09-03Merge commit 'sarava/master'Micah Anderson
2009-07-10Updating to new common moduleSilvio Rhatto
2009-07-10Renaming modules_dir to module_dirSilvio Rhatto
2009-04-13puppet wants a backslash escapedMicah Anderson
2009-04-09fix missing close bracket typoMicah Anderson