Commit graph

897 commits

Author SHA1 Message Date
Hunter Haugen
8a269c6722 Add build_csv 2014-04-08 16:38:33 -07:00
Hunter Haugen
f8f147e794 Add success/fail groups 2014-04-08 15:04:55 -07:00
Hunter Haugen
fcbc4b59a6 First set of tests 2014-04-03 16:58:12 -07:00
Ashley Penney
afb78e2b25 Add some acceptance tests for functions. 2014-04-03 16:58:12 -07:00
Yanis Guenane
d9b5e912bb (MODULES-603) Add defaults arguments to ensure_packages()
Without this patch one can not specify package resource specific
parameters. All the ensure_packages() function does it makes sure
the named packages are installed. This patch allows one to pass
default as a second argument and allow greater flexibility on
packages installations.

Use case like the following are now possible :
  * ensure_packages(['r10k', 'serverspec'], {'provider' => 'gem'})
  * ensure_packages(['ntp'], {'require' => 'Exec[foobar]'})
2014-03-30 18:47:36 -04:00
Ashley Penney
746a4cc67a Merge pull request #236 from PierreRambaud/patch-1
Update README.markdown
2014-03-27 08:41:43 -04:00
GoT
d20cf40697 Update README.markdown
Add code block for validate_slength.
2014-03-27 11:56:17 +01:00
Adrien Thebo
62e8c1d769 Merge branch '4.x' 2014-03-25 13:26:12 -07:00
Adrien Thebo
bc14381573 Merge branch '3.x' into 4.x 2014-03-25 13:26:00 -07:00
Adrien Thebo
fba67a1178 Merge branch '3.2.x' into 3.x 2014-03-25 13:25:31 -07:00
Adrien Thebo
39339ff313 Merge branch 'maint/3.2.x-ruby-rake-1.8-compat' into 3.2.x 2014-03-25 13:24:49 -07:00
Adrien Thebo
b6ee24687c (maint) Pin rake version to 10.1.0 for 1.8 compat 2014-03-25 09:46:53 -07:00
Hunter Haugen
a2f7202ec9 Merge branch '4.x' 2014-03-18 16:24:02 -07:00
Hunter Haugen
aedb89d91f Merge branch '3.x' into 4.x 2014-03-18 16:18:53 -07:00
Hunter Haugen
904f1a003e Merge branch '3.2.x' into 3.x 2014-03-18 16:16:00 -07:00
Ashley Penney
fec943f441 Merge pull request #231 from apenney/32-testing
Numerous changes to update testing gems.
2014-03-18 12:34:40 -04:00
Ashley Penney
9aa28f1c10 Remove this test.
It turns out that in 3.x the refresh functionality doesn't actually
exist yet, so testing it makes no sense.
2014-03-13 11:10:01 -07:00
Ashley Penney
4a461423cc Merge pull request #234 from apenney/add-beaker
Add beaker framework.
2014-03-12 11:24:32 -07:00
Ashley Penney
9a3107fed1 Add beaker framework.
This prepares the module for beaker acceptance tests.
2014-03-12 18:22:23 +00:00
Ashley Penney
e467d8f084 Merge pull request #220 from mediatemple/fix/master/deep_merge_fix
PUP-1724 Don't modify the paramaters to deep_merge
2014-03-11 09:31:23 -07:00
Ashley Penney
6a89e1cee4 Merge pull request #221 from puphpet/hash-fix
hash example has misplaced comas
2014-03-11 09:29:46 -07:00
Ashley Penney
3feb846cf4 Ensure Gemfile retains facilities for Jenkins. 2014-03-11 09:21:37 -07:00
Ashley Penney
e6c1aa6a02 Merge pull request #233 from apenney/add-back-location
Make sure location_for is used when installing Puppet.
2014-03-10 15:22:56 -07:00
Ashley Penney
36dda7b180 Make sure location_for is used when installing Puppet. 2014-03-10 15:19:03 -07:00
Ashley Penney
e382c0db5c Merge pull request #232 from apenney/add-back-location
Readd location_for
2014-03-10 14:58:25 -07:00
Ashley Penney
0fabaa5f07 Readd location_for
location_for is used in Jenkins to transform a passed in git
repo into something usable by bundler.
2014-03-10 14:56:12 -07:00
Ashley Penney
0bf470a71b Remove pry, whoops. 2014-03-10 13:07:43 -07:00
Ashley Penney
dbb29980a1 Numerous changes to update testing gems.
This work updates a number of Gems to the latest versions (rspec,
rspec-puppet), and updates and tweaks a bunch of tests to work
with the updated gems.
2014-03-10 10:58:49 -07:00
Ashley Penney
9e1cf99ccf Merge pull request #230 from apenney/fix-testing
[WIP] Spec overhaul.
2014-03-07 19:48:40 -05:00
Ashley Penney
3854e076cc Numerous changes to update testing gems.
This work updates a number of Gems to the latest versions (rspec,
rspec-puppet), and updates and tweaks a bunch of tests to work
with the updated gems.
2014-03-08 00:42:51 +00:00
Ashley Penney
326a8fd801 Merge pull request #228 from hunner/fix_metadata
Patch metadata
2014-03-03 16:59:29 -05:00
Hunter Haugen
4f65539c2e Patch metadata 2014-03-03 13:56:13 -08:00
Ashley Penney
dce1b4e75b Merge pull request #227 from hunner/add_support
Supported Release 3.2.1
2014-03-03 15:48:41 -05:00
Hunter Haugen
b3490f6318 Supported Release 3.2.1
Summary
This is a supported release

Bugfixes
- Fixed `is_integer`/`is_float`/`is_numeric` for checking the value of
  arithmatic expressions.

Known bugs
* No known bugs
2014-03-03 12:46:16 -08:00
Hunter Haugen
fecb53d46e Merge pull request #226 from apenney/supported-metadata
[don't merge] Prepare for supported modules.
2014-03-03 10:55:28 -08:00
Ashley Penney
ff47b2e040 Prepare for supported modules. 2014-03-03 18:51:18 +00:00
Martin Foot
35bf5fd8c9 Allow concat to take non-array second parameters
Also improve and extend concat tests to lock down functionality
2014-02-21 15:48:27 +00:00
Juan Treminio
908db6d403 hash example has misplaced comas 2014-02-19 23:37:38 -06:00
Justin Burnham
c12e9afc97 PUP-1724 Don't modify the paramaters to deep_merge
Instead of modifying the first paramater of deep_merge due to the
use of the merge! function, instead use merge to return a copy of
the merged object. This allows one to continue to use the original
first parameter after the call to deep_merge.
2014-02-17 12:19:40 -08:00
Ashley Penney
ab981422a6 Merge pull request #217 from teancom/fix/master/file_line
(DOCUMENT-21) add docs for file_line to README.markdown
2014-02-11 12:51:37 -05:00
Ashley Penney
2435741ca7 Merge pull request #219 from petems/patch-1
Fix strftime documentation in README
2014-02-11 12:51:22 -05:00
Peter Souter
d4722d7af5 Fix strftime documentation in README
Markdown was barfing due to typo
2014-02-11 15:57:22 +00:00
Hunter Haugen
dacdfaac7f Merge pull request #218 from mediatemple/remove_trailing_whitespace
Remove trailing whitespace
2014-02-05 15:06:09 -08:00
Sharif Nassar
a972e0645b Remove trailing whitespace 2014-02-05 15:01:45 -08:00
Andrew Parker
5b85e7c39f Merge branch 'DavidS-broaden-pick-arguments2'
* DavidS-broaden-pick-arguments2:
  (PUP-638) Add a pick_default() function that always returns a value.
  (PUP-636) Ignore generated file
2014-01-29 09:28:48 -08:00
David Schmitt
52fcef573f (PUP-638) Add a pick_default() function that always returns a value.
This version of pick() does not error out, instead always returning at least
the last argument, even if that too has no "real" value.
2014-01-29 09:26:35 -08:00
David Schmitt
9346b108ce (PUP-636) Ignore generated file 2014-01-29 09:25:59 -08:00
Andrew Parker
a2e9d005c7 Merge pull request #215 from blkperl/add_root_home_to_mavericks
(PUP-1459) Add support for root_home on OS X 10.9
2014-01-28 10:52:58 -08:00
David Bishop
dbba655c10 (DOCUMENT-21) add docs for file_line to README.markdown
Without this, you have to look at the source file
(lib/puppet/type/file_line.rb) to know what it does. This adds that
documentation.
2014-01-25 13:30:50 -05:00
Henrik Lindberg
2c8450d830 (PUP-1195) Rephrase documentation for is_integer and is_numeric
The documentation contained references to future decisions about
functionality. 
Text rephrased for clarity.
2014-01-24 00:22:09 +01:00