Skip to content

Instantly share code, notes, and snippets.

@alexw23
Created November 22, 2012 03:55
Show Gist options
  • Save alexw23/4129370 to your computer and use it in GitHub Desktop.
Save alexw23/4129370 to your computer and use it in GitHub Desktop.
#envrionments/dev_au.rb
default_attributes ({
"apache2" => { "listen_ports" => [ "8080" ] }
})
#cookbook/attributes/default.rb
default['apache2']['listen_ports'] = 80
Chef::Log.info(node['apache2']['listen_ports']) ----- 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment