Commit graph

676 commits

Author SHA1 Message Date
Simon Kohlmeyer
b0e0024730
Allow ports that consist of 5 decimals 2015-01-08 05:26:53 +01:00
Morgan Haskel
2873c1e2e7 Merge pull request #401 from cmurphy/master
Add IntelliJ files to the ignore list
2014-12-29 11:23:47 -08:00
Colleen Murphy
8729af2314 Add IntelliJ files to the ignore list 2014-12-29 10:40:53 -08:00
Daniele Sluijters
7b21565c0f Merge pull request #394 from juniorsysadmin/apt-force-locale-fixes
(MODULES-1231) Fix apt::force locale issues
2014-12-19 20:48:40 +01:00
juniorsysadmin
b737557e31 (MODULES-1231) Fix apt::force locale issues
The current $install_check variable greps for 'Installed' or
'Candidate', which means that it will give the wrong result
when a non-English locale is used. This patch ensures that the
check will work properly for non-English locales by setting the
environment parameters for the exec to LC_ALL=C LANG=C
2014-12-15 23:31:09 +11:00
Hunter Haugen
612efe54d7 Merge pull request #397 from mhaskel/puppet_not_shell
Use puppet() instead of shell() to install module dependencies
2014-12-12 13:28:06 -08:00
Morgan Haskel
342b90f4cc Use puppet() instead of shell() to install module dependencies 2014-12-12 12:53:18 -08:00
Morgan Haskel
39ebab80b2 Merge pull request #391 from cmurphy/master
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
2014-12-09 08:20:50 -08:00
Colleen Murphy
18eac98d88 Add json gem
The puppet_facts gem implicitly depends on the json gem.
On Ruby 1.8.7, json is not built in. On Puppet 2.7, it is
not explicitly pulled in by the hiera gem. So we add it
here explicitly.
2014-12-08 22:52:06 -08:00
Colleen Murphy
abb830885b Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md 2014-12-08 10:23:17 -08:00
Morgan Haskel
d4931055d9 Merge pull request #390 from cmurphy/puppet_27
Define travis matrix in .sync.yml
2014-12-08 10:20:05 -08:00
Colleen Murphy
50cd38d1d6 Define travis matrix in .sync.yml
Since the other modules need to wait for a major release before
deprecating Puppet 2.7 support, this module's travis.yml is out of sync
and will need to stay that way for a while.
2014-12-07 13:26:08 -08:00
Morgan Haskel
473cba9517 Merge pull request #385 from phervieux/utopic
Add utopic support
2014-12-04 17:42:42 -05:00
Travis Fields
1d20fa798e Merge pull request #387 from mhaskel/merge_1.6.x
Merge 1.6.x
2014-11-21 15:05:48 -05:00
Morgan Haskel
e5338f2e53 Merge remote-tracking branch 'upstream/1.6.x' into merge_1.6.x
Conflicts:
	lib/facter/apt_package_updates.rb
	lib/facter/apt_security_updates.rb
	lib/facter/apt_updates.rb
2014-11-21 11:59:04 -05:00
Morgan Haskel
1e7cef8429 Merge pull request #384 from cyberious/HttpBasicAuthentication
MODULES-1119 Fixed to now have username and passwords passed in again
2014-11-21 11:52:45 -05:00
Daniele Sluijters
1fad3f6070 Merge pull request #386 from jbondpdx/master
FM-1523: Added module summary to metadata.json
2014-11-21 11:46:55 +01:00
Travis Fields
559787268a MODULES-1119 Fixed to now have username and passwords passed in again 2014-11-20 20:57:40 -05:00
jbondpdx
ee69c657c9 FM-1523: Added module summary to metadata.json 2014-11-20 15:28:07 -08:00
Patrick Hervieux
1a7d1f3d43 Add utopic support 2014-11-14 15:01:29 +01:00
Daniele Sluijters
84340fda16 Merge pull request #376 from raoulbhatia/unattended-upgrades-oldstable
Unattended upgrades oldstable for wheezy
2014-11-13 19:23:07 +01:00
Colleen Murphy
06cffcdd09 Merge pull request #380 from mhaskel/test
merge 1.7.x into master
2014-10-28 12:37:57 -07:00
Colleen Murphy
5179b0e466 Merge pull request #378 from mhaskel/1.7.0-prep
1.7.0 prep
2014-10-28 09:26:56 -07:00
Morgan Haskel
dfdcfa0255 1.7.0 prep 2014-10-27 15:29:47 -04:00
Colleen Murphy
7c71390cd1 Merge pull request #377 from mhaskel/1.7.x-merge
Merge master back into 1.7.x
2014-10-27 08:54:24 -07:00
Morgan Haskel
2fdad79f74 Fix tests to reflect behavior fixed on 1.7.x
The facts don't really work with 2>&1 in the case of an error, so you
want 2>/dev/null instead.
2014-10-27 10:10:52 -04:00
Morgan Haskel
20ddb67714 Merge remote-tracking branch 'upstream/master' into 1.7.x-merge
Conflicts:
	lib/facter/apt_package_updates.rb
	lib/facter/apt_security_updates.rb
	lib/facter/apt_updates.rb
2014-10-27 09:57:46 -04:00
Travis Fields
bc7601dfed Fix issue with puppet_module_install, removed and using updated method from beaker core copy_module_to 2014-10-27 09:49:27 -04:00
Hunter Haugen
97556124da Remove stderr from stdout
Sometimes there are lib errors on platforms with malformed packages.
This shouldn't cause the facts to completely fail.
2014-10-27 09:49:27 -04:00
Raoul Bhatia
15fad7ec11 Fix "WARNING: case statement without a default case on line ..." 2014-10-24 12:59:15 +02:00
Raoul Bhatia
fb9b9185e4 Fix "WARNING: indentation of => is not properly aligned on line 9" 2014-10-24 12:50:43 +02:00
Raoul Bhatia
7f3acf40f9 Add "oldstable" to the default update origins for wheezy
Add "oldstable" to the default update origins to ensure
the updates keep working after wheezy+1 gets released

See unattended-upgrades 0.79.5+wheezy1 and https://bugs.debian.org/711826
2014-10-24 12:50:43 +02:00
Daniele Sluijters
5d96da0c6a Merge pull request #375 from raphink/dev/facts_perfs
Refactor facts to improve performance.
2014-10-16 10:07:25 +02:00
Raphaël Pinson
d090ae4ebb Refactor facts to improve performance:
* Add an apt_has_updates boolean fact
* Make other facts depend on it
2014-10-15 15:44:50 +02:00
Daniele Sluijters
be3abffb0e README: the facts depend on update-notifier 2014-10-14 13:42:59 +02:00
Daniele Sluijters
2b84dd142e Merge pull request #374 from bschlief/random_sleep
Add support for RandomSleep to 10periodic
2014-10-14 09:12:18 +02:00
Bryan M. Schlief
a6b560c9b4 Add support for RandomSleep to 10periodic 2014-10-13 14:19:11 -07:00
Daniele Sluijters
6619ad843f Merge pull request #372 from jbondpdx/revised-readme
DOC-249: Revised and updated apt readme
2014-10-08 17:24:49 -07:00
Hunter Haugen
d24c568779 Merge pull request #373 from mhaskel/metadata
Update pe compatibility
2014-10-08 15:19:32 -07:00
Morgan Haskel
b10415be63 Update pe compatibility 2014-10-08 18:18:39 -04:00
jbondpdx
b2c40388e5 DOC-249 Revised and updated apt readme
Revised and updated apt readme. Post-merge-conflict edition.
2014-10-08 11:09:54 -07:00
Colleen Murphy
3a8a5f75b8 Merge pull request #371 from mhaskel/force-yes
add --force-yes so deb7 doesn't hang
2014-10-07 09:37:06 -07:00
Morgan Haskel
c5edc86c3c add --force-yes so deb7 doesn't hang 2014-10-06 19:44:19 -04:00
Colleen Murphy
ac15a0e2f4 Merge pull request #369 from mhaskel/future_parser
Missed one case for _kick_apt needed for strict variables
2014-10-06 13:53:17 -07:00
Morgan Haskel
049e993511 Missed one case for _kick_apt needed for strict variables 2014-10-06 16:41:14 -04:00
Hunter Haugen
4b66a64940 Merge pull request #368 from mhaskel/future_parser
Fix for future parser support
2014-10-03 16:36:21 -07:00
Morgan Haskel
c41e71d0c2 Fix for future parser support 2014-10-03 19:30:33 -04:00
Hunter Haugen
873e49478d Merge pull request #367 from mhaskel/deb6_apt-key_workaround
apt-key doesn't add long keys in deb6
2014-10-02 15:37:17 -07:00
Morgan Haskel
a3d4822920 apt-key doesn't add long keys in deb6
You can feed the command the long key, but it truncates it to add the
key. This causes issues due to the short-key collision with the
puppetlabs key. So, test with a different key on debian 6.
2014-10-02 17:21:46 -05:00
Hunter Haugen
73867f03b5 Merge pull request #366 from mhaskel/fix_unit_tests
We aren't truncating in the type
2014-10-01 11:55:20 -07:00