You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@martinb3 the problem is that the key is not available at compile time, so a new random password is generated even if later on (at converge time) the key is present. To make it work I need to do something like this:
ruby_block 'revision' do
block do
node.run_state['elkstack_kibana_password'] = 'test'
end
end.run_action(:run)
But then I cannot use an attribute in my recipe to define the password. It seems that attributes are still not available when the resource is executed at compile time.
Reading comments at issue #99 it seems that a standard attribute is not an option. Any ideas on how to fix this? I may provide a pull request for this but need some guidance.
@hhoover Kibana Auth seems to generate a random password even if node[elkstack_kibana_password] is present and defined.
The text was updated successfully, but these errors were encountered: