Skip to content

Instantly share code, notes, and snippets.

@akirasosa
Created August 29, 2013 04:31
Show Gist options
  • Save akirasosa/6374297 to your computer and use it in GitHub Desktop.
Save akirasosa/6374297 to your computer and use it in GitHub Desktop.
add encrypted_data_bag_secret to starter kit
openssl rand -base64 512 > .chef/encrypted_data_bag_secret
echo 'encrypted_data_bag_secret "#{current_dir}/encrypted_data_bag_secret"' >> .chef/knife.rb
# knife bootstrap myhost -x user -N node-name -r 'role[somerole]' --sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment