Skip to content

Instantly share code, notes, and snippets.

@jaqque
Created October 2, 2013 22:13
Show Gist options
  • Save jaqque/6801280 to your computer and use it in GitHub Desktop.
Save jaqque/6801280 to your computer and use it in GitHub Desktop.
default.rb:
salt_data = 'this is ridiculous'
ruby_block 'fetch-salt-data' do
block do
salt_data = File.read(wp_secrets)
puts "Hay! Look! Salt_data!"
puts "#{salt_data}"
end
action :create
end
chef-solo:
* ruby_block[fetch-salt-data] action createHay! Look! Salt_data!
define('AUTH_KEY', ...etc
wp-config.php:
define('DB_COLLATE', '');
this is ridiculous
$table_prefix = 'wp_';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment