summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-30(MODULES-603) Add defaults arguments to ensure_packages()Yanis Guenane
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-27Merge pull request #236 from PierreRambaud/patch-1Ashley Penney
Update README.markdown
2014-03-27Update README.markdownGoT
Add code block for validate_slength.
2014-03-25Merge branch '4.x'Adrien Thebo
2014-03-25Merge branch '3.x' into 4.xAdrien Thebo
2014-03-25Merge branch '3.2.x' into 3.xAdrien Thebo
2014-03-25Merge branch 'maint/3.2.x-ruby-rake-1.8-compat' into 3.2.xAdrien Thebo
2014-03-25(maint) Pin rake version to 10.1.0 for 1.8 compatAdrien Thebo
2014-03-18Merge branch '4.x'Hunter Haugen
2014-03-18Merge branch '3.x' into 4.xHunter Haugen
2014-03-18Merge branch '3.2.x' into 3.xHunter Haugen
2014-03-18Merge pull request #231 from apenney/32-testingAshley Penney
Numerous changes to update testing gems.
2014-03-13Remove this test.Ashley Penney
It turns out that in 3.x the refresh functionality doesn't actually exist yet, so testing it makes no sense.
2014-03-12Merge pull request #234 from apenney/add-beakerAshley Penney
Add beaker framework.
2014-03-12Add beaker framework.Ashley Penney
This prepares the module for beaker acceptance tests.
2014-03-11Merge pull request #220 from mediatemple/fix/master/deep_merge_fixAshley Penney
PUP-1724 Don't modify the paramaters to deep_merge
2014-03-11Merge pull request #221 from puphpet/hash-fixAshley Penney
hash example has misplaced comas
2014-03-11Ensure Gemfile retains facilities for Jenkins.Ashley Penney
2014-03-10Merge pull request #233 from apenney/add-back-locationAshley Penney
Make sure location_for is used when installing Puppet.
2014-03-10Make sure location_for is used when installing Puppet.Ashley Penney
2014-03-10Merge pull request #232 from apenney/add-back-locationAshley Penney
Readd location_for
2014-03-10Readd location_forAshley Penney
location_for is used in Jenkins to transform a passed in git repo into something usable by bundler.
2014-03-10Remove pry, whoops.Ashley Penney
2014-03-10Numerous changes to update testing gems.Ashley Penney
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-07Merge pull request #230 from apenney/fix-testingAshley Penney
[WIP] Spec overhaul.
2014-03-08Numerous changes to update testing gems.Ashley Penney
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-03Merge pull request #228 from hunner/fix_metadataAshley Penney
Patch metadata
2014-03-03Patch metadataHunter Haugen
2014-03-03Merge pull request #227 from hunner/add_supportAshley Penney
Supported Release 3.2.1
2014-03-03Supported Release 3.2.1Hunter Haugen
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-03Merge pull request #226 from apenney/supported-metadataHunter Haugen
[don't merge] Prepare for supported modules.
2014-03-03Prepare for supported modules.Ashley Penney
2014-02-19hash example has misplaced comasJuan Treminio
2014-02-17PUP-1724 Don't modify the paramaters to deep_mergeJustin Burnham
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-11Merge pull request #217 from teancom/fix/master/file_lineAshley Penney
(DOCUMENT-21) add docs for file_line to README.markdown
2014-02-11Merge pull request #219 from petems/patch-1Ashley Penney
Fix strftime documentation in README
2014-02-11Fix strftime documentation in READMEPeter Souter
Markdown was barfing due to typo
2014-02-05Merge pull request #218 from mediatemple/remove_trailing_whitespaceHunter Haugen
Remove trailing whitespace
2014-02-05Remove trailing whitespaceSharif Nassar
2014-01-29Merge branch 'DavidS-broaden-pick-arguments2'Andrew Parker
* DavidS-broaden-pick-arguments2: (PUP-638) Add a pick_default() function that always returns a value. (PUP-636) Ignore generated file
2014-01-29(PUP-638) Add a pick_default() function that always returns a value.David Schmitt
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(PUP-636) Ignore generated fileDavid Schmitt
2014-01-28Merge pull request #215 from blkperl/add_root_home_to_mavericksAndrew Parker
(PUP-1459) Add support for root_home on OS X 10.9
2014-01-25(DOCUMENT-21) add docs for file_line to README.markdownDavid Bishop
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-24(PUP-1195) Rephrase documentation for is_integer and is_numericHenrik Lindberg
The documentation contained references to future decisions about functionality. Text rephrased for clarity.
2014-01-23(PUP-1195) Fix is_numeric/is_integer when checking non-string parametersSimon Effenberg
I expect a function called "is_numeric" or "is_integer" to check if a variable is an integer or a number even if the variable passed by isn't a string nor a number at all. Otherwise we should call them is_string_a_number and is_string_an_integer and we have then to remove the check for .is_a?(Number) and .is_a?(FixNum) now checking also if it is a hex or octal number improved/corrected checking for integer * checking against Integer instead of Fixnum so that also Bignum is matching * now .is_a? Integer is done first so this is quiet fast Now many types of numerics are recognized. 1. Float/Integer values (signed or unsigned, with exponent or without) 2. octal and hex check 3. except hex numbers and the "0." in a float lower than 1 can be prefixed with a '0'. whitespaces shouldn't be allowed as prefix/suffix string representation of numbers should not contain any type of whitespace.. the user is responsible to clean a string before checking it.. fix documentation and added more checks tried to be 99.9% backward compatible * for now the decission is post poned if hex and octal numbers should be allowed or not (is_numeric) * native Bignum is now also a valid integer class fix problem with old 1.8 ruby and Hash.to_s/Array.to_s In ruby < 1.9 array and hashes would be recognized as numeric if they have a special format: 1.8: [1,2,3,4].to_s = "1234" {1=>2}.to_s = "12" 1.9: [1,2,3,4].to_s = "[1, 2, 3, 4]" {1=>2}.to_s = "{1=>2}"
2014-01-23Merge pull request #216 from ghoneycutt/enable_travis_fast_finishHunter Haugen
Enable fast finish in Travis
2014-01-23Enable fast finish in TravisGarrett Honeycutt
http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2014-01-22(PUP-1459) Add support for root_home on OS X 10.9William Van Hevelingen
getent does not exist on 10.9 so this commit uses dscacheutil to query the homedir for the root user.
2014-01-15Merge branch 'pull-201'Adrien Thebo
This closes GH-201.