Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
expand unattended upgrades to more servers
Browse files Browse the repository at this point in the history
everything except db/redis in production
dwradcliffe committed Jun 10, 2015
1 parent e9d69a0 commit 57d3fc7
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -249,7 +249,7 @@ GRAPH
sudo (>= 0.0.0)
unicorn (>= 0.0.0)
user (>= 0.0.0)
rubygems-apt (0.0.19)
rubygems-apt (0.0.20)
apt (>= 0.0.0)
rubygems-backups (0.0.21)
chef-vault (>= 0.0.0)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-apt/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name 'rubygems-apt'
maintainer 'RubyGems.org ops team'

version '0.0.19'
version '0.0.20'

depends 'apt'

2 changes: 1 addition & 1 deletion cookbooks/rubygems-apt/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -22,5 +22,5 @@
cookbook_file '/etc/apt/apt.conf.d/50unattended-upgrades'

template '/etc/apt/apt.conf.d/20auto-upgrades' do
variables(enabled: node.chef_environment != 'production')
variables(enabled: !node['fqdn'].match(/^(db|redis)\d+.production.rubygems.org$/))
end

0 comments on commit 57d3fc7

Please sign in to comment.