cookbook 'teamforge-tools', '~> 0.1.0'
teamforge-tools (1) Versions 0.1.0 Follow1
Installs/Configures teamforge-tools
cookbook 'teamforge-tools', '~> 0.1.0', :supermarket
knife supermarket install teamforge-tools
knife supermarket download teamforge-tools
teamforge-tools Cookbook
TODO: This cookbook is for manipulating teamforge tools. It DOES NOT install TeamForge, Subversion or any software products.
Requirements
TODO: This cookbook makes extensive use of Ruby savon for creating and manipulating SOAP responses. This gem should automatically be installed when this package is installed but if it doesn't...
To operate this package requires three things: TeamForge url, username and password. It's recommended that you use an encryted data bag... but not required. They are passed as attributes.
% knife data bag show YOUR_RECIPE main
{
"id": "main",
"teamforge_url": "http://TEAMFORGE_URL",
"teamforge_username": "YOUR_USERNAME",
"teamforge_password": "YOUR_PASSWORD"
}
This can be loaded in a recipe with:
creds = data_bag_item("YOUR_RECIPE"", "main")
And to access the values:
creds['teamforge_url']
creds['teamforge_username']
Usage
teamforge-tools::default
Just include teamforge-tools
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[teamforge-tools]" ] }
Currently only create and update for TeamForge Tracker artifacts is supported but more is hopefully on the way.
Example Usage
teamforge_tools_artifact "tracker1428" do
action :create
teamforge_url "https://teamforge_website"
teamforge_username "benfranklin"
teamforge_password "lightening"
title "Test Artifact"
description "Test Description"
status "Pending"
end
teamforge_tools_artifact "artf97879" do
action :update
teamforge_url "https://teamforge_website"
teamforge_username "benfrankline"
teamforge_password "lightening"
status "Pending"
estimated_hours 10
comment "This is a great comment from Old Ben"
end
License and Authors
Authors: Brent McConnell
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 failed this metric
FC016: LWRP does not declare a default action: teamforge-tools/resources/artifact.rb:1
FC064: Ensure issues_url is set in metadata: teamforge-tools/metadata.rb:1
FC065: Ensure source_url is set in metadata: teamforge-tools/metadata.rb:1
FC066: Ensure chef_version is set in metadata: teamforge-tools/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: teamforge-tools/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 failed this metric
FC016: LWRP does not declare a default action: teamforge-tools/resources/artifact.rb:1
FC064: Ensure issues_url is set in metadata: teamforge-tools/metadata.rb:1
FC065: Ensure source_url is set in metadata: teamforge-tools/metadata.rb:1
FC066: Ensure chef_version is set in metadata: teamforge-tools/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: teamforge-tools/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: teamforge-tools/metadata.rb:1
FC065: Ensure source_url is set in metadata: teamforge-tools/metadata.rb:1
FC066: Ensure chef_version is set in metadata: teamforge-tools/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: teamforge-tools/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number