diff options
author | Emerson Prado <emerson.prado@dataprev.gov.br> | 2017-02-03 17:00:03 -0200 |
---|---|---|
committer | Emerson Prado <emerson.prado@dataprev.gov.br> | 2017-02-03 17:00:03 -0200 |
commit | 76d0ec471d074a07cc2cece3963dd9c8c2d18aeb (patch) | |
tree | 1809bb232a618dc7ba0feeaf63d18309d74bd9a1 /lib/puppet/parser/functions/basename.rb | |
parent | db8c1fbb2394d93fe3156b17c840455f1b3e2c76 (diff) |
Include routine to converge ensure values 'present' and 'installed'
If user declares ensure_package concurrently with ensure values
'present' and 'installed', function fails as if values were different
Change causes function to interpret ensure => 'installed' as 'present',
effectively elliminating the error
Also works if user doesn't specify ensure value, since 'present'
is the default
Diffstat (limited to 'lib/puppet/parser/functions/basename.rb')
0 files changed, 0 insertions, 0 deletions