Commit graph

526 commits

Author SHA1 Message Date
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
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
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
innyso
1a3d6625f4 Allow url or domain name for key_server parameter
As some places dont have port 11371 open, they are required to use URL as
key_server instead of domain name therefore adding the capability to use URL or
domain name as key_server parameter
2014-06-02 18:05:20 +01:00
Morgan Haskel
4929de0d42 Merge pull request #303 from apenney/fix-ubuntu-10-tests
Fix the tests for Ubuntu 10.04.
2014-05-29 13:07:38 -04:00
Ashley Penney
ec07797399 Fix the tests for Ubuntu 10.04. 2014-05-29 13:05:51 -04:00
Ashley Penney
6697a9c971 Merge pull request #297 from frconil/sourceslist-comment
adding notice on top of sourceslist files
2014-05-22 10:42:15 -07:00
Ashley Penney
81ff5f87ca Merge pull request #298 from frconil/fix-apt-pin-regex
Fixed regex to follow APT requirements
2014-05-22 10:41:57 -07:00
Ashley Penney
33584fd238 Merge pull request #300 from apenney/fix-tests
Block this from running on unsupported platforms.
2014-05-21 10:39:17 -07:00
Ashley Penney
71ebb94283 Block this from running on unsupported platforms. 2014-05-21 10:38:24 -07:00
François Conil
1891912f84 Fixed regex to actually follow APT requirements
Previous implementation would overwrite the file name and
potentially include characters that would cause apt to ignore
the pref file
2014-05-19 15:33:06 +10:00
François Conil
3fad56d266 adding notice on top of sourceslist files
Useful to figure out what is managed by puppet and what isn't when
 not setting up the option to purge sourceslist files
2014-05-19 15:24:42 +10:00
Morgan Haskel
0da464de35 Merge pull request #287 from oc243/master
Implement fancy progress bars configuration.
2014-05-15 13:45:46 -04:00
Ashley Penney
3a4432ad73 Merge pull request #294 from apenney/14x-merge
14x merge
2014-05-14 13:18:18 -04:00
Ashley Penney
7492f375fe Merge branch '1.4.x' into 14x-merge 2014-05-14 13:17:19 -04:00
Oliver Chick
2cdcd3b06d Implement fancy progress bars configuration.
Ubuntu 14.04 ships with apt 0.9.15, has a ``fancy progress bar'', which
is a green bar that shows at the bottom of the terminal showing progress
throughout install.

This patch enables the progress bar, which is usually done by running
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
2014-05-14 12:02:37 +01:00
Ashley Penney
a45c9a8b58 Merge pull request #292 from daenney/test-puppet-35
Drop testing on 3.3, add 3.5.
2014-05-08 10:44:11 -04:00
Daniele Sluijters
b7bd7f43d9 Drop testing on 3.3, add 3.5. 2014-05-08 09:54:08 +02:00
Ashley Penney
d33a4c103f Merge pull request #290 from dpnl87/wheezy-preference-fix
Do not add bogus line to apt preference file on Debian Wheezy
2014-05-05 11:54:52 -04:00
Daniel Paulus
f62678b22e Add dpaulus to the contributors list 2014-05-05 14:39:25 +02:00
Daniel Paulus
ee0233066e Some code cleaning 2014-05-05 12:06:39 +02:00
Daniel Paulus
15630989da Fixed acceptance spec and add debian nodeset 2014-05-05 11:57:42 +02:00
Daniel Paulus
c327d3d7bf Testing if we are not touching the preference file when purge mode is off 2014-05-03 00:13:17 +02:00
Daniel Paulus
36b7b8abff Updated readme to indicate danger of setting preference purge options 2014-05-03 00:06:23 +02:00
Daniel Paulus
e337a24389 Remove the preference file for all supported platforms when in purge mode 2014-05-02 23:35:54 +02:00
Daniel Paulus
d3d6fde6e7 Do not add bogus line to apt preference file on Debian Wheezy 2014-05-02 17:56:06 +02:00
Ashley Penney
84cee791c3 Merge pull request #286 from apenney/fix-for-post-wheezy
unattended_upgrades: Fix matching security archive
2014-04-22 20:46:55 -04:00
Daniele Sluijters
156eaac061 unattended_upgrades: Fix matching security archive
The default configuration we were writing for Debian was only working
for Squeeze, from Wheezy and onwards this wasn't working anymore. This
has to do with the fact that we should now be using Origins-Pattern
according to the unattended-upgrades docs. However, Ubuntu didn't
entirely get with the program yet...

This change reflects the defaults that unattended-upgrade installs on
every platform we support. In order to do so the unattended-upgrades
Debian archive for Squeeze, Wheezy, Lucid, Precise and Trusty were
downloaded and the default /etc/apt/apt.conf.d/50unattended-upgrades
checked for its content with regard to using Allow-Origins or
Origins-Pattern.

Fixes #277
2014-04-23 00:36:40 +02:00
Ashley Penney
dcac07e034 Merge pull request #285 from blkperl/fix_metadata
Fix metadata.json file
2014-04-17 13:00:50 -04:00
Ashley Penney
4c7150a5be Add back in missing fields to work around Puppet bug.
(cherry picked from commit dc47271716)
2014-04-15 15:20:25 -07:00
Ashley Penney
4c8a99b9eb Prepare metadata for supported module release.
(cherry picked from commit ab03a989df)
2014-04-15 15:20:25 -07:00
Ashley Penney
81a3f9d60c Merge pull request #283 from johanfleury/master
Change proxy's configuration file to be consistent with other config files in apt.conf.d
2014-04-12 14:37:40 -04:00
Johan Fleury
9e789255c8 Writing proxy configuration in apt.conf.d/01proxy.
This commit changes the proxy file name to be more consistent with other files
in `apt.conf.d`. The old file (`apt.conf.d/proxy`) is removed.

Tests has been updated.
2014-04-11 13:56:29 +02:00
Lauren Rother
c230e21c1d Add security warning re: short keys
(cherry picked from commit d7da1cef38)
2014-04-07 12:26:39 -07:00
Ashley Penney
d946753dc4 Merge pull request #282 from laurenrother/security
Add security warning re: short keys
2014-04-07 14:06:47 -04:00
Lauren Rother
d7da1cef38 Add security warning re: short keys 2014-04-07 11:05:11 -07:00
Ashley Penney
dfa3a62bd8 Merge pull request #280 from daenney/fix-pin-comments
Fix pin comments
2014-04-03 13:59:51 -04:00
Ashley Penney
3e5668b015 Merge pull request #281 from daenney/unattended-upgrades-squeeze-origins
unattended-upgrades: Fix origins for Squeeze.
2014-04-03 13:59:15 -04:00
Daniele Sluijters
fefd530362 unattended-upgrades: Fix origins for Squeeze.
Because Squeeze is now oldstable we need to add an oldstable line too
otherwise security updates won't be picked up. This is still because we
can't match on codename.
2014-04-02 11:17:04 +02:00
Daniele Sluijters
13788395e6 pin: caller_module_name is not a topscope variable 2014-03-28 08:49:18 +01:00