This file contains hidden or 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
| #!/usr/bin/ruby | |
| ## | |
| # Classifies a puppet node based on its EC2 security group. | |
| # Requires the AWS gem. | |
| # Also requires a node_groups.yml file which specifies security groups | |
| # and the classes/params that should be applied, in the following | |
| # format (additionally keyed by security group name). | |
| # http://docs.puppetlabs.com/guides/external_nodes.html | |
| # |
This file contains hidden or 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
| #!/usr/bin/perl | |
| # mirrored from: http://ipod.com/init | |
| # version 1.1 | |
| # if the host+path are in matrix then the redirect is to a single location | |
| # if just the host is in matrix then the redirect is to host+the request uri | |
| # nwk-productred 17.149.160.28 & 17.172.224.28 | |
| # | |
| # to distibute this file us /usr/local/scr/distfilex |