| Age | Commit message (Collapse) | Author | 
 | 
(Starting to merge changes from immerda.)
Conflicts:
	manifests/default_sources_list.pp
	manifests/init.pp
 | 
 | 
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.
 | 
 | 
Conflicts:
	README
	manifests/custom_sources.pp
	manifests/default_preferences.pp
	manifests/init.pp
	manifests/unattended_upgrades.pp
	templates/Debian/sources.list.volatile.erb
 | 
 | 
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>
 | 
 | 
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>
 | 
 | 
 | 
 | 
 | 
 | 
Integrate no custom preference into our new
way to manage the preferences.
Conflicts:
	README
	manifests/default_preferences.pp
	manifests/init.pp
 | 
 | 
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>
 | 
 | 
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>
 | 
 | 
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>
 | 
 | 
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>
 | 
 | 
Conflicts:
	manifests/init.pp
 | 
 | 
Else it will crash automatic upgrades.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
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.
 | 
 | 
 | 
 | 
 | 
 | 
This allows other modules to add lines there too.
 | 
 | 
 | 
 | 
APT configuration has (unfortunately) nothing to do with APT preferences.
 | 
 | 
 | 
 | 
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
 | 
 | 
 | 
 | 
This will help merging with Nadir's changes.
 | 
 | 
 | 
 | 
 | 
 | 
$debian_version/$name.seeds.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
The templates already made use of it, but the code didn't set a default value.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 |