cookbook 'butterfly', '= 0.2.0'
butterfly (4) Versions 0.2.0 Follow1
Installs/Configures butterfly
cookbook 'butterfly', '= 0.2.0', :supermarket
knife supermarket install butterfly
knife supermarket download butterfly
butterfly Cookbook |
Installs/Configures butterfly on your server!
Requirements
cookbooks
poise-python
Platforms
The following platforms and versions are tested and supported using Opscode's test-kitchen:
- Ubuntu 12.04
- Ubuntu 14.04
- Debian 7
- Debian 8
Attributes
butterfly::default
Key | Type | Description |
---|---|---|
[butterfly][packages] |
Array | Required packages (default: [libffi-dev python-openssl]) |
[butterfly][version] |
String | Butterfly package version (default: nil) |
[butterfly][python] |
String | Python runtime to use (default: 2) |
[butterfly][config] |
Hash | Butterfly configuration |
Usage
butterfly::default
Just include butterfly
in your node's run_list
to install butterfly
pip package:
{ "name":"my_node", "run_list": [ "recipe[butterfly]" ] }
butterfly::libsass
Just include butterfly::libsass
in your node's run_list
to install libsass
pip package (for themes support):
{ "name":"my_node", "run_list": [ "recipe[butterfly::libsass]" ] }
butterfly::systemd
Include butterfly::systemd
in your node's run_list
to setup butterfly
service:
{ "name":"my_node", "run_list": [ "recipe[butterfly::systemd]" ] }
Testing
You can use rake
to invoke testing tasks (See Rakefile
for details):
Checkstyle
$ rake test:checkstyle
Will run foodcritic
and rubocop
.
Chefspec
$ rake test:chefspec
Will run unit tests with ChefSpec
.
Kitchen
$ rake test:kitchen
Will test all kitchen instances declared in .kitchen.yml
.
Docker driver is used for integration testing with test-kitchen
. You will need to have docker
installed to run integration testing, or adapt the existing .kitchen.yml
for your driver.
$ kitchen list
$ kitchen test [instance]
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: Sliim sliim@mailoo.org
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
poise-python >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
butterfly CHANGELOG
This file is used to list changes made in each version of the butterfly cookbook.
0.2.0
- Use poise-python cookbook instead of python
- Minor fixes
0.1.0
- Initial release of butterfly
Foodcritic Metric
0.2.0 passed this metric
0.2.0 passed this metric