aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-10Do not refresh APT lists on every run.intrigeri
Let's set refreshonly on the 'update_apt' Exec (aliased to 'apt_updated') instead of removing it for backward compatibility: it may be in use at some places to trigger updates.
2010-11-10Merge remote branch 'nadir/master'intrigeri
Conflicts: README manifests/custom_sources.pp manifests/default_preferences.pp manifests/init.pp manifests/unattended_upgrades.pp templates/Debian/sources.list.volatile.erb
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-17Ensure apt-listbugs is absent in dist-upgrade mode.intrigeri
Else it will crash automatic upgrades.
2010-10-17Need to update APT lists after apt.conf.d changes.intrigeri
2010-10-17No need to update APT lists when pinning changes (bis).intrigeri
2010-10-17Fix one more relationship.intrigeri
2010-10-17No need to refresh APT lists after changes to pinning preferences.intrigeri
2010-10-17Fix indentation.intrigeri
2010-10-17Fix relationships.intrigeri
2010-10-17minor improvements, especially do not refresh apt every runmh
2010-10-17improve examplemh
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-17Support choosing a custom Ubuntu mirror.intrigeri
2010-10-17Use append_if_no_such_line instead of line.intrigeri
2010-10-17Migrate config file to line-editing.intrigeri
This allows other modules to add lines there too.
2010-10-17Backward compatibility: ensure old renamed file is absent.intrigeri
2010-10-17Bring /etc/apt/apt.conf.d/99from_puppet to init.intrigeri
APT configuration has (unfortunately) nothing to do with APT preferences.
2010-10-17Support $apt_repos for Ubuntu as well.intrigeri
2010-10-17Merge remote branch 'nadir/master' into wipintrigeri
Conflicts: manifests/default_preferences.pp manifests/default_sources_list.pp manifests/init.pp templates/Debian/sources.list.deb-src.erb templates/Debian/sources.list.erb templates/Debian/sources.list.volatile.erb templates/Ubuntu/sources.list.erb
2010-10-17Bring in a bit of Ubuntu support from Nadir.intrigeri
2010-10-17Rename $apt_use_volatile to $apt_volatile_enabled.intrigeri
This will help merging with Nadir's changes.
2010-10-17Manage a /etc/apt/apt.conf.d/99-puppet file.root
2010-10-16Syntax fixintrigeri
2010-10-16apt::preseeded_package: concatenate $name.seeds with ↵intrigeri
$debian_version/$name.seeds.
2010-10-10Trim more empty lines.intrigeri
2010-10-10Trim empty lines in template.intrigeri
2010-10-10Fix functions return values.intrigeri
2010-10-10Fix parent class name.intrigeri
2010-10-10Add support for customizing the repos list (main, contrib, etc.)intrigeri
The templates already made use of it, but the code didn't set a default value.
2010-10-10Fix functions declaration and filenames.intrigeri
2010-10-09Fix template syntax.intrigeri
2010-10-09Rename function file so that puppet hopefully finds it.intrigeri
2010-10-09re-added apt::custom_sources_template to deploy custom sources.list.d/xyz.listnadir
2010-10-09removed backports template in favor of main sources.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