Commit graph

309 commits

Author SHA1 Message Date
Ashley Penney
39cbeeb9d2 This work flips from onlyif to unless (mistakenly looked at the
wrong return code).
2013-10-08 10:50:30 -07:00
Ashley Penney
e3907061fd Merge pull request #170 from apenney/metadata
FM-103: Add metadata.json to all modules.
2013-10-04 16:17:38 -07:00
Ashley Penney
245b2b1783 FM-103: Add metadata.json to all modules. 2013-10-04 15:52:41 -04:00
Ashley Penney
42b2cd3d61 Merge pull request #169 from apenney/fix_ppa.pp
This switches us to doing a `test -s` instead of checking for the
2013-10-02 12:06:32 -07:00
Ashley Penney
ee24679f6d Fix other tests to include apt appropriately. 2013-10-02 14:46:00 -04:00
Ashley Penney
2f9c16a273 This switches us to doing a test -s instead of checking for the
files existence as add-apt-repository --remove leaves a 0 byte file
behind instead of deleting everything properly.
2013-10-02 14:46:00 -04:00
Ashley Penney
bb5fcad152 Merge pull request #168 from apenney/rspec-system
Add initial rspec-system tests.
2013-10-02 10:01:49 -07:00
Ashley Penney
621111ee73 Add initial rspec-system tests.
This covers:

apt::builddep
apt::key
apt::ppa
apt::source
apt
2013-10-02 12:49:22 -04:00
Ashley Penney
5c49633f4f Merge pull request #167 from madeddie/master
add an updates_timeout option to apt::params (PR fix)
2013-10-02 06:07:05 -07:00
Edwin Hermans
c07ab505c1 add an updates_timeout option to apt::params (PR fix) 2013-10-02 14:24:30 +02:00
Hunter Haugen
3e3de6ee92 Merge pull request #162 from apenney/130-release
Prepare 1.3.0 release.
2013-09-17 10:25:30 -07:00
Ashley Penney
3442c49e26 Prepare 1.3.0 release. 2013-09-17 10:20:23 -04:00
Ashley Penney
ef781c77fd Merge pull request #153 from drbop/drbop_unattended_upgrades
Class for managing unattended-upgrades
2013-09-16 16:18:41 -07:00
Dan Carley
e0926f370d [#153] Remove trailing whitespace from spec. 2013-09-16 13:57:44 +01:00
Dan Carley
dc88fe6ef6 [#153] Install unattended configs after package
To ensure that the default configs from the package are always overwritten
within a single Puppet run.
2013-09-16 13:57:44 +01:00
Dan Carley
f90805dafd [#153] Test defaults for some unattended params
For params which have any logic embedded in the template:

- origins
- blacklist
- mail_to
- dl_limit
2013-09-16 13:57:44 +01:00
Dan Carley
f185a57cd6 [#153] Variablise file paths in unattended spec
Reduce some duplication of long file paths.
2013-09-16 13:57:32 +01:00
Dan Carley
ea40999381 [#153] Convert t/f params to bools and validate
Per lint check: http://puppet-lint.com/checks/quoted_booleans/
2013-09-16 09:06:15 +01:00
Dan Carley
2fea399a09 [#153] Rename unattended_upgrades s/-/_/
It's preferable to use underscores rather than hyphens in class names. Refs:

- http://projects.puppetlabs.com/issues/5268
- http://docs.puppetlabs.com/puppet/3/reference/lang_reserved.html#classes-and-types
2013-09-16 08:53:01 +01:00
Philip Cohoe
ee047f6593 Added spec test for unattended-upgrades class 2013-09-13 23:39:09 +00:00
Philip Cohoe
df3ba6469c Added class for managing unattended-upgrades 2013-09-10 18:36:30 +00:00
Ashley Penney
ec79335527 Merge pull request #156 from rculbertson/master
Fixed several lint warnings and errors
2013-09-05 05:40:10 -07:00
Ryan Culbertson
d0e478533c removing unnecessary backslashes 2013-09-05 00:28:53 -04:00
Ryan Culbertson
e97942f2d6 Fixed several lint warnings and errors 2013-09-04 17:32:42 -04:00
Hunter Haugen
c0872c04a9 Merge pull request #150 from bionix/use_http_debian_net_as_geodns_redirector
Use the geoDNS http.debian.net instead of the main debian ftp server
2013-08-05 13:59:19 -07:00
Hunter Haugen
4917309a7e Merge pull request #149 from bionix/add_wheezy_backports
Add wheezy backports support
2013-08-05 13:58:47 -07:00
Hunter Haugen
7bc6d07788 Merge pull request #151 from hunner/proxy_exec_spec
Update specs for #145
2013-08-05 13:58:28 -07:00
Hunter Haugen
5db24d8e33 Update specs for #145 2013-08-05 13:41:25 -07:00
Markus Rekkenbeil
5af4667f32 Use the geoDNS http.debian.net instead of the main debian ftp server
Signed-off-by: Markus Rekkenbeil <markus@bionix-it.de>
2013-08-05 13:19:50 +02:00
Markus Rekkenbeil
a1a677da66 Add wheezy backports support
Signed-off-by: Markus Rekkenbeil <markus@bionix-it.de>
2013-08-05 13:06:54 +02:00
Hunter Haugen
6cde028332 Merge pull request #145 from PierreGambarotto/master
ppa: fix empty environment definition in exec ressource when no proxy
2013-07-31 09:32:27 -07:00
Ashley Penney
6a5d0604a8 Merge pull request #148 from futuresimple/fix/ppa/pass_flags_as_single_character
pass flags as string of single letter
2013-07-31 05:43:15 -07:00
nagas
63a0db4cf2 pass flags as string of single letter 2013-07-22 14:48:32 +02:00
Ashley Penney
e4fe87ca9d Merge pull request #146 from botify-labs/handle_ppa_options
Fix: parametrize apt::ppa class for beign able to pass options to apt-add-repository command
2013-07-17 05:08:11 -07:00
Oleiade
1e940d19f6 Fix: ppa options support specs 2013-07-17 09:56:24 +02:00
Oleiade
878bc0217e Fix: apt::ppa options parameter to pass options to apt-add-repository command 2013-07-16 15:31:19 +02:00
Pierre Gambarotto
19fbdab794 ppa: fix empty environment definition in exec ressource when no proxy 2013-07-16 09:52:06 +02:00
Hunter Haugen
62e7faf18b Merge pull request #144 from hunner/ppa_proxy
Ppa proxy
2013-07-11 17:03:31 -07:00
Hunter Haugen
4d8a99aead Adding specs for proxy and apt::ppa 2013-07-11 15:49:00 -07:00
Pierre Gambarotto
c21730c01d proxy support for apt::ppa 2013-07-11 15:29:38 +02:00
Ashley Penney
0e374f0ee6 Merge pull request #141 from hunner/release_1.2.0
Release 1.2.0
2013-07-05 10:25:57 -07:00
Hunter Haugen
197904df9a Release 1.2.0
Features:
- Add geppetto `.project` natures
- Add GH auto-release
- Add `apt:🔑:key_options` parameter
- Add complex pin support using distribution properties for `apt::pin` via new properties:
  - `apt::pin::codename`
  - `apt::pin::release_version`
  - `apt::pin::component`
  - `apt::pin::originator`
  - `apt::pin::label`
- Add source architecture support to `apt::source::architecture`

Bugfixes:
- Use apt-get instead of aptitude in apt::force
- Update default backports location
- Add dependency for required packages before apt-get update
2013-07-03 16:58:09 -07:00
Hunter Haugen
2a534efe82 Merge pull request #139 from hunner/gh_releases
Adding travis github automatic forge releases
2013-07-02 17:17:43 -07:00
Hunter Haugen
e511a1b152 Adding travis github automatic forge releases 2013-07-02 16:40:23 -07:00
Hunter Haugen
9568ecf26d Merge pull request #134 from spali/my_changes
replace aptitude with apt in apt::force
2013-07-02 13:54:12 -07:00
Thomas Spalinger
7c66ab5f39 fixed test for changing aptitude to apt-get 2013-07-02 21:59:26 +02:00
Hunter Haugen
6f68c5180c Merge pull request #114 from johnnyrun/master
location change
2013-07-02 11:53:14 -07:00
Hunter Haugen
46d47f79d2 Merge pull request #118 from opeckojo/apt-sources-arch
Add optional architecture qualifier to apt-sources
2013-07-02 11:48:06 -07:00
Hunter Haugen
91d917495e Merge pull request #123 from ctrlaltdel/fix-required-packages
Install required_packages before 'apt-get update'
2013-07-02 11:37:39 -07:00
Hunter Haugen
add5060d64 Merge pull request #122 from strangeman/master
Add a $key_options parameter to apt::key.
2013-07-02 11:34:21 -07:00