cookbook 'builder', '~> 0.1.4'
builder (3) Versions 0.1.4 Follow1
Building helpers
cookbook 'builder', '~> 0.1.4', :supermarket
knife supermarket install builder
knife supermarket download builder
Builder
A helper cookbooks for building things with Chef
Usage
Provides LWRPs to help DRY building things with Chef.
Attributes
- default[:builder][:build_dir] = '/usr/src/builder/sources'
- default[:builder][:packaging_dir] = '/usr/src/builder/packaging'
- default[:builder][:gem][:exec] = node[:languages][:ruby][:gem_bin]
LWRPs
builder_dir
builder_dir 'customapp-1.0.tar.gz' do
remote_file 'http://example.com/downloads/customapp-1.0.tar.gz'
suffix_cwd 'customapp-1.0'
commands [
'./configure',
'make install DESTDIR=$PKG_DIR'
]
end
The $PKG_DIR is an environment variable that will be available to
build commands. The $PKG_DIR is created by the LWRP to provide a
location to install files for later packaging.
Infos
- Repository: http://github.com/hw-cookbooks/builder
- IRC: Freenode @ #heavywater
Collaborator Number Metric
0.1.4 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.4 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.4 failed this metric
FC016: LWRP does not declare a default action: builder/resources/dir.rb:1
FC016: LWRP does not declare a default action: builder/resources/gem.rb:1
FC016: LWRP does not declare a default action: builder/resources/git.rb:1
FC016: LWRP does not declare a default action: builder/resources/remote.rb:1
FC064: Ensure issues_url is set in metadata: builder/metadata.rb:1
FC065: Ensure source_url is set in metadata: builder/metadata.rb:1
FC066: Ensure chef_version is set in metadata: builder/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: builder/metadata.rb:1
FC069: Ensure standardized license defined in metadata: builder/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: builder/libraries/builder.rb:116
FC121: Cookbook depends on cookbook made obsolete by Chef 14: builder/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: builder/recipes/default.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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.4 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.4 failed this metric
0.1.4 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.4 failed this metric
FC016: LWRP does not declare a default action: builder/resources/dir.rb:1
FC016: LWRP does not declare a default action: builder/resources/gem.rb:1
FC016: LWRP does not declare a default action: builder/resources/git.rb:1
FC016: LWRP does not declare a default action: builder/resources/remote.rb:1
FC064: Ensure issues_url is set in metadata: builder/metadata.rb:1
FC065: Ensure source_url is set in metadata: builder/metadata.rb:1
FC066: Ensure chef_version is set in metadata: builder/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: builder/metadata.rb:1
FC069: Ensure standardized license defined in metadata: builder/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: builder/libraries/builder.rb:116
FC121: Cookbook depends on cookbook made obsolete by Chef 14: builder/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: builder/recipes/default.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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.4 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.4 failed this metric
FC016: LWRP does not declare a default action: builder/resources/gem.rb:1
FC016: LWRP does not declare a default action: builder/resources/git.rb:1
FC016: LWRP does not declare a default action: builder/resources/remote.rb:1
FC064: Ensure issues_url is set in metadata: builder/metadata.rb:1
FC065: Ensure source_url is set in metadata: builder/metadata.rb:1
FC066: Ensure chef_version is set in metadata: builder/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: builder/metadata.rb:1
FC069: Ensure standardized license defined in metadata: builder/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: builder/libraries/builder.rb:116
FC121: Cookbook depends on cookbook made obsolete by Chef 14: builder/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: builder/recipes/default.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.4 passed this metric
Testing File Metric
0.1.4 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.4 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.4 failed this metric
0.1.4 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