Commit graph

990 commits

Author SHA1 Message Date
Travis Fields
2b1cc82d24 Add windows test exclusion to ensure_resource 2014-10-28 16:43:15 -07:00
Travis Fields
9f68fd300f Fixed a mistake where we were trying to touch a host file using the default which was not relavent to the host we were modifying 2014-10-28 16:10:50 -07:00
Travis Fields
5497f83507 Fix logic issue with not including windows for testing ensure_packages as ruby and gem are not on the install path 2014-10-28 15:35:56 -07:00
Travis Fields
a6f3f781d1 Merge remote-tracking branch 'origin/4.3.x' back to master 2014-10-28 15:31:37 -07:00
Colleen Murphy
cfc79e9831 Merge pull request #344 from cyberious/TestCaseFixes
Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string
2014-10-28 15:30:17 -07:00
Travis Fields
51f1d574d9 Fix testcases for Future Parser and resolve issue with values_at in assuming that it was dealing with a string 2014-10-28 15:27:24 -07:00
Travis Fields
9dea092979 Merge branch '4.3.x', add tempfile back for resource validate_cmd and validate_augeas 2014-10-24 16:41:05 -07:00
John Duarte
759cbdec88 Merge pull request #340 from cyberious/4.3.x
add require 'tempfile' to resolve a previously autorequired resource
2014-10-24 16:38:30 -07:00
Travis Fields
624ccbd22c add require 'tempfile' to resolve a previously autorequired resource 2014-10-24 16:35:34 -07:00
Travis Fields
f0b207c035 Merge branch '4.3.x'
Conflicts:
	README.markdown
	lib/puppet/parser/functions/has_interface_with.rb
2014-10-24 14:30:01 -07:00
Morgan Haskel
0c0f7e13cd Merge pull request #262 from tremble/MODULES-707
Modules 707
2014-10-09 13:33:06 -04:00
Hunter Haugen
9bbc62d12a Merge pull request #335 from jbondpdx/stdlib-readme
DOC-248 Revised and updated readme for stdlib module
2014-10-09 10:10:34 -07:00
jbondpdx
2fcc1ef189 DOC-248 Revised and updated readme for stdlib module
Reorganized and edited stdlib module readme.
2014-10-08 11:42:31 -07:00
Colleen Murphy
cb6c7d8e49 Merge pull request #334 from cyberious/WindowsHasInterfacesBug
ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing...
2014-10-08 11:33:10 -07:00
Travis Fields
8ad7f68eca ENTERPRISE-281 fixes issue with has_interfaces and case mismatch causing us not to return some interfaces 2014-10-08 10:14:10 -07:00
Hunter Haugen
0cd08b377b Merge pull request #303 from bobtfish/fix_strict_variables
Fix strict_variables = true
2014-09-24 15:47:13 -07:00
Hunter Haugen
a44cf3e462 Merge pull request #302 from 3flex/update-readme
(MODULES-927) Update readme
2014-09-22 17:06:16 -07:00
Tomas Doran
032f93af1d Fix strict_variables = true 2014-09-22 14:43:27 -07:00
Mark Chappell
23bc7d51bd Re-use existing str2bool code rather than doing a copy and paste 2014-09-22 19:49:50 +02:00
Mark Chappell
e2d7f3bb89 (MODULES-707) chomp() fails because generate() no longer returns a string
We need to use

  unless value.is_a?(String) || value.is_a?(Array)

rather than

  klass = value.class
  unless [String, Array].include?(klass)

because the klass version enforces type checking which is too strict, and does
not allow us to accept objects wich have extended String (or Array).

For example, generate() function now returns Puppet::Util::Execution::ProcessOutput
which is just a very simple extension of String.  While this in it's self was
not intentional (PUP-2306) it is not unreasonable to cope with objects which
extend Strings
2014-09-22 19:49:50 +02:00
Hunter Haugen
b347cc83e2 Merge pull request #320 from JimPanic/patch-2
Update docs of validate_string to reflect bug
2014-09-17 09:44:51 -07:00
Hunter Haugen
c1ff630b16 Merge pull request #321 from cyberious/4.3.x
MODULES-1248 Fix issue with not properly counting regex matches with leg...
2014-09-16 14:30:10 -07:00
Travis Fields
acf435d1ce MODULES-1248 Fix issue with not properly counting regex matches with legacy versions of ruby 2014-09-16 13:41:39 -07:00
Travis Fields
4a79fd063a Merge pull request #322 from hunner/remove_simplecov
Remove simplecov
2014-09-16 13:39:21 -07:00
Hunter Haugen
cf8d144caf Remove simplecov
simplecov 0.9 dropped ruby 1.8 support, and stdlib is one of the oddball
modules that uses it. So we could probably just remove it and be okay.

(cherry picked from commit a7c129b22d)
2014-09-16 12:01:24 -07:00
Alexander Pánek
6631934df8 Note that also future parser does not work 2014-09-16 19:03:02 +02:00
Alexander Pánek
448e66b8bb Updated docs of validate_string to reflect bug
See: https://tickets.puppetlabs.com/browse/MODULES-457
2014-09-16 17:55:26 +02:00
Ashley Penney
9e8127bb64 Merge pull request #313 from mhaskel/spec_updates
Update spec_helper for more consistency
2014-08-28 18:32:56 -04:00
Morgan Haskel
2023692fc9 Update spec_helper for more consistency 2014-08-28 18:30:39 -04:00
Ashley Penney
e6eb863a2a Merge pull request #308 from hunner/remove_cov
Remove simplecov
2014-08-06 12:43:21 -04:00
Hunter Haugen
a7c129b22d Remove simplecov
simplecov 0.9 dropped ruby 1.8 support, and stdlib is one of the oddball
modules that uses it. So we could probably just remove it and be okay.
2014-08-05 11:28:18 -07:00
Hunter Haugen
2ba0e375e2 Merge branch '4.3.x' 2014-08-05 10:55:58 -07:00
Ashley Penney
e310b1fdab Merge pull request #306 from hunner/fix_concat
(MODULES-1195) Rebase of #202
2014-07-31 15:01:20 -04:00
Spencer Krum
a6ad0af08e Introduce test for array destruction
It was discovered that the concat array modifies the arrays passed to it
as an argument as a side effect. This test will ensure that doesn't
happen again.
2014-07-31 11:23:34 -07:00
Colleen Murphy
85d5eadbab Concatenate arrays without modifying the first array 2014-07-31 11:22:18 -07:00
Matthew Haughton
b2033a0c11 (MODULES-927) Update docs for functions in README
* range (take an optional third argument for range step)
* validate_slength (take an optional third argument for minimum length)
* file_line (take after and multiple attributes)
2014-07-17 11:06:00 -04:00
Matthew Haughton
31b02f8492 (MODULES-927) Add missing functions to README
* anchor
* bool2str
* camelcase
* deep_merge
* pick_default
* validate_ipv4_address
* validate_ipv6_address
2014-07-17 10:48:25 -04:00
Hunter Haugen
c5f6c26d67 Merge pull request #300 from trlinkin/file_line_docs
(MODULES-1221) Add file_line autorequire documentation
2014-07-16 14:07:39 -07:00
Thomas Linkin
9fd13be825 (MODULES-1221) Add file_line autorequire documentation
This commit adds additional documentation to the file_line resource
explaining how it will autorequire file resources when present.
2014-07-16 11:45:36 -04:00
Travis Fields
da11903285 Merge pull request #299 from apenney/432-release
Prepare a 4.3.2 release.
2014-07-15 09:17:39 -07:00
Ashley Penney
545dcc91f5 Prepare a 4.3.2 release. 2014-07-15 11:27:47 -04:00
Ashley Penney
4c62b7a2ee Merge pull request #298 from hunner/release_4.3.1
Release 4.3.1
2014-07-14 18:56:14 -04:00
Hunter Haugen
90ac0a7742 Release 4.3.1
Summary
This supported release updates the metadata.json to work around upgrade
behavior of the PMT.

Bugfixes
- Synchronize metadata.json with PMT-generated metadata to pass
  checksums
2014-07-14 15:55:06 -07:00
Ashley Penney
251831bd92 Merge pull request #297 from hunner/fix_metadata
Correct metadata.json to match checksum
2014-07-14 18:52:13 -04:00
Hunter Haugen
c0d35cfe9e Correct metadata.json to match checksum 2014-07-14 15:51:21 -07:00
Ashley Penney
e0315bb463 Merge pull request #296 from hunner/case_aix
AIX has no facter network support
2014-07-08 16:47:28 -04:00
Hunter Haugen
07462f2c36 AIX has no facter network support
These functions take advantage of IP fact information and AIX does not
appear to support dynamic interface detection in facter.
2014-07-08 13:45:36 -07:00
Hunter Haugen
a4b30843d8 Merge pull request #295 from cmurphy/master
Synchronize .travis.yml
2014-06-30 12:08:57 -07:00
Ashley Penney
90ed35db1f Merge pull request #294 from hunner/release_4.3.0
Release 4.3.0
2014-06-27 15:35:00 -04:00
Hunter Haugen
ae82e2cb17 Release 4.3.0
Summary:
This release is the first supported release of the stdlib 4 series. It
emains backwards-compatible with the stdlib 3 series. It adds two new
unctions, one bugfix, and many testin

Features:
- New `bool2str()` function
- New `camalcase()` function

Bugfixes:
- Fix `has_interface_with()` when interfaces fact is nil
2014-06-27 12:30:27 -07:00