Brian Carpio
2012-May-15 21:17 UTC
[Puppet Users] Specifying Puppet Modules For EC2 Instances
Currently I am using ec2-run-instances to deploy Ubuntu instances to EC2. I am also calling a user-data-file to install puppet and make sure puppet registeres with the right puppetmaster, that is all working great, the default puppet modules are applied... However, is there a way from the node in the user-data-file to actually specify which "other" or application specific modules I''d like to apply to my instance? Or do I have to wait for the node to build then define it in my nodes.pp file? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Bill Fraser
2012-May-16 18:47 UTC
Re: [Puppet Users] Specifying Puppet Modules For EC2 Instances
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I recommend reading Mathias Gug''s blog posts about Puppet support for UEC/EC2 in Ubuntu images, as it describes in detail the process you''re working through. http://ubuntumathiaz.wordpress.com/2010/03/24/using-puppet-in-uecec2-puppet-support-in-ubuntu-images/ https://ubuntumathiaz.wordpress.com/2010/03/25/using-puppet-in-uecec2-automating-the-signing-process/ http://ubuntumathiaz.wordpress.com/2010/04/07/using-puppet-in-uecec2-node-classification-4/ Specifically, it covers using a Python script to launch an instance, creating and storing the instance''s SSL certificate and node definitions in an S3 bucket, automating signing of the SSL certificate, and using another Python script as a node classifier to retrieve the node''s definition from the S3 bucket. Regards, Bill On 12-05-15 05:17 PM, Brian Carpio wrote:> Currently I am using ec2-run-instances to deploy Ubuntu instances > to EC2. I am also calling a user-data-file to install puppet and > make sure puppet registeres with the right puppetmaster, that is > all working great, the default puppet modules are applied... > > However, is there a way from the node in the user-data-file to > actually specify which "other" or application specific modules I''d > like to apply to my instance? Or do I have to wait for the node to > build then define it in my nodes.pp file? >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+z9jsACgkQ5xgg9J6hpUs0yQCfcB6BWHpw7F81EeZeONPqt9x/ lT8AnA91DYJeQ6EhHZWFAZV2YrpzWBYs =yoOD -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.