Sha256: 11f0c73da26961a2987f80b8c3b9c1c67d650e08b1d1f2f6f3ff37722de64e20

Contents?: true

Size: 243 Bytes

Versions: 533

Compression:

Stored size: 243 Bytes

Contents

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

Version data entries

533 entries across 533 versions & 4 rubygems

Version Path
chef-17.10.163-universal-mingw32 spec/data/cookbooks/angrybash/recipes/default.rb
chef-17.10.163 spec/data/cookbooks/angrybash/recipes/default.rb
knife-18.5.0 spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.5.0-x64-mingw-ucrt spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.5.0 spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.4.12-x64-mingw-ucrt spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.4.12 spec/data/cookbooks/angrybash/recipes/default.rb
chef-17.10.122-universal-mingw32 spec/data/cookbooks/angrybash/recipes/default.rb
chef-17.10.122 spec/data/cookbooks/angrybash/recipes/default.rb
chef-17.10.114-universal-mingw32 spec/data/cookbooks/angrybash/recipes/default.rb
chef-17.10.114 spec/data/cookbooks/angrybash/recipes/default.rb
knife-18.4.2 spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.4.2-x64-mingw-ucrt spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.4.2 spec/data/cookbooks/angrybash/recipes/default.rb
knife-17.10.95 spec/data/cookbooks/angrybash/recipes/default.rb
chef-17.10.95-universal-mingw32 spec/data/cookbooks/angrybash/recipes/default.rb
chef-17.10.95 spec/data/cookbooks/angrybash/recipes/default.rb
knife-18.3.0 spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.3.0-x64-mingw-ucrt spec/data/cookbooks/angrybash/recipes/default.rb
chef-18.3.0 spec/data/cookbooks/angrybash/recipes/default.rb