Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How to bootstrap aws ec2 instances setting hostname?

$
0
0
Trying to solve the chicken-egg problem using puppet-aws module. Simply, how can deploy agents of different node types, having them provisioned by the puppet master correctly? I would like to set a unique hostname within the instance declaration, but that seems not possible. I can provide a template as user-data, but I don't like to duplicate the template file with instance-specific data. What would be the recommended way of bootstrapping ec2 instances and solving my issue with different node types recognized by the puppet master? Btw, I am using puppet non-enterprise and the official Amazon RHEL-based AMI. Facter is not installed.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>