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

Commit

Permalink
Create /etc/chef/client.d before trying to use it
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Kottler committed Jul 13, 2014
1 parent 3493297 commit b0b1c69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Expand Up @@ -218,7 +218,7 @@ GRAPH
rubygems-cache (0.0.1)
memcached (>= 0.0.0)
rubygems (>= 0.0.0)
rubygems-chef (0.0.10)
rubygems-chef (0.0.12)
chef-client (>= 0.0.0)
omnibus_updater (>= 0.0.0)
rubygems-ci (0.0.7)
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-chef/metadata.rb
@@ -1,7 +1,7 @@
name 'rubygems-chef'
maintainer 'RubyGems.org ops team'

version '0.0.10'
version '0.0.12'

depends 'chef-client'
depends 'omnibus_updater'
Expand Down
2 changes: 2 additions & 0 deletions cookbooks/rubygems-chef/recipes/librato.rb
Expand Up @@ -6,6 +6,8 @@
include_recipe 'chef-vault'
librato_creds = chef_vault_item('librato', 'credentials')

directory '/etc/chef/client.d'

chef_gem 'chef-handler-librato'

template '/etc/chef/client.d/librato.rb' do
Expand Down

0 comments on commit b0b1c69

Please sign in to comment.