Sha256: 48ae61515fa8fbd73f4bcda3b0acb30596f808266c4ec59bec241a9625f95001
Contents?: true
Size: 398 Bytes
Versions: 13
Compression:
Stored size: 398 Bytes
Contents
namespace :rightscale do desc "Alias cache:clear" task :cc do cache.clear end desc "Clear rightscale's server list cache" namespace :cache do task :clear do logger.info("Clear cache all") pp Dir.glob("#{Dir.tmpdir}/cap-rightscale-#{ENV['USER']}-*/*") FileUtils.rm(Dir.glob("#{Dir.tmpdir}/cap-rightscale-#{ENV['USER']}-*/*"), {:force => true}) end end end
Version data entries
13 entries across 13 versions & 1 rubygems