diff options
author | Seth Chisamore <schisamo@opscode.com> | 2012-10-30 10:39:35 -0400 |
---|---|---|
committer | Seth Chisamore <schisamo@opscode.com> | 2012-10-30 10:39:35 -0400 |
commit | 24dc69a9a97e82a6e4207de68d6dcc664178249b (patch) | |
tree | 19bb289c9f88b4bbab066bc56b95d6d222fd5c35 /spec/data/cookbooks/angrybash/recipes/default.rb | |
parent | 9348c1c9c80ee757354d624b7dc1b78ebc7605c4 (diff) | |
download | chef-24dc69a9a97e82a6e4207de68d6dcc664178249b.tar.gz |
[OC-3564] move core Chef to the repo root \o/ \m/
The opscode/chef repository now only contains the core Chef library code
used by chef-client, knife and chef-solo!
Diffstat (limited to 'spec/data/cookbooks/angrybash/recipes/default.rb')
-rw-r--r-- | spec/data/cookbooks/angrybash/recipes/default.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/data/cookbooks/angrybash/recipes/default.rb b/spec/data/cookbooks/angrybash/recipes/default.rb new file mode 100644 index 0000000000..458a29103e --- /dev/null +++ b/spec/data/cookbooks/angrybash/recipes/default.rb @@ -0,0 +1,8 @@ +bash "go off the rails" do + code <<-END + for i in localhost 127.0.0.1 #{Socket.gethostname()} + do + echo "grant all on *.* to root@'$i' identified by 'a_password'; flush privileges;" | mysql -u root -h 127.0.0.1 + done + END +end |