Skip to content

Commit

Permalink
Merge pull request #60 from legal90/fix_leases_default
Browse files Browse the repository at this point in the history
Fix default value of "leases" attribute
  • Loading branch information
Ginja committed May 17, 2016
2 parents d61f45b + 22c88a8 commit 3c436b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/vault_secret.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def config
notifying_block do
run_context.include_recipe 'hashicorp-vault::gems'

node.default_unless['hashicorp-vault']['leases'] = []
node.default_unless['hashicorp-vault']['leases'] = {}
lease_id = node['hashicorp-vault']['leases'][new_resource.path]

begin
Expand Down

0 comments on commit 3c436b0

Please sign in to comment.