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.
↧