Skip to content

Commit

Permalink
Add flag to disable timezone-ii convergence
Browse files Browse the repository at this point in the history
Due to L2G/timezone-ii#33, we need to be able to turn off that recipe.
  • Loading branch information
martinb3 committed Jul 11, 2016
1 parent 82a2f05 commit 6c2784f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions attributes/locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
#

default['platformstack']['locale'] = 'en_US.UTF-8'
default['platformstack']['timezone-ii']['enabled'] = true
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
block do
run_context.include_recipe('platformstack::locale')
run_context.include_recipe('ntp')
run_context.include_recipe('timezone-ii')
run_context.include_recipe('timezone-ii') if node['platformstack']['timezone-ii']['enabled'] == true
run_context.include_recipe('auto-patch')
unless Chef::Config[:solo] == true
run_context.include_recipe('chef-client::delete_validation')
Expand Down

0 comments on commit 6c2784f

Please sign in to comment.