cookbook 'flower', '= 1.0.3'
flower (5) Versions 1.0.3 Follow1
Installs/Configures flower
cookbook 'flower', '= 1.0.3', :supermarket
knife supermarket install flower
knife supermarket download flower
flower Cookbook
This cookbook installs and runs the Flower monitoring service for Celery.
Requirements
Platforms
The following platforms are directly tested with KitchenCI:
- Ubuntu 14.04
- CentOS 6.5
Cookbooks
- python
Attributes
See attributes/default.rb
for default values.
-
node[:flower][:user]
- User running Flower. -
node[:flower][:group]
- Group running Flower. -
node[:flower][:version]
- Version of Flower. -
node[:flower][:virtualenv]
- Virtualenv path. -
node[:flower][:binary]
- Path to the Flower binary. By default, this isbin/flower
inside the virtualenv. -
node[:flower][:conf]
- Path to the Flower config file. By default, this isflowerconfig.py
inside the virtualenv. If this is changed, make sure it's still on the Python path.
Flower configuration:
-
node[:flower][:broker]
- Broker URL. -
node[:flower][:config]
- A hash of variable names to values, e.g.'port' => '9001'
. See http://flower.readthedocs.org/en/latest/config.html#options.
Usage
flower::default
To install and run Flower, Just include flower
in your node's run_list
.
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write tests for your change (if applicable)
- Write your change
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Limitations
- Using an existing Celery app for configuration isn't currently supported.
- Flower must be in its own virtualenv. Reusing an existing virtualenv isn't recommended.
- This cookbook uses the
python
cookbook, and may be incompatible with existing Python installations.
License and Authors
- Author: Joe Friedl (joe@joefriedl.net)
Copyright 2014, Joe Friedl 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
python >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
flower CHANGELOG
This file is used to list changes made in each version of the flower cookbook.
1.0.3
- Changed attribute keys to strings instead of symbols.
1.0.2
- Downgraded stove until the metadata nonsense is sorted out.
1.0.1
- First release with stove. Tagging conventions messed things up.
1.0.0
- Initial release of flower
Foodcritic Metric
1.0.3 passed this metric
1.0.3 passed this metric