Commit graph

1131 commits

Author SHA1 Message Date
Rod Montgomery
ee13438d2a If present, top-level domain must be alphabetic
See RFC 1123, Section 2.1
http://tools.ietf.org/html/rfc1123#section-2
2015-03-05 21:51:12 -06:00
TP Honey
bf8e5b0573 Merge pull request #422 from cyberious/assert_private
Assert private
2015-03-05 19:15:41 +00:00
Travis Fields
4a68b224c4 Add private function back and forward to assert_private with deprecation warning 2015-03-05 11:12:51 -08:00
Hunter Haugen
668b3c31b5 Merge pull request #369 from rfugina/dirname_typecheck
Dirname typecheck
2015-03-05 11:00:36 -08:00
Franz Pletz
56d815bcfc Rename private() to assert_private()
As mentioned in #270, private is a reserved keyword in the future parser
which is to be released with Puppet 4. As it stands, this function is
not useable with the future parser so it needs to renamed.

This is a breaking change.
2015-03-05 10:59:31 -08:00
Hunter Haugen
41965fd2c9 Merge pull request #375 from poikilotherm/feature/master/validate_integer_and_numeric
(MODULES-560) Add new functions validate_numeric() and validate_integer().
2015-03-05 10:57:43 -08:00
TP Honey
706b9e8205 Merge pull request #420 from mhaskel/improveprefix
Add support for hashes in the prefix function
2015-03-05 15:45:39 +00:00
Morgan Haskel
20d49394fb Merge pull request #410 from robruma/range_documentation_update
Adding markdown for the range() function's 3rd argument
2015-03-04 15:08:23 -08:00
robruma
380cb02a65 Adding markdown for the range() function's 3rd argument
Adding markdown for the range() function's 3rd argument

Adding markdown for the range() function's 3rd argument
2015-03-04 18:01:29 -05:00
Stefan Goethals
0236cd51bc Add support for hashes in the prefix function
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2015-03-03 16:20:55 -08:00
Morgan Haskel
b8547b7c29 Merge pull request #310 from kainz/master
URI.escape for the array case was incorrect.
2015-03-03 16:06:46 -08:00
Bryon Roché
41baef8502 URI.escape for the array case was incorrect.
The previous commit to uriescape() changed the implementation to use the ruby default escape list for URI.escape(), but did not change the call triggered when uriescape() was called on an array, triggering ruby errors.
2015-03-03 16:05:47 -08:00
Morgan Haskel
055083c117 Merge pull request #407 from adamcrews/ceiling_function
Add a ceiling function to complement the floor function.
2015-03-03 15:59:06 -08:00
Morgan Haskel
6d07a6a809 Merge pull request #419 from cyberious/master
Loosen the restrictions of upcase and allow for recursion of the objects...
2015-03-02 11:09:33 -08:00
Travis Fields
85e81f9bdf Loosen the restrictions of upcase and allow for recursion of the objects and only worry if the object responds to upcase 2015-03-02 10:45:43 -08:00
Morgan Haskel
cd6568039f Merge pull request #418 from cyberious/UpcaseHash
Fix issue with 1.8.7 and upcase
2015-02-26 10:51:10 -08:00
Travis Fields
419f51bdd9 Fix issue with Ruby 1.8.7 which did not allow for the return in an each_pair of the hash 2015-02-26 10:13:28 -08:00
Morgan Haskel
1ccc4f5e0e Merge pull request #417 from cyberious/UpcaseHash
Add Hash to upcase
2015-02-25 16:58:39 -08:00
Travis Fields
7021b1f55c Add Hash to upcase 2015-02-25 11:39:27 -08:00
Morgan Haskel
3da8d17390 Merge pull request #415 from nibalizer/master
Remove travis badge
2015-02-19 13:59:26 -08:00
Spencer Krum
ef539388cb Remove travis badge 2015-02-19 13:58:14 -08:00
Travis Fields
647e9bcbf9 Merge pull request #413 from mhaskel/fix
Check for string before copying
2015-02-19 12:02:15 -08:00
Morgan Haskel
b693c870d2 Check for string before copying 2015-02-19 12:01:26 -08:00
Morgan Haskel
fcd2f53908 Merge pull request #412 from seanmil/MODULES-1771
(MODULES-1771) Don't modify input to is_domain_name()
2015-02-19 11:33:34 -08:00
Sean Millichamp
1321d586a8 (MODULES-1771) Don't modify input to is_domain_name()
Fix is_domain_name() so it dup's its incoming argument
to avoid changing the original with a later chomp!
2015-02-14 10:49:26 -05:00
Colleen Murphy
ad5727266a Merge pull request #406 from elyscape/fix/fqdn_rotate_pollutes_global_seed
(MODULES-1738) Don't modify the global seed in fqdn_rotate()
2015-02-12 15:45:23 -08:00
Eli Young
84f866ffaf (MODULES-1738) Don't modify global seed in fqdn_rotate()
As per puppetlabs/puppet@292233c, this leaves the global seed in a
deterministic state, which is bad. Puppet::Util.deterministic_rand()
exists to avoid running into this issue, but is only present starting in
Puppet 3.2.0.
2015-02-12 14:04:47 -08:00
Colleen Murphy
afc83ea564 Merge pull request #411 from elyscape/fix/travis_build_issues
Fix Travis builds
2015-02-12 13:14:17 -08:00
Eli Young
f9855d99ec Have Travis actually test Facter 1.6/1.7
The Gemfile didn't actually specify which version to use for Facter,
even when there was an environment variable to that effect.
2015-02-12 11:45:39 -08:00
Eli Young
8524a17e0f Fix Travis builds
The release of rspec 3.2.0 broke a lot of tests. Pinning to rspec 3.1.0
provides a temporary fix.
2015-02-12 11:32:38 -08:00
Adam Crews
53b1802a92 Add a ceiling function to complement the floor function. 2015-02-01 22:46:16 -08:00
Hunter Haugen
5863ab3901 Merge pull request #403 from cyberious/master
Merge 4.6.x back to master
2015-01-15 13:59:53 -08:00
Travis Fields
75d16ae001 Merge branch '4.6.x' back to master 2015-01-15 13:55:48 -08:00
Morgan Haskel
71a7a47d3c Merge pull request #402 from cyberious/4.6.x
Merge 4.5.x into 4.6.x
2015-01-15 08:44:20 -08:00
Travis Fields
0df670f3cd Merge branch '4.5.x' into 4.6.x
Conflicts:
	CHANGELOG.md
2015-01-14 20:54:27 -08:00
Colleen Murphy
7a91f20990 Merge pull request #401 from cyberious/FM-2131
FM-2131 Move to non temp directory for factor_dot_d
2015-01-14 16:27:21 -08:00
Travis Fields
9e380b9685 Prepare for 4.5.1 release 2015-01-14 12:46:10 -08:00
Travis Fields
e32afd7c7c FM-2130 Move cache file to non temp directory 2015-01-14 12:39:14 -08:00
Hunter Haugen
462bea8d80 Merge pull request #398 from puppetlabs/master
Pull in RSpec 3.0 fixes.
2015-01-14 09:17:24 -08:00
Colleen Murphy
712a58a5ce Merge pull request #397 from cyberious/4.6.x
4.6.x
2015-01-13 17:43:19 -08:00
Travis Fields
cfacdd543e Prep for 4.6.0 STDLIB release 2015-01-13 17:37:08 -08:00
Travis Fields
39fa2d1bd8 Merge pull request #396 from hunner/change_each
Change all to each
2015-01-13 17:26:14 -08:00
Hunter Haugen
bfb526899f Change all to each
The existence of this directory is behavior for each test, but will also
stop rspec 3 from complaining.
2015-01-13 17:21:28 -08:00
Travis Fields
ac3e51bac5 Merge branch 'master' into 4.5.x 2015-01-13 17:16:10 -08:00
Hunter Haugen
8db1f2e2f0 Merge pull request #395 from cyberious/FM-2130
FM-2130 Move cache file to non temp directory
2015-01-13 17:03:44 -08:00
Travis Fields
b11311ad65 FM-2130 Move cache file to non temp directory 2015-01-13 16:50:27 -08:00
Travis Fields
413dafbb52 Merge pull request #382 from hunner/fix_type
(MODULES-1473) Deprecate type() function for new parser
2015-01-08 08:57:30 -08:00
Hunter Haugen
7c8ae311ca (MODULES-1473) Deprecate type() function for new parser
The `type()` function will cease to work on the new parser because 'type'
is a reserved keyword. The `type3x()` function may be used to continue
similar functionality, but will be deprecated in favor of the built-in
typing system.

The `type_of()` function has been included to introspect types in the
new parser.
2015-01-07 16:40:06 -08:00
Travis Fields
4700f16e82 Merge pull request #336 from mklette/master
ensure_resource: be more verbose in debug mode
2015-01-02 12:27:33 -08:00
Morgan Haskel
79e79e8bba Merge pull request #394 from cmurphy/master
Add IntelliJ files to the ignore list
2014-12-29 11:22:11 -08:00