cookbook 'flower', '= 1.0.1'
flower (5) Versions 1.0.1 Follow1
Installs/Configures flower
cookbook 'flower', '= 1.0.1', :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.1
- First release with stove. Tagging conventions messed things up.
1.0.0
- Initial release of flower
Foodcritic Metric
1.0.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:45
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:46
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:49
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:58
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:60
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:61
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/templates/default/flower.conf.erb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/templates/default/flower.conf.erb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/templates/default/flowerconfig.py.erb:1
FC031: Cookbook without metadata file: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/metadata.rb:1
1.0.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/attributes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:45
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:46
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:49
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:58
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:60
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/recipes/default.rb:61
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/templates/default/flower.conf.erb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/templates/default/flower.conf.erb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/templates/default/flowerconfig.py.erb:1
FC031: Cookbook without metadata file: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/5bc1ea88cd7d1ec81f453be8/flower/metadata.rb:1