Commit graph

1276 commits

Author SHA1 Message Date
Hunter Haugen
dfa98b89f7 Prep 4.8.0 2015-08-10 16:30:27 -07:00
Bryan Jen
061d0c29fc Merge pull request #497 from domcleal/tickets/master/MODULES-2316
(MODULES-2316) Change file_type boolean parameter to symbols
2015-08-06 11:00:17 -07:00
Dominic Cleal
a7adcda803 (MODULES-2316) Change file_type boolean parameter to symbols
Puppet's boolean parameter type is only available in Puppet 3.3 and
higher, so change file_type's new "replace" parameter to a regular
parameter with true and false as possible values.  This matches the
existing "multiple" parameter.
2015-08-04 09:59:53 +01:00
Hunter Haugen
e815da5962 Merge pull request #483 from nibalizer/load_metadata_json
Add load_metadata_json function
2015-07-31 14:12:56 -07:00
Spencer Krum
f411ee7119 Add load_metadata_json function
This function loads the metadata.json into a puppet variable. This enables a number of neat things such as:

* Which version of the module am I using? 2.x? 3.x?
* Which author of the module am I using? puppetlabs? example42?
2015-07-30 15:51:54 -07:00
Hunter Haugen
d1f6c5c553 Merge pull request #496 from pizzaops/master
Remove colorful language from module.
2015-07-30 15:14:23 -07:00
Zee Alexander
aca29129cb Remove colorful language from module. 2015-07-30 15:11:26 -07:00
Bryan Jen
ebf73482e5 Merge pull request #494 from CENGN/fix/master/file_line_replace
[#puppethack] Adding replace attribute to file_line
2015-07-30 13:34:26 -07:00
Bryan Jen
41a7297cb7 Merge pull request #495 from puppetlabs/4.7.x
4.7.x
2015-07-30 13:33:44 -07:00
Raymond Maika
35e92645f7 (MODULES-2024) Adding replace attribute to file_line 2015-07-30 14:55:32 -04:00
TP Honey
956c329a8a Merge pull request #493 from DavidS/fixup-acceptance-testing
(maint) use puppet's utility function instead of API that's not avail…
2015-07-30 11:12:01 +01:00
David Schmitt
44c4bad392 (maint) use puppet's utility function instead of API that's not available on all rubies 2015-07-30 10:46:38 +01:00
Hunter Haugen
ac0b096d49 Merge pull request #492 from DavidS/fixup-acceptance-testing
Fixup acceptance testing
2015-07-29 10:58:41 -07:00
David Schmitt
4d889cbcb6 Merge pull request #491 from ekohl/style-fixes
Style fixes
2015-07-27 09:49:04 +01:00
Ewoud Kohl van Wijngaarden
c7403a4e05 Style fixes 2015-07-25 13:34:31 +02:00
David Schmitt
a8d7563a44 (main) clean up fqdn_rand acceptance tests to work on windows 2015-07-22 17:30:39 +01:00
David Schmitt
24b1cd78db (maint) Remove failing acceptance test for ensure_packages
This only duplicates what's already being tested in ensure_packages_spec.rb
but doesn't work on all our supported platforms.
2015-07-22 12:21:31 +01:00
David Schmitt
dca8bdba59 Merge pull request #489 from gcmalloc/master
adding support for hash in the size function
2015-07-22 11:57:16 +01:00
gcmalloc
5c79107863 adding support for hash in the size function 2015-07-22 12:11:52 +02:00
Morgan Haskel
f996a38d11 Merge pull request #490 from hunner/fix_specifier
disable pw_hash test on sles, as it only supports md5
2015-07-21 14:44:50 -07:00
Hunter Haugen
615227918a disable pw_hash test on sles, as it only supports md5 2015-07-21 14:43:34 -07:00
David Schmitt
dde8aa095a Merge pull request #487 from liv3d/fix_docs_in_upcase
Fix documentation error in upcase
2015-07-21 09:23:57 +01:00
Hunter Haugen
21feb4b1f1 Merge pull request #488 from cyberious/master
(maint) Fix test to not assume is_pe fact on > 4.0.0 puppet
2015-07-20 16:28:57 -07:00
Travis Fields
78e8c73671 (maint) Fix test to not assume is_pe fact on > 4.0.0 puppet 2015-07-20 15:51:39 -07:00
Dan Offord
939aceffad Fix documentation error in upcase
The documentation example shows an incorrect response when using the
function, this PR corrects the example to agree with what the function
actually does.
2015-07-20 18:00:09 +01:00
David Schmitt
1282649b91 Merge pull request #481 from tphoney/release_4.7.0
prep work for 4.7.0
2015-07-15 14:12:46 +01:00
tphoney
14709d625b prep work for 4.7.0
add new improvements

puppet4 changes for testing
2015-07-15 14:06:34 +01:00
David Schmitt
a022441289 Merge pull request #485 from ghoneycutt/patch-2
Clarify that third argument to ensure_resource() is a hash
2015-07-14 09:47:22 +01:00
Garrett Honeycutt
f485e6e2eb Clarify that third argument to ensure_resource() is a hash 2015-07-12 20:11:36 -04:00
TP Honey
01fe9dc15c Merge pull request #484 from mhaskel/use_puppet_install_helper
Use puppet_install_helper
2015-07-10 17:17:09 +01:00
Morgan Haskel
224b644003 Use puppet_install_helper 2015-07-09 17:11:10 -07:00
TP Honey
a2026bf13b Merge pull request #475 from DavidS/document-puppet4-compat
Document puppet 4 compatability in 4.6
2015-07-09 18:30:26 +01:00
Morgan Haskel
07c38e518a Merge pull request #482 from DavidS/document_validate_slength_3rd_arg
Add validate_slength's optional 3rd arg to README
2015-07-09 10:20:37 -07:00
Hunter Haugen
b2aed66226 Merge pull request #479 from mklette/master
catch and rescue from looking up non-existent facts
2015-07-09 10:20:01 -07:00
Alexander Fisher
c64ecfb0c3 Add validate_slength's optional 3rd arg to README 2015-07-09 18:13:19 +01:00
Mathias Klette
e96a818782 catch and rescue from looking up non-existent facts when looking for 'kind'
facter (2.x) only provides facts without interface suffix for
 * ipaddress
 * netmask

'macaddress' and 'network' facts will always have the related interface
name appended. in turns lookupvar throws errors when strict_variables is
enabled.
2015-06-24 15:02:02 +02:00
David Schmitt
f820bb1560 Merge pull request #478 from drewfisher314/ticket/2134-add-solaris-12
Add support for Solaris 12
2015-06-22 10:27:10 +01:00
Drew Fisher
a6dcb23f89 Add support for Solaris 12 2015-06-19 17:14:21 -06:00
Travis Fields
67bc57bcb6 Merge pull request #477 from mhaskel/aio_fix
AIO uses puppet 4 so should return true for is_future_parser_enabled
2015-06-19 14:48:16 -07:00
Morgan Haskel
5381dbd4b4 AIO uses puppet 4 so should return true for is_future_parser_enabled 2015-06-19 14:29:42 -07:00
JT (Jonny)
ff81517e1c Merge pull request #474 from DavidS/fix-getvar-specs
(maint) getvar: update spec to match implementation
2015-06-19 11:13:05 +01:00
David Schmitt
771320a830 Document puppet 4 compatability in 4.6 2015-06-18 14:51:35 +01:00
David Schmitt
c9e093f8d3 (maint) getvar: update spec to match implementation 2015-06-12 14:42:09 +01:00
David Schmitt
8267dbc149 Merge pull request #470 from Yelp/getvar_future_parser
Also catch :undefined_variable as thrown by future parser
2015-06-11 18:23:29 +01:00
David Schmitt
0191a3fb77 Merge pull request #472 from justinstoller/maint/master/set_puppet_version
(maint) update PUPPET_VERSION default to be 3.8.1
2015-06-09 15:49:14 +01:00
Justin Stoller
a41cfbd043 (maint) update PUPPET_VERSION default to be 3.8.1 2015-06-08 21:43:36 -07:00
TP Honey
237c4b5149 Merge pull request #471 from puppetlabs/travisci_update
Updated travisci file to remove allow_failures on Puppet4
2015-06-05 13:35:00 +01:00
Tomas Doran
212c498df3 Also catch :undefined_variable as thrown by future parser 2015-06-05 12:43:01 +01:00
Morgan Haskel
c69b75f88b Merge pull request #469 from hunner/fix_time
Fix time() on 1.8.7
2015-06-04 10:51:41 -07:00
Hunter Haugen
ad4ca4cc34 Fix time() on 1.8.7
The time() function takes an argument of a timezone, and always returns
time in epoch format. The epoch format is the number of seconds that
have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap
seconds. This means that it is universally the same regardless of
timezones.

I don't know what the timezone argument is supposed to do, and it is not
documented. So lets just make 1.8.7 work like > 1.8.7
2015-06-04 09:40:52 -07:00