Commit gráf

576 commits

Szerző SHA1 Üzenet Dátum
Morgan Haskel
5018cb5191 Prep for 1.6.0 release. 2014-08-07 14:50:30 -04:00
Morgan Haskel
e970aa9a6d Merge pull request #333 from wilman0/master
Fix for debian/ubuntu hold and a way to add debian src only
2014-07-31 12:58:20 -04:00
wilman0
538a9f9aab Update hold.pp
fix for default debian installations

all files in /etc/apt/preferences without _ will be silently ignore according to debian manpage. Addionally its not a good idea to write versionnumber in filename cause there is no way to delete this files if you increase versionumber

Update source_spec.rb

add a way to include debsrc only (useful for debian/ubuntu build server ... jenkins ect)

Update source_spec.rb

var rename

Update source.list.erb

add include_deb "switch"

Update source.pp

"include_deb" defaultvalue = true

Update hold_spec.rb

change the name of the preferences file (hold)

Update source_spec.rb

Update README.md

Doku: 'include_deb' included next to 'include_src' in examples

Update README.md

typo
2014-07-31 18:40:46 +02:00
Ashley Penney
a68eca58a6 Merge pull request #336 from mhaskel/fix_acceptance_tests
Debian seems to have hanging apt-get and/or dpkg processes, so kill
2014-07-30 15:09:40 -04:00
Morgan Haskel
84b53dcde4 Merge pull request #330 from dantman/master
Fix inconsistent $proxy_host handling in apt and apt::ppa.
2014-07-30 14:44:51 -04:00
Morgan Haskel
66e05edbe7 Debian seems to have hanging apt-get and/or dpkg processes, so kill
those.
2014-07-30 14:40:20 -04:00
Ashley Penney
bc2febe71f Merge pull request #335 from mhaskel/fix_acceptance_tests
Fix broken acceptance tests.
2014-07-30 12:06:08 -04:00
Morgan Haskel
f02f9b8465 Fix broken acceptance tests.
New fact was added that matched a regex breaking the always_apt_update
tests.  Updated the tests to check for the apt_update exec, not just the
string apt_update.
2014-07-30 12:03:09 -04:00
Morgan Haskel
256a63b407 Merge pull request #329 from spuder/spuder/lsbdist
Adds check to params.pp if lab-release is not installed
2014-07-29 19:24:30 -04:00
Ashley Penney
3a2fe3b1ae Merge pull request #334 from mhaskel/1.5.x-merge
1.5.x merge
2014-07-25 11:56:43 -04:00
Morgan Haskel
23149c9a3a Merge remote-tracking branch 'upstream/1.5.x' 2014-07-25 11:53:53 -04:00
Daniele Sluijters
60e50a9b65 Merge pull request #332 from zacharyalexstern/fix_readme_typo
Fix readme typo.
2014-07-17 08:42:06 +02:00
Zachary Alex Stern
1a0406bf39 Fix readme typo. 2014-07-16 15:01:02 -07:00
Travis Fields
125716d2c6 Merge pull request #331 from apenney/152-release
Prepare a 1.5.2 release.
2014-07-15 09:12:52 -07:00
Ashley Penney
854eabe5c3 Prepare a 1.5.2 release. 2014-07-15 11:32:58 -04:00
Daniel Friesen
562e702a46 Fix mistake in my 0c2329b implementation. 2014-07-11 14:33:15 -07:00
Daniel Friesen
0c2329bd57 Fix inconsistent $proxy_host handling in apt and apt::ppa.
- The default for $proxy_host is undef
- apt considers $proxy_set to be absent if $proxy_host is undef
- apt::ppa considers proxy_env to be empty if $proxy_host is false or ''

This results in apt::ppa to consider $proxy_host to be set when the default undef is used
breaking ppa resources because $proxy_env becomes:
  [http_proxy=http://:8080, https_proxy=http://:8080]

Fix this by making both apt and apt::ppa consider $proxy_host to be unset when it is
any of false, '', or undef.
2014-07-10 16:57:38 -07:00
Spencer Owen
64b8eb1e4a Adds check to params.pp if lab-release is not installed
Adds spec test

If lab-release is not installed, then the end user sees a confusing/ vague message
Error: Unsupported lsbdistid () at /modules/apt/manifests/params.pp:52
It is common for docker containers to not include this package by default

After fix, the user sees a friendlier message if lab-release is not installed
Error: Unable to determine lsbdistid, is lsb-release installed? at /modules/apt/manifests/params.pp:52
2014-07-10 11:48:54 -06:00
Hunter Haugen
a598f4943d Merge pull request #328 from mhaskel/1.5.1-prep
1.5.1 prep.
2014-07-09 16:50:42 -07:00
Morgan Haskel
39758f4f5e 1.5.1 prep. 2014-07-09 19:34:12 -04:00
Daniele Sluijters
06b5dc232b Merge pull request #327 from adik/master
MODULES-780 Don't blow up on unicode characters.
2014-07-09 16:15:26 +02:00
Arkady Smirnov
f4ea10f4d8 MODULES-780 Don't blow up on unicode characters. 2014-07-09 14:06:40 +03:00
Ashley Penney
841ed61ba2 Merge pull request #324 from cmurphy/master
Add validate and lint tasks to travis script
2014-07-03 17:43:27 -04:00
Hunter Haugen
b764779fa4 Merge pull request #325 from apenney/merge
Merge
2014-07-03 10:10:10 -07:00
Ashley Penney
3c48598eeb Merge branch '1.5.x' into merge
Conflicts:
	Gemfile
	spec/acceptance/apt_key_provider_spec.rb
2014-07-03 13:08:11 -04:00
Colleen Murphy
4d3874f19a Add validate and lint tasks to travis script 2014-07-03 09:53:35 -07:00
Hunter Haugen
98d16464c3 Merge pull request #323 from cmurphy/master
Update Gemfile for .travis.yml defaults
2014-06-30 12:07:27 -07:00
Colleen Murphy
2ea894fe32 Update Gemfile for .travis.yml defaults 2014-06-30 10:57:45 -07:00
Daniele Sluijters
cf54221bd3 Merge pull request #322 from cmurphy/master
Synchronize .travis.yml
2014-06-30 18:59:10 +02:00
Colleen Murphy
9973ebc949 Synchronize .travis.yml 2014-06-27 10:52:08 -07:00
Colleen Murphy
cd9d526b0f Update .sync.yml to support new .travis.yml configs 2014-06-27 09:27:52 -07:00
Daniele Sluijters
4ee69d08f4 Merge pull request #321 from raoulbhatia/squeeze-lts
Enable auto-update for Debian squeeze-lts
2014-06-27 17:41:50 +02:00
Daniele Sluijters
943be409bd Merge pull request #319 from cloudbuy/master
add facts showing available updates
2014-06-27 14:28:19 +02:00
Damien Churchill
7eb9d00360 add facts showing available updates
Making use of the apt-check command from the 'update-notifier-common'
package (if available) display the number of available updates, number of
security updates as well as the update package names.
2014-06-27 11:21:58 +01:00
Raoul Bhatia
5ed7396a31 Enable auto-update for Debian squeeze-lts
Quoting https://wiki.debian.org/LTS

Official security support for Debian GNU/Linux 6.0
(code name "Squeeze") has ended on 31 May 2014.
However long term support for the distribution
is going to be extended until February 2016,
i.e. five years after the initial release.

See https://wiki.debian.org/LTS for more details.
2014-06-26 20:03:04 +02:00
Morgan Haskel
f95ca9acbe Merge pull request #318 from daenney/unicode-fix
MODULES-780 Don't blow up on unicode characters.
2014-06-26 13:55:38 -04:00
Ashley Penney
12704eae47 Merge pull request #316 from cmurphy/master
Start synchronizing module files
2014-06-26 13:53:18 -04:00
Daniele Sluijters
14b3beda74 MODULES-780 Don't blow up on unicode characters.
Gotta love the difference between Ruby 1.8.7 not caring and every
subsequent version exploding.
2014-06-26 14:35:39 +02:00
Daniele Sluijters
345aef1d01 Merge pull request #304 from innyso/allow_url_for_key_server
Allow url for key server
2014-06-26 14:29:36 +02:00
Colleen Murphy
fd1e2ec12c Sync files 2014-06-25 17:23:12 -07:00
Colleen Murphy
6f06c9b696 Add configuration file for modulesync
https://github.com/puppetlabs/modulesync
2014-06-25 16:33:47 -07:00
Daniele Sluijters
b4c8a4f774 Merge pull request #315 from juniorsysadmin/apt-source-example-with-comment-parameter
Update apt::source example in README.md for #311
2014-06-23 08:54:38 +02:00
juniorsysadmin
d8df67f17f Update apt::source example in README.md for #311
This patch updates the apt::source example to include a comment (see #311)
2014-06-23 12:47:52 +10:00
Morgan Haskel
bcd1a8d53c Merge pull request #311 from juniorsysadmin/custom-comment-for-sources-list
Allow for custom comment in sources.list file
2014-06-19 09:50:54 -04:00
Hunter Haugen
c77a2f4239 Merge pull request #312 from mhaskel/test_osx_graceful_failure
Test osx graceful failure
2014-06-11 10:38:36 -07:00
Morgan Haskel
1e1c8b287a Add test case to ensure graceful failure on OSX. 2014-06-11 13:31:53 -04:00
juniorsysadmin
986bf8b02d Allow custom comment for sources list 2014-06-10 17:05:51 +10:00
innyso
3cbe24e18e Adding dash to key_server validate regex
Dashes should be allow when defining domain or url for key_server. Rspec
test cases are included to make sure no malform domain name or url are
used.
2014-06-10 01:07:04 +01:00
Travis Fields
ade6c33dd2 Merge pull request #309 from apenney/pin-rspec
Pin rspec
2014-06-09 08:42:57 -07:00
Ashley Penney
6766ed90c6 Pin rspec to 2.x. 2014-06-09 11:29:29 -04:00