Created
January 24, 2014 19:08
-
-
Save ampledata/8603931 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok, trying to come up with a strategy here. I need to setup a subdomain for staging, based on your suggestion here's what I'm thinking: | |
dns_rr_creator 'create DNS RR for our server based on env' do | |
rr [node.chef_environment, node['site']].join('.') | |
ip node['ip_address'] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ya, thats basically what I've done too. The only tricky part is 'ip_address' as that can be.. a pain especially if you are on EC2 or Rackspace. You need to make sure you pick the right one =)