cookbook 'swap-simple', '~> 0.1.0'
swap-simple (1) Versions 0.1.0 Follow0
Chef recipe to add swap to your VM
cookbook 'swap-simple', '~> 0.1.0', :supermarket
knife supermarket install swap-simple
knife supermarket download swap-simple
Add swap to your VM
This Chef recipe adds swap to your VM. Particularly useful when running npm install
which can use a lot of memory and be killed during the provisioning.
Tested on Vagrant + Ubuntu 14.04.
Source : https://www.digitalocean.com/community/tutorials/how-to-configure-virtual-memory-swap-file-on-a-vps
Add in your Berksfile
cookbook 'swap-simple', git: 'git://github.com/christopher5106/swap-simple.git'
and add recipe 'swap-simple' in your run list.
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
FC055: Ensure maintainer is set in metadata: swap-simple/metadata.rb:1
FC056: Ensure maintainer_email is set in metadata: swap-simple/metadata.rb:1
FC064: Ensure issues_url is set in metadata: swap-simple/metadata.rb:1
FC065: Ensure source_url is set in metadata: swap-simple/metadata.rb:1
FC066: Ensure chef_version is set in metadata: swap-simple/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: swap-simple/metadata.rb:1
FC068: Ensure license is set in metadata: swap-simple/metadata.rb:1
FC069: Ensure standardized license defined in metadata: swap-simple/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
FC055: Ensure maintainer is set in metadata: swap-simple/metadata.rb:1
FC056: Ensure maintainer_email is set in metadata: swap-simple/metadata.rb:1
FC064: Ensure issues_url is set in metadata: swap-simple/metadata.rb:1
FC065: Ensure source_url is set in metadata: swap-simple/metadata.rb:1
FC066: Ensure chef_version is set in metadata: swap-simple/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: swap-simple/metadata.rb:1
FC068: Ensure license is set in metadata: swap-simple/metadata.rb:1
FC069: Ensure standardized license defined in metadata: swap-simple/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
FC056: Ensure maintainer_email is set in metadata: swap-simple/metadata.rb:1
FC064: Ensure issues_url is set in metadata: swap-simple/metadata.rb:1
FC065: Ensure source_url is set in metadata: swap-simple/metadata.rb:1
FC066: Ensure chef_version is set in metadata: swap-simple/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: swap-simple/metadata.rb:1
FC068: Ensure license is set in metadata: swap-simple/metadata.rb:1
FC069: Ensure standardized license defined in metadata: swap-simple/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