diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-26 19:08:48 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-09-26 19:08:48 +0000 |
commit | f48f14ab4df7c2d3e327b3317503a181cbe13ecb (patch) | |
tree | f094daf3e031458a8c48de7aeff85c79bb77be2c /lib/puppet | |
parent | 5bb8c4a0ae72d84693239c53e71306438a399588 (diff) | |
download | puppet-f48f14ab4df7c2d3e327b3317503a181cbe13ecb.tar.gz puppet-f48f14ab4df7c2d3e327b3317503a181cbe13ecb.tar.xz puppet-f48f14ab4df7c2d3e327b3317503a181cbe13ecb.zip |
fixing behaviour when files are missing
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@706 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/type/pfile.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type/pfile.rb b/lib/puppet/type/pfile.rb index 8dbdcc541..980c83fdd 100644 --- a/lib/puppet/type/pfile.rb +++ b/lib/puppet/type/pfile.rb @@ -697,14 +697,14 @@ module Puppet args.delete(:owner) end - Puppet.notice "returning describe args %s" % args.inspect return args end def retrieve sum = nil - unless @stats = self.describe + @stats = self.describe + if @stats.nil? or @stats[:type].nil? @is = :notdescribed return nil end |