Skip to content

Commit a4644b6

Browse files
committed
Use data_bag attribute in default recipe
1 parent 01a0db1 commit a4644b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

attributes/default.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
default['ssh_keys']['databag'] = 'ssh_keys'
1+
default['ssh_keys']['data_bag'] = 'ssh_keys'
22
default['ssh_keys']['users'] = []

recipes/default.rb

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
ssh_keys_key username do
33
authorized_keys user['authorized_keys']
44
authorized_users user['authorized_users']
5+
data_bag node['ssh_keys']['data_bag']
56
action :create
67
end
78
end

0 commit comments

Comments
 (0)