cookbook 'amoeba_basenode', '~> 0.0.4'
amoeba_basenode (4) Versions 0.0.4 Follow1
Configures basic system-level stuff for use woth Amoeba Deploy Tools.
cookbook 'amoeba_basenode', '~> 0.0.4', :supermarket
knife supermarket install amoeba_basenode
knife supermarket download amoeba_basenode
Amoeba "Basenode" Cookbook
For usage of this cookbook, see Amoeba Deploy Tools (ADT)'s readme at:
http://github.com/AmoebaConsulting/amoeba-deploy-tools
Note:
If you use this cookbook, you must be sure to include monit, locale, and rvm from Githubg by adding
the following to your Cheffile
:
cookbook 'locale', github: 'fnordfish/chef-locale'
cookbook 'monit', github: 'phlipper/chef-monit'
Detailed Information
This is a special "basenode" Cookbook for use with amoeba-deploy-tools. It configures minimalist
information about a server, and most importantly creates the deployment user, and disables root
login. It also dumps node information to a JSON file in the deployment user's home, which is used
to cache node information in the data_bags folder of the local machine running deployments (ADT is
based around server-less deployments). Every node in your ADT kitchen should include the
basenode::default
cookbook to provide this functionality.
The only thing that should need to be configured is the swapfile and provider. Swap files are easy:
Set the
swapfile_size
attribute on the nodeInclude
basenode::swap
in the runlist (or a role)
Providers are specified in your node's deployment/provider
attribute, which is a string name of
the provider. Available providers should be located in your kitchen's provider's databag, which is
built from the data_bags/providers/<name.json>
files.
Dependent cookbooks
swap >= 0.0.0 |
openssh >= 0.0.0 |
ohai >= 0.0.0 |
locale >= 0.1.0 |
timezone-ii >= 0.0.0 |
hostname >= 0.0.0 |
build-essential >= 0.0.0 |
git >= 0.0.0 |
sudo >= 0.0.0 |
monit >= 1.5.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.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.0.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.0.4 failed this metric
FC009: Resource attribute not recognised: amoeba_basenode/recipes/deployer.rb:18
FC039: Node method cannot be accessed with key: amoeba_basenode/attributes/monit.rb:29
FC039: Node method cannot be accessed with key: amoeba_basenode/templates/default/monit.upstart.conf.erb:3
FC043: Prefer new notification syntax: amoeba_basenode/recipes/apt_update.rb:7
FC064: Ensure issues_url is set in metadata: amoeba_basenode/metadata.rb:1
FC065: Ensure source_url is set in metadata: amoeba_basenode/metadata.rb:1
FC066: Ensure chef_version is set in metadata: amoeba_basenode/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: amoeba_basenode/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: amoeba_basenode/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: amoeba_basenode/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.4 passed this metric
Testing File Metric
0.0.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.0.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.0.4 failed this metric
0.0.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.0.4 failed this metric
FC009: Resource attribute not recognised: amoeba_basenode/recipes/deployer.rb:18
FC039: Node method cannot be accessed with key: amoeba_basenode/attributes/monit.rb:29
FC039: Node method cannot be accessed with key: amoeba_basenode/templates/default/monit.upstart.conf.erb:3
FC043: Prefer new notification syntax: amoeba_basenode/recipes/apt_update.rb:7
FC064: Ensure issues_url is set in metadata: amoeba_basenode/metadata.rb:1
FC065: Ensure source_url is set in metadata: amoeba_basenode/metadata.rb:1
FC066: Ensure chef_version is set in metadata: amoeba_basenode/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: amoeba_basenode/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: amoeba_basenode/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: amoeba_basenode/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.4 passed this metric
Testing File Metric
0.0.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.0.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.0.4 failed this metric
FC039: Node method cannot be accessed with key: amoeba_basenode/attributes/monit.rb:29
FC039: Node method cannot be accessed with key: amoeba_basenode/templates/default/monit.upstart.conf.erb:3
FC043: Prefer new notification syntax: amoeba_basenode/recipes/apt_update.rb:7
FC064: Ensure issues_url is set in metadata: amoeba_basenode/metadata.rb:1
FC065: Ensure source_url is set in metadata: amoeba_basenode/metadata.rb:1
FC066: Ensure chef_version is set in metadata: amoeba_basenode/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: amoeba_basenode/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: amoeba_basenode/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: amoeba_basenode/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.4 passed this metric
Testing File Metric
0.0.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.0.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.0.4 failed this metric
0.0.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