Created
December 11, 2012 12:57
-
-
Save oscarrenalias/4258354 to your computer and use it in GitHub Desktop.
Using Puppet to provision instances from EC2 and automatically install Puppet agent on them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
puppet node_aws bootstrap \ | |
--debug \ | |
--image ami-c1aaabb5 \ | |
--keyname 'puppet_provisioner' \ | |
--type 'm1.small' \ | |
--region eu-west-1 \ | |
--security-group puppet-clients \ | |
--login ubuntu \ | |
--keyfile ~/.ssh/id_rsa \ | |
--certname <<CERTNAME>> \ | |
--server <<PUPPET MASTER SERVER>> \ | |
--node-group=test_group \ | |
--enc-server=localhost \ | |
--enc-port=443 \ | |
--enc-ssl \ | |
--enc-auth-user=stefberg1@gmail.com \ | |
--enc-auth-passwd=secret_password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment