Commit-Graf

119 commits

Upphovsman SHA1 Meddelande Datum
Ashley Penney
d17dcfbe96 Merge pull request #80 from hunner/fix_aix
AIX exits with 2 on file doesn't exist.
2014-02-26 16:15:34 -05:00
Hunter Haugen
17a59b2b13 AIX exits with 2 on file doesn't exist. 2014-02-26 13:14:19 -08:00
Hunter Haugen
5e841a91f7 Merge branch 'missing_comma' into 1.0.x 2014-02-25 13:36:12 -08:00
Hunter Haugen
6999ab0ea4 Fix missing comma in metadata.json 2014-02-25 13:34:59 -08:00
Hunter Haugen
08346e908d Merge pull request #77 from hunner/add_metadata
Add supported OS/PE/Puppet
2014-02-25 13:20:51 -08:00
Hunter Haugen
5c2cb37b47 Add supported OS/PE/Puppet 2014-02-25 12:59:11 -08:00
Ashley Penney
b77ef8de90 Merge pull request #78 from hunner/remove_autopublish
Remove travis autopublish stuff
2014-02-24 19:49:52 -05:00
Hunter Haugen
f5e607afd6 Remove travis autopublish stuff
We'll do it in jenkins later
2014-02-24 16:48:41 -08:00
Ashley Penney
c1bc9d056a Merge pull request #75 from justinstoller/maint/1.0.x/dont_use_hardcoded_modpath
Remove basic spec
2014-02-13 18:50:30 -05:00
Justin Stoller
25e7c2845e Remove basic spec
This removes the "basic_spec" as it is largely a sanity check against
the env/tooling.  The spec itself is problematic because in Puppet
Enterprise a module will be in 'sitemoduledir' or 'distmoduledir'
depending on whether it's included in PE as part of the distribution or
not.  However it will always be in 'distmoduledir' for FOSS.
2014-02-13 15:38:21 -08:00
Ashley Penney
48a4e0891b Merge pull request #74 from hunner/release_1.0.1
Release 1.0.1
2014-02-12 14:16:56 -05:00
Hunter Haugen
5b6de5763f Release 1.0.1
Summary:
This release is a bugfix for handling whitespace/[]'s better, and adding
a bunch of tests.

Bugfixes:
- Handle whitespace in sections
- Handle square brances in values
- Add metadata.json
- Update some travis testing
- Tons of beaker-rspec tests
2014-02-12 11:06:57 -08:00
Hunter Haugen
a0c3b82e7f Merge pull request #73 from hunner/dynamic_gemsource
Allow custom gemsource
2014-02-11 16:50:09 -08:00
Hunter Haugen
ab21bd39fd Allow custom gemsource 2014-02-11 16:34:43 -08:00
Ashley Penney
467c4c56e9 Merge pull request #66 from hunner/update_specs
(FM-161) Add beaker tests for parameter coverage
2014-01-27 11:02:07 -08:00
Hunter Haugen
eda78abb6e (FM-161) Add beaker tests for parameter coverage 2014-01-27 10:33:45 -08:00
Hunter Haugen
664051c50d Merge pull request #70 from ghoneycutt/fix_travis_link_in_readme
Fix link to travis in README
2014-01-23 14:49:14 -08:00
Garrett Honeycutt
4e1bc1e914 Fix link to travis in README 2014-01-23 17:43:26 -05:00
Hunter Haugen
38f260c8ac Merge pull request #68 from ghoneycutt/test_puppet_v3_4
Test against Puppet v3.4
2014-01-23 14:24:34 -08:00
Hunter Haugen
17cba2fd79 Merge pull request #67 from ghoneycutt/enable_travis_fast_finish
Enable fast finish in Travis
2014-01-23 14:21:04 -08:00
Garrett Honeycutt
4c1d651931 Test against Puppet v3.4 2014-01-23 17:17:40 -05:00
Garrett Honeycutt
9e6b0c41b6 Enable fast finish in Travis
http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2014-01-23 17:17:20 -05:00
Hunter Haugen
a0b63ebf77 Merge pull request #65 from shrug/master
Update settings regexes to support settings containing square brackets
2013-12-05 16:06:38 -08:00
Rob Braden
76ad4c47fe Fix the regex t fix a bad match 2013-12-05 11:47:28 -08:00
Rob Braden
6870dfed7d Add tests to cover settings with square brackets and quotes in the name 2013-12-04 17:16:19 -08:00
Rob Braden
e779d12d86 Update settings regexes to support settings with "[", "]" in them 2013-12-04 17:16:03 -08:00
Ashley Penney
ae23a4db97 Merge pull request #58 from jnewland/spaces-in-sections
Support spaces in sections
2013-12-02 10:06:48 -08:00
Jesse Newland
c058ee5d40 support spaces in sections 2013-12-02 12:57:02 -05:00
Ashley Penney
2b45293d6d Merge pull request #59 from antroy/master
Adding whitespace capability to section header regex
2013-11-20 09:21:12 -08:00
Ashley Penney
10f270f435 Merge pull request #63 from JHaals/master
make ensure => present the first attribute
2013-10-17 09:53:02 -07:00
Johan Haals
ff98e78c0a make ensure => present the first attribute
ensure should be the first attribute. puppet-lint errors otherwise
2013-10-17 13:30:49 +02:00
Ashley Penney
d75ce1c7b9 Merge pull request #61 from apenney/metadata
Add empty dependencies section.
2013-10-08 15:18:12 -07:00
Ashley Penney
cd9bb11adb Add empty dependencies section. 2013-10-08 15:13:13 -07:00
Ashley Penney
85cfc933fe FM-103: Add metadata.json to all modules. 2013-10-08 11:29:19 -07:00
Ashley Penney
0a1dea40c6 Merge pull request #60 from apenney/metadata
FM-103: Add metadata.json to all modules.
2013-10-08 11:26:11 -07:00
Anthony Roy
86c57aa480 Adding whitespace capability to section header regex 2013-08-28 10:21:43 +01:00
Ashley Penney
fe9b0d5229 Merge pull request #56 from apenney/travis-secure
Fix this to the right key, after adding appropriate --repo and --org
2013-07-16 19:37:36 -04:00
Ashley Penney
a3ad3bac21 Fix this to the right key, after adding appropriate --repo and --org
options to travis.
2013-07-16 19:25:46 -04:00
Hunter Haugen
2308acac00 Merge pull request #55 from apenney/100-release
Prepare a 1.0.0 release.
2013-07-16 15:36:43 -07:00
Ashley Penney
d94dc1c886 Add autopublishing details. 2013-07-16 12:31:40 -04:00
Ashley Penney
903d47648a Prepare a 1.0.0 release. 2013-07-16 12:21:36 -04:00
Ashley Penney
14ef514cfd Merge pull request #50 from richardc/bug/inherited_purging
Bug/inherited purging
2013-07-16 06:50:23 -07:00
Richard Clamp
756e7ab166 .instances isn't stable between puppet versions
Extract the names from all the instances, and check they don't have the form
`[ '/green', '/red' ]` which they would if the inheritance doesn't work.
2013-07-16 14:38:45 +01:00
Richard Clamp
6f7b28bd59 fix syntax for 1.8.7 2013-07-16 13:42:38 +01:00
Richard Clamp
b0c8d5c34a allow for the namevar construction
The default type would always have a section as part of its namevar, but if
you're inheriting from ini_setting you may be modelling a flat file with no
sections.

This pushes the formation of the namevar from the section_name and setting into
a method, then demonstrates overriding it so that inherited_ini_setting can just
be

   inherited_ini_file { 'setting':
     value => '12',
   }

and continue to be purgable.
2013-07-16 10:18:15 +01:00
Richard Clamp
abd7065936 actually write a file in spec/fixtures/tmp
This is useful for testing with puppet apply
2013-07-16 10:18:15 +01:00
Richard Clamp
857496424c Fix the sample usage in the README
If you follow the example in the README you may not have implemented the
:key_value_separator parameter in your type, and you get the wonderful failure
case:

   Puppet::Error: Invalid parameter key_val_separator(:key_val_separator)

This change looks first, and if the user hasn't specified that attribute in
their type in their type, it falls back to '='
2013-07-16 10:18:15 +01:00
Richard Clamp
e5898439c5 add a test for creating subclassed instances 2013-07-16 10:18:15 +01:00
Richard Clamp
bd6d244610 add a type to test inheriting from ini_setting
In order to test with rspec-puppet we need to set up the fixtures, and test via
rake spec, so we change that too
2013-07-16 10:17:27 +01:00
Ashley Penney
1338d03944 Merge pull request #54 from apenney/travis
Test only against the versions we want.
2013-07-15 13:28:38 -07:00