Last active
August 29, 2015 14:11
-
-
Save trekr5/333cdc499ce88a0972ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data1 = ridley.data_bag.create(name: "eight") | |
data.item.create(id: "credentials --secret-file .chef/encrypted_data_bag_secret", | |
user: "stone", | |
password: "kite" | |
) | |
# i get an error of undefined local variable or mathod 'secret' | |
#I also tried: | |
data1 = ridley.data_bag.create(name: "eight") | |
data.item.create(id: "credentials" --secret-file .chef/encrypted_data_bag_secret, | |
user: "stone", | |
password: "kite" | |
) | |
ridley = Ridley.new( | |
server_url: "http://127.0.0.1:8889" # using chef-zero for testing | |
client_name: "ace67", | |
client_key: ".chef/ace67.pem", | |
ssl: {verify: false}, | |
encrypted_data_bag_secret: "./chef/encrypted_data_bag_secret" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment