cookbook 'devstack', '= 0.1.0', :supermarket
devstack (4) Versions 0.1.0 Follow0
Installs/Configures devstack
cookbook 'devstack', '= 0.1.0'
knife supermarket install devstack
knife supermarket download devstack
devstack Cookbook
This cookbook installs OpenStack's DevStack product. Checks out latest version from DevStack Github repo.
Requirements
Required Cookbooks
-
git
- devstack needs git to check out DevStack install files from github.
Attributes
devstack::default
<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['devstack']['user']</tt></td> <td>String</td> <td>User to install DevStack files (can't be root)</td> <td><tt>node["etc"]["current_user"]</tt></td> </tr> <tr> <td><tt>['devstack']['install_path']</tt></td> <td>String</td> <td>Path to clone DevStack git repo.</td> <td><tt>/home/#{node[:devstack][:user]}/devstack</tt></td> </tr> <tr> <td><tt>['devstack']['localrc']['admin_password']</tt></td> <td>String</td> <td>Password for admin. Stores in localrc.</td> <td><tt>nomoresecrete</tt></td> </tr> <tr> <td><tt>['devstack']['localrc']['mysql_password']</tt></td> <td>String</td> <td>Password for MySQL. Stores in localrc.</td> <td><tt>stackdb</tt></td> </tr> <tr> <td><tt>['devstack']['localrc']['rabbit_password']</tt></td> <td>String</td> <td>Password for RabbitMQ. Stores in localrc.</td> <td><tt>stackqueue</tt></td> </tr> <tr> <td><tt>['devstack']['localrc']['service_password']</tt></td> <td>String</td> <td>Password for services. Stores in localrc.</td> <td><tt>nomoresecrete</tt></td> </tr> <tr> <td><tt>['devstack']['localrc']['log_path']</tt></td> <td>String</td> <td>Where to store DevStack logs. Stores in localrc.</td> <td><tt>/opt/stack/logs/stack.sh.log</tt></td> </tr> <tr> <td><tt>['devstack']['localrc']['screen_log_path']</tt></td> <td>String</td> <td>Where to store DevStack Screen logs. Stores in localrc.</td> <td><tt>/opt/stack/logs</tt></td> </tr> </table>
Usage
devstack::default
Just include devstack
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[devstack]"
]
}
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Spencer Smith
Dependent cookbooks
git >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.