recipiez 0.6.19 → 0.6.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.6.19'
2
+ VERSION = '0.6.20'
3
3
  end
data/recipes/logrotate.rb CHANGED
@@ -10,6 +10,8 @@ Capistrano::Configuration.instance(true).load do
10
10
  puts generated
11
11
  put generated, "#{application}"
12
12
  sudo "mv #{application} /etc/logrotate.d/#{application}"
13
+ sudo "chown root:root /etc/logrotate.d/#{application}"
14
+ sudo "chmod 644 /etc/logrotate.d/#{application}"
13
15
  end
14
16
 
15
17
  desc "Configure logrotate for high traffic apps on EC2"
@@ -23,6 +25,8 @@ Capistrano::Configuration.instance(true).load do
23
25
  puts generated
24
26
  put generated, "#{application}"
25
27
  sudo "mv #{application} /etc/logrotate.d/#{application}"
28
+ sudo "chown root:root /etc/logrotate.d/#{application}"
29
+ sudo "chmod 644 /etc/logrotate.d/#{application}"
26
30
  end
27
31
  end
28
32
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 19
9
- version: 0.6.19
8
+ - 20
9
+ version: 0.6.20
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2014-09-09 00:00:00 +02:00
17
+ date: 2014-09-21 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency