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

Select Status

RSS

mediawiki (11) Versions 0.1.0

Installs/Configures mediawiki

Policyfile
Berkshelf
Knife
cookbook 'mediawiki', '= 0.1.0', :supermarket
cookbook 'mediawiki', '= 0.1.0'
knife supermarket install mediawiki
knife supermarket download mediawiki
README
Dependencies
Changelog
Quality 0%

mediawiki

Configures a system to run mediawiki. It will install and configure MySQL, Apache, and PHP.
This cookbook downloads the specified version of mediawiki, untars it, and drops it in your desired location.
You will need to configure the wiki for yourself.

Supported Platforms

CentOS/RHEL 6

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['mediawiki']['enable_https']</tt></td>
<td>Boolean</td>
<td>whether to include apache2::mod_ssl</td>
<td><tt>false</tt></td>
</tr>
<tr>
<td><tt>['mediawiki']['version']</tt></td>
<td>String</td>
<td>Version number of mediawiki to install</td>
<td><tt>1.24.0</tt></td>
</tr>
<tr>
<td><tt>['mediawiki']['path']</tt></td>
<td>String</td>
<td>Location to install mediawiki files</td>
<td><tt>/var/www/html/wiki</tt></td>
</tr>
<tr>
<td><tt>['mediawiki']['mysql_host']</tt></td>
<td>String</td>
<td>Location of MySQL Server</td>
<td><tt>localhost</tt></td>
</tr>
<tr>
<td><tt>['mediawiki']['mysql_password']</tt></td>
<td>String</td>
<td>MySQL root user password</td>
<td><tt>randompassword</tt></td>
</tr>
<tr>
<td><tt>['mediawiki']['mysql_dbname']</tt></td>
<td>String</td>
<td>Wiki database name</td>
<td><tt>wiki</tt></td>
</tr>
<tr>
<td><tt>['mediawiki']['mysql_dbuser']</tt></td>
<td>String</td>
<td>Wiki MySQL password</td>
<td><tt>wiki_user</tt></td>
</tr>
<tr>
<td><tt>['mediawiki']['mysql_dbpass']</tt></td>
<td>String</td>
<td>Wiki MySQL user password</td>
<td><tt>wiki_pass</tt></td>
</tr>
</table>

Usage

mediawiki::default

Include mediawiki in your node's run_list:

{
  "run_list": [
    "recipe[mediawiki::default]"
  ]
}

License and Authors

Author:: Patrick Moore (moore267@marshall.edu)

Dependent cookbooks

mysql >= 0.0.0
database >= 0.0.0
apache2 >= 0.0.0
php >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of mediawiki

Foodcritic Metric
            

0.1.0 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/c3070c5f6cf907250e088595/mediawiki/templates/default/wiki.conf.erb:6
FC008: Generated cookbook metadata needs updating: /tmp/cook/c3070c5f6cf907250e088595/mediawiki/metadata.rb:3