cookbook 'linode', '~> 1.2.0'
linode (8) Versions 1.2.0 Follow5
Collection of useful recipes for setting up Linodes
cookbook 'linode', '~> 1.2.0', :supermarket
knife supermarket install linode
knife supermarket download linode
= Linode Cookbook
A collection of useful recipes for configuring Linodes. Currently there are just
2: one for setting up static networking and one for adding DNS entries. OK I
lied, there's a third one that installs the linode gem, but that's more of a
dependancy of the other recipes.
You'll need to put your Linode API key into an encrypted data bag called
"passwords" and an item within it called "linode". It should look like this
(when decrypted):
{
"id": "linode",
"api_key": "your-api-key-here"
}
== linode::static_net
This recipe will detect the configured IPv4 addresses and setup static
networking for them as described here.
== linode::dns
This recipe will add entries to the Linode DNS system for your Linode. It will
create the following entries:
- node.name + '.' + node[:set_domain] => node[:public_ipv4]
- node.name + '.int.' + node[:set_domain] => node[:private_ipv4]
- node.name + '.' + node[:set_domain] => node[:public_ipv6]
It requires the configuration performed in static_net, so it runs that first.
== linode::api_gem
This recipe installs the linode gem for API access. The cookbook uses this gem
extensively.
== linode::default
The default recipe runs both static_net & dns.
Dependent cookbooks
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.2.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
1.2.0 failed this metric
FC025: Prefer chef_gem to compile-time gem install: linode/recipes/api_gem.rb:7
FC064: Ensure issues_url is set in metadata: linode/metadata.rb:1
FC065: Ensure source_url is set in metadata: linode/metadata.rb:1
FC066: Ensure chef_version is set in metadata: linode/metadata.rb:1
FC069: Ensure standardized license defined in metadata: linode/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: linode/resources/dns_record.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:54
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:60
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:65
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:84
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.0 passed this metric
Testing File Metric
1.2.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
1.2.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
1.2.0 failed this metric
1.2.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
1.2.0 failed this metric
FC025: Prefer chef_gem to compile-time gem install: linode/recipes/api_gem.rb:7
FC064: Ensure issues_url is set in metadata: linode/metadata.rb:1
FC065: Ensure source_url is set in metadata: linode/metadata.rb:1
FC066: Ensure chef_version is set in metadata: linode/metadata.rb:1
FC069: Ensure standardized license defined in metadata: linode/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: linode/resources/dns_record.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:54
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:60
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:65
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:84
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.0 passed this metric
Testing File Metric
1.2.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
1.2.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
1.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: linode/metadata.rb:1
FC065: Ensure source_url is set in metadata: linode/metadata.rb:1
FC066: Ensure chef_version is set in metadata: linode/metadata.rb:1
FC069: Ensure standardized license defined in metadata: linode/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: linode/resources/dns_record.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:54
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:60
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:65
FC085: Resource using new_resource.updated_by_last_action to converge resource: linode/providers/domain_api.rb:84
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.2.0 passed this metric
Testing File Metric
1.2.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
1.2.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
1.2.0 failed this metric
1.2.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