Skip to content

Instantly share code, notes, and snippets.

@krisr
Created October 21, 2009 23:18
Show Gist options
  • Save krisr/215570 to your computer and use it in GitHub Desktop.
Save krisr/215570 to your computer and use it in GitHub Desktop.
ruby_block do
resource = resource("mysql_user:foo")
resource.server_ip = wait_for_server_ip
end
mysql_user "foo" do
server_ip nil
....
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment