18 | | This plugin relies heavily upon [http://boto.cloudhackers.com/ boto] and [https://github.com/coderanger/pychef pychef]. Special thanks to coderanger for his responsiveness on PyChef. |
| 19 | This plugin relies heavily upon [http://boto.cloudhackers.com/ boto] and [https://github.com/coderanger/pychef pychef]. Special thanks to coderanger for his responsiveness on pychef. |
| 20 | |
| 21 | |
| 22 | == Configuration == |
| 23 | 1. Install the plugin (after downloading and unzipping): |
| 24 | {{{ |
| 25 | cd cloudplugin/0.12 |
| 26 | sudo python setup.py bdist_egg |
| 27 | sudo cp dist/TracCloud*.egg /your/trac/location/plugins/ |
| 28 | }}} |
| 29 | |
| 30 | See [http://trac.edgewall.org/wiki/TracPlugins TracPlugins] for more installation details and options. You'll likely need to restart Trac's web server after installation. |
| 31 | |
| 32 | 2. Enable the plugin in {{{trac.ini}}}: |
| 33 | {{{ |
| 34 | [components] |
| 35 | cloud.* = enabled |
| 36 | }}} |
| 37 | |
| 38 | You can alternatively use the Trac Web Admin GUI to enable any or all rules. |
| 39 | |
| 40 | 3. Configure the main {{{trac.ini}}} section: |
| 41 | {{{ |
| 42 | [cloud] |
| 43 | label = Cloud |
| 44 | aws_key = xxxxxxxxxxxxx |
| 45 | aws_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| 46 | aws_keypair = xxxxxxxxxxxx |
| 47 | chef_instancedata_file = /path/to/instance-data.json |
| 48 | chef_base_path = /home/me |
| 49 | boto_field_node_name = id |
| 50 | default_droplet = instance |
| 51 | }}} |
| 52 | |
| 53 | |
| 54 | See the examples section [wiki:CloudPlugin#Examples below] for how to specify rules. |
| 55 | |