I am generating a master token in Chef using the execute resource as below:
execute "extract_consul_key" do
command "consul keygen "
end
I want to store output of this command in a databag.
Please let me know what steps do I need to setup an encrypted databag and then store output of the above execute resource into that databag.
I am new to databags and don't possess any knowledge on it.
Aucun commentaire:
Enregistrer un commentaire