Commit graph

72 commits

Author SHA1 Message Date
intrigeri
e50e35e4c8 apt::preseeded_package: concatenate $name.seeds with $debian_version/$name.seeds. 2010-10-16 14:21:36 +02:00
intrigeri
7b82df6d0b Fix parent class name. 2010-10-10 11:09:25 +02:00
intrigeri
f0320059a9 Add support for customizing the repos list (main, contrib, etc.)
The templates already made use of it, but the code didn't set a default value.
2010-10-10 11:06:07 +02:00
intrigeri
208e60b864 Add cron-apt support. 2010-10-06 14:06:50 +02:00
intrigeri
fab154da39 Allow specifying custom mirrors for every supported archive. 2010-10-06 13:29:38 +02:00
intrigeri
53ca6e2235 Add opt-in support for next Debian release sources. 2010-10-06 12:39:50 +02:00
intrigeri
ff73987f30 Add per-release preferences files.
The previous default pinning preferences only supported tracking stable.
Tracking squeeze or sid is now possible.
2010-10-06 12:30:50 +02:00
intrigeri
50136de420 Add opt-in support for deb-src. 2010-10-06 12:09:38 +02:00
intrigeri
de94b807ee Add opt-in support for Debian Volatile. 2010-10-06 12:04:17 +02:00
intrigeri
b312c866d5 Reindent for consistency with previous work. 2010-10-06 11:52:07 +02:00
intrigeri
32e9d9b922 Remove unneeded dependencies. 2010-10-06 11:30:56 +02:00
intrigeri
9139d33562 Initialize $release, $next_release, $codename, $next_codename in init.pp. 2010-10-06 11:17:30 +02:00
Matt Taggart
356ff93340 backports.org has merged with the normal debian archive, the apt source changed and we don't need a separate apt-key for it now 2010-09-08 15:39:33 -07:00
Micah Anderson
cb9e265ad2 clean up the multiple File subscribes 2010-09-02 19:15:47 -04:00
Micah Anderson
92fd1d1351 quote all aliases to be consistent 2010-09-02 19:14:23 -04:00
mh
dd36612e50 refer to correct resource 2010-08-14 13:56:31 +02:00
mh
33f1b53c89 improve exec naming 2010-08-10 16:27:54 +02:00
mh
604cef0cc9 fix relation 2010-08-09 14:37:54 +02:00
mh
d1f120fd2d fix relation 2010-08-09 14:30:34 +02:00
mh
6aee66b509 remove unnecessary fileserver variable (#2460) 2010-08-07 02:12:12 +02:00
mh
bcb3ff88cd set loglevel to info so we don't pollute the logs 2010-06-28 21:49:09 +02:00
mh
a41c9ef86b adjust new module dir path 2010-05-09 22:44:40 +02:00
mh
f315dedce6 fix preseeding dir path 2009-11-14 14:35:09 +01:00
mh
64d2c07735 change pending module file resources to new 0.25 style 2009-11-02 01:12:12 +01:00
mh
ae4c5a6374 fix typo 2009-10-30 23:15:46 +01:00
mh
211ea52187 don't require anything 2009-10-30 23:07:12 +01:00
mh
848dff40a3 fixing requirements 2009-10-30 22:19:07 +01:00
mh
17be8ac184 switch to new lsb way 2009-10-30 22:04:48 +01:00
mh
61142025e7 our module_dir is currently called modules_dir 2009-10-30 21:43:43 +01:00
mh
0daa30f435 fix another typo 2009-10-30 21:15:21 +01:00
mh
1874479b3b fixing a string issue and tell it to install the package 2009-10-30 20:51:31 +01:00
mh
84f7ca7641 introduce a class to manage unattended-upgrades 2009-10-30 20:35:30 +01:00
mh
b0e0f720d0 add refactored files 2009-10-30 20:20:42 +01:00
mh
87d2fe06d1 refactor to fit pbp
- 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-10-30 18:21:42 +01:00
Micah Anderson
28c7b3d5f4 Merge commit 'sarava/master' 2009-09-03 19:18:34 -04:00
Silvio Rhatto
e68ee80773 Updating to new common module 2009-07-10 15:20:30 -03:00
Silvio Rhatto
91d300b52f Renaming modules_dir to module_dir 2009-07-10 15:03:05 -03:00
Micah Anderson
0a7ffc7d63 puppet wants a backslash escaped 2009-04-13 20:35:51 -04:00
Micah Anderson
430ddcea3f fix missing close bracket typo 2009-04-09 16:31:44 -04:00
Micah Anderson
53e765e5af the custom_keys exec needs to subscribe to an object for the refreshonly to fire 2009-04-09 16:08:55 -04:00
Micah Anderson
991fb6fdcf fix the exec call to be more reasonable shell and to not use a for loop variable
which is pure madness inside of puppet
2009-04-08 15:37:50 -04:00
Micah Anderson
be656a6ac8 Revert "fix the custom_key_dir process so it actually works by replacing the"
This reverts commit 21ef026475.

apt-key does not support glob options
2009-04-08 12:14:38 -04:00
Micah Anderson
21ef026475 fix the custom_key_dir process so it actually works by replacing the
bulky for loop in the exec with a much more simpler process that
works. Also, the recurse over the key dir needed to notify the exec to
trigger it.
2009-03-16 14:35:33 -04:00
Micah Anderson
b8a4b550b0 Merge branch 'master' of gitosis@labs.riseup.net:module_apt 2009-03-04 16:20:33 -05:00
Micah Anderson
42d4f33f41 fix recurse parameter for $custom_key_dir to use the proper value 2009-03-04 16:20:22 -05:00
Pietro Ferrari
b68f73c026 try to use backports.org key for lenny too 2009-03-04 12:34:18 -08:00
Micah Anderson
769bf79ddd update header to include additional copyright info for my modifications 2008-09-29 16:27:18 -04:00
Micah Anderson
9b40b913ed remove duplicate definition for preseeded_package, that was a mistake 2008-09-29 14:43:11 -04:00
Micah Anderson
91a49f53c4 add the upgrade_package define
This simplifies upgrades for DSA security announcements or point-releases. This
will ensure that the named package is upgrade to the version specified, only if the
package is installed, otherwise nothing happens. If the specified version is 'latest' (the
default), then the package is ensured to be upgraded to the latest package revision when
it becomes available.

For example, the following upgrades the perl package to version 5.8.8-7etch1 (if it is
installed), it also upgrades the syslog-ng and perl-modules packages to their latest (also,
only if they are installed):

upgrade_package { "perl":
			version => '5.8.8-7etch1';
		  "syslog-ng":
			version => latest;
		  "perl-modules":
}
2008-09-29 14:36:28 -04:00
Micah Anderson
377e095431 add the preseeded_package define which simplifies apt preseeding
automatically making sure that the preseeding directories are present
and pulling the seed file from templates/$debian_version/$name.seeds
which enables you to define things such as:

apt::preseeded_package { [ locales, popularity-contest, apt-listchanges, apticron]: }

and the .seed files will be automatically pulled and populated
2008-09-29 13:39:18 -04:00