Commit graph

995 commits

Author SHA1 Message Date
Morgan Haskel
3d3e2449f3 test against puppet4 2015-05-06 14:44:03 -07:00
Morgan Haskel
78edc80b50 Merge pull request #519 from puppetlabs/puppet4-strictvars
Test with strict variables on Puppet 4 too.
2015-05-01 09:51:18 -07:00
Daniele Sluijters
b7c6e80497 Test with strict variables on Puppet 4 too.
It's only as of Puppet 5 that strict variables becomes the default so
we need to specify it too for Puppet 4.
2015-04-30 23:20:12 +02:00
Daniele Sluijters
7448a7597c Merge pull request #518 from mhaskel/test_fix
Stubbing File.file? is hard
2015-04-30 23:18:06 +02:00
Morgan Haskel
1be2560e1e Stubbing File.file? is hard 2015-04-30 12:54:37 -07:00
Morgan Haskel
fe9741fe1d Merge pull request #505 from puppetlabs/install-lsb-release
Clear up lsb-release error
2015-04-29 15:38:38 -07:00
Morgan Haskel
23855f199b Merge pull request #508 from puppetlabs/travis-puppet4
Puppet 4 support
2015-04-29 15:37:59 -07:00
Morgan Haskel
96d48eca08 Merge pull request #516 from dlactin/feature/master/apt_reboot_required_fact
Added new apt_reboot_required fact, updated readme, and added unit tests
2015-04-29 15:34:43 -07:00
Dustin Lactin
bb692503bb Removed eol from README.md 2015-04-29 15:51:59 -06:00
Daniele Sluijters
494abedaeb Work around PUP-4133 2015-04-29 21:07:16 +02:00
Daniele Sluijters
f62d6a9adf Gemfile: Upgrade to rspec-puppet 2.1+
This is needed in order to be able to test on Puppet 4.
2015-04-29 21:07:16 +02:00
Daniele Sluijters
e3100fc172 travis: Test on a bigger matrix
* Puppet 3 on all supported Ruby versions with strict variables and
  random ordering.
* Puppet 3 on 2.1 with strict variables, future parser and random
  ordering.
* Puppet 4 on all supported Ruby versions and random ordering.
2015-04-29 21:07:16 +02:00
Daniele Sluijters
1318344500 Give clearer instructions around lsb-release 2015-04-29 21:04:27 +02:00
Dustin Lactin
6e51be76ea Added new apt_reboot_required fact, updated readme, and added unit tests 2015-04-29 11:36:51 -06:00
Hunter Haugen
55a17ac591 Merge pull request #515 from mhaskel/merge_2.0.x_to_master
Merge 2.0.x to master
2015-04-29 10:23:32 -07:00
Morgan Haskel
f2c3956fd1 Merge pull request #514 from psoloway/readme
Correct some README punctuation
2015-04-27 18:03:26 -07:00
Pete Soloway
616516b9d7 Correct some README punctuation 2015-04-27 17:08:42 -07:00
Bryan Jen
7701adb701 Merge pull request #513 from mhaskel/2.0.1-prep
2.0.1 prep
2015-04-27 14:50:52 -07:00
Morgan Haskel
bef7a18063 2.0.1 prep 2015-04-27 14:46:06 -07:00
Bryan Jen
19b416e86e Merge pull request #511 from mhaskel/pup34_compat
Restore Puppet 3.4 and earlier compatibility
2015-04-27 14:44:38 -07:00
Morgan Haskel
229518f359 Make compatibility in metadata.json accurate 2015-04-27 13:48:41 -07:00
Morgan Haskel
21a2462a58 Compatibility for puppet < 3.5.0 2015-04-27 13:48:41 -07:00
Morgan Haskel
6581d73f31 Merge pull request #510 from psoloway/readme
Update README per DOC-1503
2015-04-27 13:39:13 -07:00
Pete Soloway
ccd5cea444 Update README per DOC-1503
1. Make sure that for each parameter, where applicable, there is a default value.
2. Make sure that for each parameter that's applicable, there is a note if the parameter is optional.
3. Make sure the links in the README work and are accurate.
4. Update the link in the Contributing section to point here: https://docs.puppetlabs.com/forge/contributing.html
5. General copyediting.

* Add a ToC
* Reorganize Usage & Reference sections
* Standardize capitalization of "Apt" (as opposed to "apt", the module)
* Standardize Development section

Apply edits from @jbondpdx

* Re-emphasize the warning about short key names
* Restore the “What apt affects” section
* Re-correct capitalization of “Apt” (where it had reverted to “APT”)
* Clarify OS compatibility in Limitations and elsewhere
* Various edits for clarity
2015-04-27 10:27:58 -07:00
Morgan Haskel
e41fc4bbb4 Switch back to anchor, for moar compatibility 2015-04-27 10:21:03 -07:00
Daniele Sluijters
cf7271d7e6 Merge pull request #507 from mhaskel/merge_fixes_from_2.0.x
Merge fixes from 2.0.x
2015-04-23 23:48:43 +02:00
Bryan Jen
80d83d9a88 Merge pull request #504 from mhaskel/fix_tests
Update tests to work with rspec-puppet 2.x
2015-04-22 16:56:40 -07:00
Morgan Haskel
fff702270e Update tests to work with rspec-puppet 2.x
Also enable future parser testing. Need to allow failures with future
parser for now since none of the published gems have the fix for
PUP-4379
2015-04-22 16:40:48 -07:00
Bryan Jen
bca85cd945 Merge pull request #502 from mhaskel/merge_2.0.x_to_master
Merge 2.0.x to master
2015-04-22 10:19:45 -07:00
Travis Fields
6816f99c28 Merge pull request #501 from mhaskel/MODULES-1934
MODULES-1934: Iterate through multiple keys
2015-04-20 13:14:31 -07:00
Morgan Haskel
2802868f96 Iterate through multiple keys 2015-04-20 12:44:42 -07:00
Hunter Haugen
c464a4feda Merge pull request #498 from mhaskel/missed_purge_reference
Fogot to remove the purge warning
2015-04-14 11:40:36 -07:00
Morgan Haskel
cdbb2e82c0 Fogot to remove the purge warning 2015-04-14 11:31:16 -07:00
Hunter Haugen
33c296b963 Merge pull request #489 from mhaskel/2.0.0-prep
2.0.0 prep
2015-04-14 11:19:40 -07:00
Hunter Haugen
dc79ae5020 Merge pull request #497 from mhaskel/dont_purge_by_default
Don't purge by default. That seems unnecessarily destructive.
2015-04-14 11:19:18 -07:00
Morgan Haskel
94976bbd7c 2.0.0 prep 2015-04-14 11:05:31 -07:00
Morgan Haskel
3a20254108 Don't purge by default. That seems unnecessarily destructive. 2015-04-14 11:03:17 -07:00
Morgan Haskel
db9daeb183 Merge pull request #496 from puppetlabs/allow-undef-content-conf
apt::conf: Don't require content `ensure=>absent`.
2015-04-14 08:24:03 -07:00
Daniele Sluijters
fe60980781 apt::conf: Don't require content ensure=>absent. 2015-04-14 12:41:57 +02:00
Hunter Haugen
02e1e05ace Merge pull request #493 from mhaskel/remove_mint
Remove default support for Linux Mint and Cumulus Networks
2015-04-13 13:38:40 -07:00
Bryan Jen
d6c1234e6b Merge pull request #495 from mhaskel/gepetto
Try to make gepetto happy.
2015-04-13 11:35:25 -07:00
Morgan Haskel
c8c171065d Try to make gepetto happy. 2015-04-13 11:13:26 -07:00
Morgan Haskel
d3ca10fd2f Remove default support for Linux Mint and Cumulus Networks
NOTE: While out-of-the box support is disabled, it is still possible to
get the same configurations, it will just require explicitly setting the
necessary codename-munging.

This should only affect `apt::ppa`
2015-04-13 10:35:19 -07:00
Bryan Jen
75ac82ce64 Merge pull request #494 from mhaskel/cleanup-backports
Cleanup backports
2015-04-13 10:21:12 -07:00
Morgan Haskel
044fb5faf5 Add testing, docs, and examples for backports 2015-04-12 11:25:47 -07:00
Daniele Sluijters
37043dff85 backports: Add support back for backports.
This is currently lacking tests.
2015-04-09 15:44:20 -07:00
Daniele Sluijters
791012b2c9 source: Support complex pin, like key does.
This adds support for passing in a full pin declaration as the pin
parameter on a source declaration.

It keeps the old behaviour intact, you can still simply do `pin => '10'`
and it will pin on origin with a priority of 10.

Should that not be what you want you can now pass in a full pin
declaration instead. We make no assumptions here, whatever you pass in
will be passed through to pin as-is with the exception of the values for
`ensure` and `before` which are always overridden by us to ensure
everything keeps working as designed.
2015-04-09 15:44:20 -07:00
Colleen Murphy
778aae8e13 Merge pull request #491 from mhaskel/lint_cleanup
more lint cleanup
2015-04-06 13:32:27 -07:00
Morgan Haskel
214a6caea7 more lint cleanup 2015-04-06 13:20:01 -07:00
Daniele Sluijters
06bce848b0 Merge pull request #490 from mhaskel/lint_cleanup
Lint cleanup
2015-04-06 15:06:24 -04:00