itrigga-cap_deploy 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.3
@@ -95,7 +95,7 @@ configuration.load do
95
95
 
96
96
  task :regenerate_logrotate do
97
97
  puts "regenerating logrotate config file"
98
- run "(test -d #{web_dir}/config/log_rotate && #{sudo} rm #{web_dir}/config/log_rotate/* )"
98
+ run "(test -d #{web_dir}/config/log_rotate && #{sudo} rm #{web_dir}/config/log_rotate/* ) || echo 'no existing config to remove'"
99
99
  run "cd #{web_dir} && ruby script/generate logrotate"
100
100
  puts "setting permissions & ownership on logrotate config files"
101
101
  run "#{sudo} chmod 0700 #{web_dir}/config/log_rotate/* && #{sudo} chown root #{web_dir}/config/log_rotate/*"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itrigga-cap_deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Al Davidson