summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-01Merge pull request #15 from reidmv/bug/master/spacesChris Price
Cool, thanks!
2012-09-29Allow values with spaces to be parsed and setReid Vandewiele
Previously, the following stanza would fail as a result of the ini_setting type not being able to parse spaces in setting values. ini_setting { 'main_config_version': ensure => present, path => '/etc/puppetlabs/puppet/puppet.conf', section => 'main', setting => 'config_version', value => '/etc/puppetlabs/puppet/config_version.sh $environment', } This commit modifes the SETTING_REGEX to account for spaces in setting values.
2012-09-24Updated CHANGELOG and Modulefile; final commit for 0.0.3 releaseChris Price
2012-09-20Merge pull request #9 from ↵Chris Price
cprice-puppet/feature/master/allow-override-of-separator-str Allow overriding separator string between key/val pairs
2012-09-20Add validation for key_val_separatorChris Price
For now, the key_val_separator is required to contain exactly one '=' character. This commit simply validates that that is the case.
2012-09-19Allow overriding separator string between key/val pairsChris Price
This introduces a new parameter, 'key_val_separator', which can be set in order to override the string that is used as a separator between the key/value pair of a setting line. The default is ' = ', but you could set the param to '=' if you don't want to include whitespace in your settings file.
2012-09-04Merge pull request #5 from jtopjian/jtopjian-colonChris Price
Added support for colons in section names
2012-09-04Added tests for sections with colonsJoe Topjian
2012-09-04Fixed spec_helper.rb so original tests can pass.Joe Topjian
2012-08-24Added support for colons in section namesJoe Topjian
2012-08-20Add CHANGELOG and update README; final commit for 0.0.2 releaseChris Price
2012-08-17Add support for "global" section at beginning of fileChris Price
This commit does the following: * Fixes a bug in ExternalIterator * Adds support for a "global" section before the first named section at the beginning of the INI file * Improves test coverage
2012-08-16final commit for 0.0.1 releaseChris Price
* Updated README * Fixed a small bug that would be triggered if the file specified by `path` didn't exist. * Added a smoke test manifest
2012-08-16Add ModulefileChris Price
2012-08-14Merge pull request #4 from stephenrjohnson/miscfixesChris Price
Updated Section/ Setting regex, fixed bug with empty files and updated provider to not care about variable type
2012-08-14make the regex less matchyStephen
2012-08-14Fixed regex to match sections and settings with non alphanumericStephen
characters. Fixed writing to file without any sections at all. Fixed exists checking for variable type by always casting to string and added all the tests for the above items.
2012-08-13Merge pull request #1 from stephenrjohnson/masterChris Price
Fix require paths
2012-08-13fix path for require statementStephen
2012-07-28First (basic) working version of ini_setting providerChris Price
2012-06-14Started writing some tests, work has been puntedChris Price
2012-06-14Initial commitChris Price