lib/cap-rightscale/recipes/rs_cache.rb in cap-rightscale-0.0.5 vs lib/cap-rightscale/recipes/rs_cache.rb in cap-rightscale-0.0.6
- old
+ new
@@ -1,13 +1,13 @@
+desc "Alias cache:clear"
+task :rs_cc do
+ rs_cache.clear
+end
+
desc "Clear rightscale's server list cache"
namespace :rs_cache do
task :clear do
puts "Clear cache all"
pp Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*")
FileUtils.rm(Dir.glob("#{Dir.tmpdir}/cap-rightscale-*/*"), {:force => true})
- end
-
- desc "Alias cache:clear"
- task :cc do
- clear
end
end