summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/util/ini_file_spec.rb
AgeCommit message (Collapse)Author
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-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-07-28First (basic) working version of ini_setting providerChris Price