cookbook 'lamp', '~> 1.0.4'
lamp (3) Versions 1.0.4 Follow7
Installs/Configures lamp server
cookbook 'lamp', '~> 1.0.4', :supermarket
knife supermarket install lamp
knife supermarket download lamp
lamp
Standalone lamp stack cookbook
lamp-cookbook Description
Standalone cookbook to install and configure a vanilla LAMP stack includes httpd service, mysql (local install), and PHP on Amazon Linux. This cookbook should be used as a base replacement for this tutorial - http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
Requirements
You'll need to create a data bag "mysql" with item "password", store your root password there with the json flag "mysql_password"
Supported Platforms
Amazon Linux
Will add more as time allows
Recipies
- lamp::default
- lamp::httpd
- lamp::mysql
- lamp::prep
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['lamp']['mysql']['install_sql']</tt></td>
<td>Boolean</td>
<td>Should only run on the first pass to prevent rewriting of your root password</td>
<td><tt>true</tt></td>
</tr>
</table>
Usage
lamp::default
Include lamp
in your node's run_list
:
{ "run_list": [ "recipe[lamp::default]" ] }
License and Authors
Author:: Karl Girthofer (karlgirthofer@gmail.com)
License:: GNU GENERAL PUBLIC LICENSE
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
0.1.0
Initial release of lamp
Collaborator Number Metric
1.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
1.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
1.0.4 failed this metric
FC064: Ensure issues_url is set in metadata: lamp/metadata.rb:1
FC065: Ensure source_url is set in metadata: lamp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lamp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lamp/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: lamp/recipes/mysql.rb:39
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.4 passed this metric
Testing File Metric
1.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
1.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
1.0.4 failed this metric
1.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
1.0.4 failed this metric
FC064: Ensure issues_url is set in metadata: lamp/metadata.rb:1
FC065: Ensure source_url is set in metadata: lamp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lamp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lamp/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: lamp/recipes/mysql.rb:39
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.4 passed this metric
Testing File Metric
1.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
1.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
1.0.4 failed this metric
FC065: Ensure source_url is set in metadata: lamp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lamp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lamp/metadata.rb:1
FC075: Cookbook uses node.save to save partial node data to the chef-server mid-run: lamp/recipes/mysql.rb:39
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.4 passed this metric
Testing File Metric
1.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
1.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
1.0.4 failed this metric
1.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