Skip to content

Instantly share code, notes, and snippets.

@btisdall
Created August 5, 2014 09:14
Show Gist options
  • Save btisdall/7f25a17c0afffa0a71ef to your computer and use it in GitHub Desktop.
Save btisdall/7f25a17c0afffa0a71ef to your computer and use it in GitHub Desktop.
+ "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