Add listchanges.conf template for Debian sid.
Add apticron.conf template for Debian sid.
Enable Unattended-Upgrade::MailOnlyOnError (Closes Redmine#3740).
Refactor: manage .d directories when using sources_list and apt_conf

The .d directories are only managed by the main 'apt' class. However,
both 'sources_list' and 'apt_conf' defines depend on those directories.
So in practice, the defines have an implicit need for those directories
to be somehow managed.

Let's turn this into an explicit relation, and include the directories
in the defines.

This makes it possible to use both defines without having to include the
main 'apt' class. (maybe when using puppet apply?)

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Force an apt-get update when changing an apt::sources_list

sources_list doesn't currently force puppet to run 'apt-get update'
after creating/modifying/removing files in sources.list.d.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
migrate concatenated_file to the concat module
use the correct name
use correct references for new concat usage
Depend on our shared concat module rather than ripienaar's one.

Most of us are likely to use and test against the former.
Fix formatting.
Merge remote-tracking branch 'shared/master'

Conflicts:
	README
Migrate - in class names to _

In newer puppet releases the old way to name class/modules with a -,
won't anymore be supported.
Apply GPL-v3 license

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Adding preferences_oneiric.erb
Adding precise template
Changing ubuntu preferences templates to symlinks
new style for 2.7
Migrate - in class names to _

In newer puppet releases the old way to name class/modules with a -,
won't anymore be supported.

Conflicts:

	manifests/unattended_upgrades.pp
refactor things for >2.7
Support multiple APT preferences snippets for the same package name pattern.

This is implemented by adding a "package" parameter to apt::preferences_snippet,
so that define names can be kept unique while the package names are
not necessarily.

Closes: Redmine#3468.