puppetlabs/puppetlabs-cloud_provisioner — pull request #133 by arkadijs (2014-02-19 23:30:39+00:00)
Title: Various fixes for Fedora and AWS->AWS bootstrap

Nothing works by default for AWS->AWS bootstrap (in the same region, with Fedora hosts).

Still, even after the proposed changes the bootstrap fails until I add the following to `auth.conf` on puppet master:
```
path /certificate_status
auth any
method find, save
allow_ip 172.31.8.223 # IP of the host performing 'puppet node_aws bootstrap'
```
with error:
```
Error: Signing certificate error: Error 403 on SERVER: Forbidden request: ip-172-31-8-223.eu-west-1.compute.internal(172.31.8.223) access to /certificate_status/ip-172-31-22-146.eu-west-1.compute.internal [save] authenticated at :113
```

The command is:
```
puppet node_aws bootstrap --install-script=puppet-community \
--keyfile=$HOME/.ssh/id_rsa --keyname=$keyname \
--image=$ami --volumesize=10 --login=fedora --region=$region --security-group=openshift --type=$machine \
--server=$internal --puppetagent-dflt-certname
```