diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-10-02 14:23:07 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-10-02 14:23:07 -0700 |
commit | cdd43e77db271c2accda73f94efa59358b900dfe (patch) | |
tree | 637eca3bbf1b4f18d9a3b7a4996c2545ebff9112 /lib/chef/client.rb | |
parent | 253e0c0094c6acc2ed83baacbbb2beb88c743a66 (diff) | |
download | chef-cdd43e77db271c2accda73f94efa59358b900dfe.tar.gz |
Updating example recipes and improving log output
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r-- | lib/chef/client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb index ace031fb5e..c8ab31eed7 100644 --- a/lib/chef/client.rb +++ b/lib/chef/client.rb @@ -175,7 +175,7 @@ class Chef end if changed - Chef::Log.debug("Storing updated #{cache_file}") + Chef::Log.info("Storing updated #{cache_file} in the cache.") Chef::FileCache.move_to(raw_file.path, cache_file) end end @@ -183,7 +183,7 @@ class Chef Chef::FileCache.list.each do |cache_file| if cache_file.match("cookbooks/.+?/#{segment}") unless file_canonical[cache_file] - Chef::Log.info("Removing #{cache_file}, as it is no longer a valid.") + Chef::Log.info("Removing #{cache_file} from the cache; it is no longer on the server.") Chef::FileCache.delete(cache_file) end end |