[chef] data_bag_key not created on the target node - (knife solo cook)


Chronological Thread 
  • From: niristotle okram < >
  • To:
  • Subject: [chef] data_bag_key not created on the target node - (knife solo cook)
  • Date: Mon, 15 Jun 2015 15:49:15 -0700

hi, 

How do you guys configure the knife.rb to ensure that the secret key for the data_bag is created in the '/home/user/chef-solo/' dir??

Below is what i have now and is failing to create the file on the node

:.chef [master] $ cat knife.rb 
node_path     "nodes"
role_path     "roles"
environments_path "environments"
data_bag_path "data_bags"
#encrypted_data_bag_secret "/home/chef/keys/my_databag_secret.key"
knife[:secret_file] =  "../../../keys/my_databag_secret.key"




The key file is at ../../../keys/my_databag_secret.key", but the "knife solo cook " fails to create one. I have manually create the file. 




thanks


  • [chef] data_bag_key not created on the target node - (knife solo cook), niristotle okram, 06/15/2015

Archive powered by MHonArc 2.6.16.

§