Skip to content

Instantly share code, notes, and snippets.

@randomcamel
Created October 26, 2016 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save randomcamel/34a2b55d235c04b56e7dfc1b5e4fe2b4 to your computer and use it in GitHub Desktop.
Save randomcamel/34a2b55d235c04b56e7dfc1b5e4fe2b4 to your computer and use it in GitHub Desktop.
does this work?
# this creates an instance of the ::Ipaddr Chef resource, named "192.168.1.1"
ipaddr "192.168.1.1"
heartbeat "yeargh" do
<stuff>
# I *think* the "heartbeat" resource will take this and try to find a resource with that name.
resource_groups ["192.168.1.1"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment