Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

mw_wordpress (1) Versions 0.1.0

Installs/Configures wordpress

Berkshelf/Librarian
Policyfile
Knife
cookbook 'mw_wordpress', '~> 0.1.0'
cookbook 'mw_wordpress', '~> 0.1.0', :supermarket
knife cookbook site install mw_wordpress
knife cookbook site download mw_wordpress
README
Dependencies
Quality

Wordpress cookbook

The mw_wordpress cookbooks povides with a custom resource for deploying wordpress application.

Requirements

  • Chef 12+

Platform support

Because of a restriction on PHP version, we've tested this recipe using

  • Ubuntu 14.04
  • Centos 7

Cookbook dependencies

There are no dependencies, but the following may be needed

  • apt/yum so packages are updated if ubuntu/debian/centos/rhel

Usage

Place a dependency on the mw_wordpress cookbook in your cookbook's metadata.rb

  depends 'mw_wordpress'

Then, in a recipe:

  wordpress 'my_app' do
    path              '/opt/wp_1'
    group             'www-data'
    keys_auth         'qZfq*anWbNq `5q}O|J+eJkBs-a@%@CBn2 .%Ku`.X+G;|![V~BAz,g}KW5f90-@'
    keys_secure_auth  '&0j7f~*0}$9,JNd?3E-83ML4dE@+_UQ-^=/#g.NsCLvw_s}n6q##.1n[^O3EZ(}k'
    keys_logged_in    'HywyJ?VQ%ts%-/T* NL3Ldx4yz>RUepw.a2}*|kijQZ:OG@[^f[D-%f:%RE:%e0o'
    keys_nonce        '!5p>5ukJcxsm]&4<O[0QrpIKW ZB4np.#KPB)lYP{Z1PY|y}NG|#7VHV-UhEcu55'
    salt_auth         '{)O|HUB.*:@i;Z5rt}(O2u~C^Q ^]?9J&Xl`/E6*` 01db-yb_D{CWJ]5ooa]R<&'
    salt_secure_auth  'Av11^S?/LuC8f;$TxsIY-|HZz0|pYfaiMVY#usj^NxWWrOZ~T^.k[/sHi|yu=9XP'
    salt_logged_in    'f^AOI7$b%g(lYx-A(~!K2zRuD1^)62Za$e`+]?EV(CaK4COh}?6/>m%+OafL[p@X'
    salt_nonce        'I*:mMrkn/,.km~O?mI+[Hv+479Gj(,_[90A_-<<s?F&[9|Qwv$-2+NL*sJd+|~*k'
    db_password       'wp_1pass'
    action            :deploy
  end

Notice key and salt values. They are all obtained from https://api.wordpress.org/secret-key/1.1/salt

You can freely combine this recipe for deployment with a custom configuration of:

  • PHP FPM
  • Apache/Nginx

There is a test example within test/fixtures directory

Dependent cookbooks

mw_application ~> 0.2.0

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

FC064: Ensure issues_url is set in metadata: mw_wordpress/metadata.rb:1
FC065: Ensure source_url is set in metadata: mw_wordpress/metadata.rb:1
FC066: Ensure chef_version is set in metadata: mw_wordpress/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: mw_wordpress/metadata.rb:1
FC069: Ensure standardized license defined in metadata: mw_wordpress/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 failed this metric

mw_wordpress should declare what platform(s) it supports.

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