Created
August 5, 2014 09:14
-
-
Save btisdall/7f25a17c0afffa0a71ef 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
+ "Metadata": { | |
+ "AWS::CloudFormation::Init" : { | |
+ "config": { | |
+ "files": { | |
+ "/opt/puppet/facts.d/mongodb": { | |
+ "content": { "Fn::Join": ["=", [ { "Fn::Join": [".", [ | |
+ "mongo1", | |
+ {"Ref": "Environment"}, | |
+ {"Ref": "AWS::StackName"}, | |
+ {"Ref": "HostedZoneName"} | |
+ ]] } ]] | |
+ } | |
+ } | |
+ } | |
+ } | |
+ } | |
+ }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment