This cookbook makes chef editing environment that contain knife and librarian-chef.
git
- auto install by source for management cookbooks.
chef
- auto install by gem for knife command.
Key | Type | Description | Default |
---|---|---|---|
['chefenv']['user'] | string | owner user ID | 'root' |
['chefenv']['dotchefpath'] | string | '.chef' directory's absolute path | '$HOME/.chef' |
['chefenv']['node_name'] | string | node name | ENV['USER'] |
['chefenv']['chef_server_url'] | string | URL for chef server | 'http:/localhost:4000' |
['chefenv']['copyright'] | string | owner name | 'cookbook' |
['email']['email'] | string | owner's email address | '[email protected]' |
['chefenv']['license'] | string | Lisence | 'apachev2' |
Just include chefenv
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[chefenv]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Takayuki Shimizukawa License: Apache 2.0