diff options
author | Reid Vandewiele <reid@puppetlabs.com> | 2012-09-29 12:39:00 -0700 |
---|---|---|
committer | Reid Vandewiele <reid@puppetlabs.com> | 2012-09-29 12:39:00 -0700 |
commit | 3829e20c49652660aeac5c33f638dd19dca41f8e (patch) | |
tree | 952a5cac41530e0f5a1a7665f1a792a8df5143f5 /tests | |
parent | e81a69adb5049f1b8fb433b3f37d82a4bb69d573 (diff) | |
download | puppet-inifile-3829e20c49652660aeac5c33f638dd19dca41f8e.tar.gz puppet-inifile-3829e20c49652660aeac5c33f638dd19dca41f8e.tar.bz2 |
Allow values with spaces to be parsed and set
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions