lp:~eythian/+junk/ec2facts
Puppet [0] isn't very suited to the standard EC2 [1] setup, as it likes things like servers having unique names. This script is a facter plugin [2,3] that will add any key-value pairs you put in the EC2 instance user data to the list of facts provided by Facter to puppet. This can then be used to provide a puppet configuration tuned for whatever options you like, all coming from one EC2 image. It also adds the instance ID of the current instance to the facts.
More scripts are being added, there is now one to allow easier access of S3 resources from puppet.
[0] http://
[1] http://
[2] http://
[3] http://
- Get this branch:
- bzr branch lp:~eythian/+junk/ec2facts
Branch information
- Owner:
- Robin Sheat
- Status:
- Mature
Recent revisions
- 10. By Robin Sheat
-
Added s3url, which generates signed URLs in a scriptable fashion. Updated both scripts to be able to use a file which contains the S3 keys, rather than requiring them to be on the command line.
- 6. By Robin Sheat
-
Refactored: now contains more than just facts, also includes script to check if a file on the local system is up-to-date compared with S3.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)