diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-07 06:47:10 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-07 06:47:10 +0000 |
commit | d4031312ecddc6fab15b5bc9693b8af0a23a57b8 (patch) | |
tree | ba48576ea294a4a72201a18e093bca4d6ce1537d /lib/puppet/server/fileserver.rb | |
parent | f6f72f2288e3e3427abf0883a7ec507becc90f08 (diff) | |
download | puppet-d4031312ecddc6fab15b5bc9693b8af0a23a57b8.tar.gz puppet-d4031312ecddc6fab15b5bc9693b8af0a23a57b8.tar.xz puppet-d4031312ecddc6fab15b5bc9693b8af0a23a57b8.zip |
Merging the state-rename branch. This includes the diff from version 2156 to 2168. All states should now be properties, with backward compatibility for the types that restricted themselves to the methods.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2169 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/server/fileserver.rb')
-rwxr-xr-x | lib/puppet/server/fileserver.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/puppet/server/fileserver.rb b/lib/puppet/server/fileserver.rb index 2b91c8811..b541f2474 100755 --- a/lib/puppet/server/fileserver.rb +++ b/lib/puppet/server/fileserver.rb @@ -43,14 +43,14 @@ class Server desc = [] CHECKPARAMS.each { |check| - if state = obj.state(check) - unless state.is + if property = obj.property(check) + unless property.is mount.debug "Manually retrieving info for %s" % check - state.retrieve + property.retrieve end - desc << state.is + desc << property.is else - if check == "checksum" and obj.state(:type).is == "file" + if check == "checksum" and obj.property(:type).is == "file" mount.notice "File %s does not have data for %s" % [obj.name, check] end |