aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
AgeCommit message (Collapse)Author
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-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-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-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-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-10improve exec namingmh
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-30fixing requirementsmh
2009-10-30switch to new lsb waymh
2009-10-30our module_dir is currently called modules_dirmh
2009-10-30introduce a class to manage unattended-upgradesmh
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
2009-04-09the custom_keys exec needs to subscribe to an object for the refreshonly to fireMicah Anderson
2009-04-08fix the exec call to be more reasonable shell and to not use a for loop variableMicah Anderson
which is pure madness inside of puppet
2009-04-08Revert "fix the custom_key_dir process so it actually works by replacing the"Micah Anderson
This reverts commit 21ef026475782d5b59597a27fa06cfab7c9224dc. apt-key does not support glob options
2009-03-16fix the custom_key_dir process so it actually works by replacing theMicah Anderson
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-04Merge branch 'master' of gitosis@labs.riseup.net:module_aptMicah Anderson
2009-03-04fix recurse parameter for $custom_key_dir to use the proper valueMicah Anderson
2009-03-04try to use backports.org key for lenny tooPietro Ferrari
2008-09-29update header to include additional copyright info for my modificationsMicah Anderson
2008-09-29remove duplicate definition for preseeded_package, that was a mistakeMicah Anderson
2008-09-29add the upgrade_package defineMicah Anderson
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-29add the preseeded_package define which simplifies apt preseedingMicah Anderson
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-29need to set a null case for the $custom_key_dir variable so that it will ↵Micah Anderson
fire properly when not set
2008-09-29fix another trivial syntax errorMicah Anderson
2008-09-29fix missing comma syntax errorMicah Anderson
2008-09-29add $custom_key_dir which lets you specify a directory where you willMicah Anderson
place apt repository keys that should be added to apt-key
2008-09-28move the dependency on the latest debian-archive-keyring packageMicah Anderson
outside of the etch lsbdistcodename selector as this package should be the latest on every release of debian, not just etch
2008-09-28abstract the apt preferences so that custom preferences can be set,Micah Anderson
while maintaining a sane default preferences set can be set. This is done in the same manner that the custom/default sources_list are handled
2008-09-28Revert "turn preferences into a simple file"Micah Anderson
This reverts commit 0011e70a24ff49169da294b00b6b39b77fb05c86.
2008-09-28Revert "move backports in a seperate class, add the Cache-Limit hack to all ↵Micah Anderson
configs, try to depend on lsb-release properly" This reverts commit 3ecbee6a271e986229348deca91dbf338d98d735.