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
Ashley Penney
cf79220fba
Test only against the versions we want.
2013-07-15 16:27:05 -04:00
Ashley Penney
4304dee233
Merge pull request #53 from apenney/51-ivanov-aleksey
...
Replacement for #51
2013-07-15 13:23:03 -07:00
Ashley Penney
32e4b1f2e9
support for whitespaces in settings names (need for smb.conf)
...
smb.conf contains settings names with white spaces, for example
[globel]
server role = active directory domain controller
check password script = Disable
2013-07-15 16:22:30 -04:00
Ashley Penney
d19faad9b4
Tweak the Gemfile to be better for development, add a Rakefile.
2013-07-15 16:22:30 -04:00
Ashley Penney
4b91153c88
Merge pull request #52 from otherwiseguy/master
...
Properly handle empty values
2013-07-15 13:08:13 -07:00
Terry Wilson
5904c6f7b4
Allow empty values
...
It is a legitimate use case to set empty values; to override a
default when an empty value is acceptable for instance. This patch
changes the regex in three ways: it 1) removes the requirement for
a non-whitespace terminator on a setting value, 2) makes the value
match non-greedy so that the \s*$ at the end can catch the newline
and 3) changes the \s*=\s* to [ \t]*=[ \t]* because we don't want
that to capture *any* whitespace (like a newline).
2013-07-10 10:26:37 -05:00
Chris Price
4213189c18
Merge pull request #47 from cprice-puppet/bug/master/better-handling-of-quotes-for-subsettings
...
Bug/master/better handling of quotes for subsettings
2013-05-28 15:02:30 -07:00
Chris Price
e60d5910dc
Update CHANGELOG and Modulefile for 0.10.3 release
2013-05-28 14:58:50 -07:00
Chris Price
cbea5dcd72
Fix bug in subsetting handling for new settings
...
Our new state variable `@quote_char` was not being initialized
property if you used `ini_subsetting` for a setting that did
not yet exist. This fixes that bug.
2013-05-28 14:56:57 -07:00
Chris Price
6c6f9a4fa8
Merge pull request #45 from cprice-puppet/bug/master/better-handling-of-quotes-for-subsettings
...
Bug/master/better handling of quotes for subsettings
2013-05-22 16:32:19 -07:00