Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Add admin to MySQL data bags to allow reinstalling machines by having…
Browse files Browse the repository at this point in the history
… C-A-R add them to the vault
  • Loading branch information
cbaenziger committed Oct 5, 2018
1 parent 3fcf769 commit c86170c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/bcpc/recipes/mysql_data_bags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#

vault_admins =
get_all_nodes.map{ |x| x['fqdn'] }.compact.join(',')
get_all_nodes.map{ |x| x['fqdn'] }.compact.push('admin').join(',')

{
check: 'check',
Expand Down

0 comments on commit c86170c

Please sign in to comment.