cookbook 'remote_template', '~> 0.0.1'
The remote_template cookbook has been deprecated
Author provided reason for deprecation:
The remote_template cookbook has been deprecated and is no longer being maintained by its authors. Use of the remote_template cookbook is no longer recommended.
You may find that the local_template cookbook is a suitable alternative.
remote_template (1) Versions 0.0.1 Follow0
provides the remote_template resource
cookbook 'remote_template', '~> 0.0.1', :supermarket
knife supermarket install remote_template
knife supermarket download remote_template
Description
This cookbook provides the remote_template
resource.
It's identical to the template
resource, except the following caveeats:
- It takes the template from a remote source by HTTP/HTTPS
- It does not include the platform/host resolution, so the same template is used everywhere.
Compatibility
The cookbook and resource has been tested with chef-client 10.12.0
and 11.4.0
. The code is based on chef-client 10 sources, but will be upgraded to the 11 style when Chef 11 will be more widespread.
Usage
See the included example.rb recipe.
remote_template "/tmp/hostname" do
source "https://gist.github.com/labria/5177417/raw/88827c083969c63ab6a86010332147ed30bde5b9/hostname.erb"
variables :hostname => node[:fqdn]
end
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.1 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.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: remote_template/metadata.rb:1
FC065: Ensure source_url is set in metadata: remote_template/metadata.rb:1
FC066: Ensure chef_version is set in metadata: remote_template/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: remote_template/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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.0.1 failed this metric
0.0.1 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.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: remote_template/metadata.rb:1
FC065: Ensure source_url is set in metadata: remote_template/metadata.rb:1
FC066: Ensure chef_version is set in metadata: remote_template/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: remote_template/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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.0.1 failed this metric
FC065: Ensure source_url is set in metadata: remote_template/metadata.rb:1
FC066: Ensure chef_version is set in metadata: remote_template/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: remote_template/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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.0.1 failed this metric
0.0.1 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