简体   繁体   中英

In Puppet, on which node should I declare the puppetlabs-aws classes?

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM