diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-05-16 01:52:30 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-05-16 01:52:30 +0000 |
| commit | dc3a6d5a8a30047e3136786a8841869b7e35b422 (patch) | |
| tree | 609935676dc22e13519d1a5a716483c931aadbd3 /lib/puppet | |
| parent | 373afa35710cf6a50f171341c569db5550026fbf (diff) | |
| download | puppet-dc3a6d5a8a30047e3136786a8841869b7e35b422.tar.gz puppet-dc3a6d5a8a30047e3136786a8841869b7e35b422.tar.xz puppet-dc3a6d5a8a30047e3136786a8841869b7e35b422.zip | |
Making sure file recursion works for all valid inputs
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1204 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
| -rw-r--r-- | lib/puppet/type/pfile.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/type/pfile.rb b/lib/puppet/type/pfile.rb index b30cd1df3..63481566c 100644 --- a/lib/puppet/type/pfile.rb +++ b/lib/puppet/type/pfile.rb @@ -101,8 +101,9 @@ module Puppet newvalues(:true, :false, :inf, /^[0-9]+$/) munge do |value| + value = super case value - when :true: true + when :true, :inf: true when :false: false else value |
