0

If I want to use the puppetlabs-aws module to create Amazon AWS instances, on which node in my puppet hierarchy should I declare those classes? Obviously I can't declare them on the nodes that I'm about to create, so where, then? When and how does the manifest get applied?

Chris Owens
  • 1,107
  • 1
  • 10
  • 15
  • You would run the infrastructure provisioning from a bootstrap (probably master) and the software provisioning on the node. But really you should do the infra prov with Terraform instead. – Matthew Schuchard Feb 17 '17 at 13:38

1 Answers1

0

It doesn't matter where the manifest runs. You could puppet apply the manifests in your local dev environment as a quick way to get started. In a production environment, you might alternatively have a dedicated node that is classified as your "provisioner" where you choose to run manifests from. There's nothing preventing you from classifying your existing Puppet Master as the "provisioner" either.

jabutee
  • 36
  • 3