cookbook 'blackfire', '= 1.0.4'
blackfire (10) Versions 1.0.4 Follow7
Installs and configures Blackfire.io stack
cookbook 'blackfire', '= 1.0.4', :supermarket
knife supermarket install blackfire
knife supermarket download blackfire
Chef cookbook for Blackfire
Description
Chef cookbook for blackfire.
Usage
blackfire::default
Just include blackfire
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[blackfire]" ] }
And override this 2 attributes with your own credentials:
node['blackfire']['agent']['server-id'] = 'my_server_id' node['blackfire']['agent']['server-token'] = 'my_server_token'
You can avoid to add the blackfire official apt-repository:
node['blackfire']['install_repository'] = false
Tests
To launch tests, you need to use your server-id
& server-token
as it's
mandatory to start the blackfire agent.
Supermarket share
You need stove to publish the cookbook on
supermarket. Once it's done use rake publish
License & Authors
- Author:: Olivier Dolbeau (odolbeau@gmail.com)
Copyright 2014, Olivier Dolbeau 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
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
v1.0.4
- Correct
only_if
- Add chefspec
v1.0.3
- Add an attribute to avoid the repository installation.
- Create CHANGELOG
v1.0.2
- Correct version
v1.0.1
- Remove
sensio-profiler
name.
v1.0.0
- Initial release
- Use stove for deployment on supermarket
Foodcritic Metric
1.0.4 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/68ea326c9d3c5403896ba182/blackfire/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/68ea326c9d3c5403896ba182/blackfire/metadata.rb:1
1.0.4 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/68ea326c9d3c5403896ba182/blackfire/metadata.rb:1