cookbook 'gotcms', '~> 0.3.0'
gotcms (6) Versions 0.3.0 Follow2
Installs/Configures GotCms
cookbook 'gotcms', '~> 0.3.0', :supermarket
knife supermarket install gotcms
knife supermarket download gotcms
GotCms Cookbook
The Chef GotCms cookbook installs and configures GotCms.
Requirements
Platform
Requires PHP 5.3.23 or later, we recommend using the latest PHP version whenever possible. So a recent linux distribution ;)
- Ubuntu
- Debian
- RHEL/CentOS
Cookbooks
- apt
- apache2
- build-essential
- database
- mysql
- php
- postgresql
Attributes
Key | Type | Description | Default |
---|---|---|---|
gotcms['version'] | String | Version of GotCms to download. Use 'master', to download most recent version. | master |
gotcms['url'] | String | Url of GotCms to download. | https://github.com/GotCms/GotCms/archive/#{node['gotcms']['version']}.tar.gz |
gotcms['parent_dir'] | String | Parent directory to where GotCms will be extracted. | node['apache']['docroot_dir'] |
gotcms['dir'] | String | Location to plage GotCms files. | #{node['gotcms']['parent_dir']}/gotcms |
gotcms['db']['driver'] | String | Driver of GotCms database (can be pdo_mysql or pdo_pgsql). | pdo_mysql |
gotcms['db']['username'] | String | Name of the GotCms database user. | gotcmsuser |
gotcms['db']['password'] | String | Password of the GotCms database user. | gotcmspassword |
gotcms['db']['name'] | String | Name of the GotCms database. | gotcmsdb |
gotcms['db']['host'] | String | Host of the GotCms database. | localhost |
gotcms['server_name'] | String | Server name for apache2 virtualhost. | node['fqdn'] |
gotcms['server_aliases'] | String | Server aliases for apache2 virtualhost. | [node['fqdn']] |
gotcms['config']['language'] | String | Language to used. | en_GB |
gotcms['config']['website_name'] | String | Name of the website. | GotCms |
gotcms['config']['is_offline'] | Boolean | Set the website offline. | false |
gotcms['config']['admin_email'] | String | The admin email. | demo@got-cms.com |
gotcms['config']['admin_lastname'] | String | The admin last name. | GotCms |
gotcms['config']['admin_firstname'] | String | The admin first name. | GotCms |
gotcms['config']['admin_login'] | String | The admin login. | demo |
gotcms['config']['admin_password'] | String | The admin password. | demo |
gotcms['config']['template'] | String | The template to use for installation, can be silverblog , arcana , or photoartwork . |
arcana |
Usage
gotcms::default
Just include gotcms
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[gotcms]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (like
issue_x
) - Write your change
- Write tests for your change
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
- Authors: Pierre Rambaud (pierre.rambaud86@gmail.com)
Dependent cookbooks
apt >= 0.0.0 |
apache2 >= 0.0.0 |
build-essential ~> 2.0 |
database ~> 4.0.2 |
hostsfile >= 0.0.0 |
mysql ~> 6.0 |
php >= 0.0.0 |
postgresql >= 0.0.0 |
mysql2_chef_gem >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
GotCms CHANGELOG
This file is used to list changes made in each version of the gotcms cookbook.
0.3.0
- Fix tests for ubuntu
0.2.0
- Update dependencies
0.1.3
- #3 Missing gd extension
0.1.2
- Use hostsfile cookbook instead of ruby_block to edit hosts file
0.1.1
- Fix missing password for grant_database_user
0.1.0
- Initial release of gotcms
Collaborator Number Metric
0.3.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.3.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.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: gotcms/metadata.rb:1
FC065: Ensure source_url is set in metadata: gotcms/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gotcms/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gotcms/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gotcms/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: gotcms/resources/request.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: gotcms/providers/request.rb:105
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gotcms/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.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.3.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.3.0 failed this metric
0.3.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.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: gotcms/metadata.rb:1
FC065: Ensure source_url is set in metadata: gotcms/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gotcms/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gotcms/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gotcms/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: gotcms/resources/request.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: gotcms/providers/request.rb:105
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gotcms/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.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.3.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.3.0 failed this metric
FC065: Ensure source_url is set in metadata: gotcms/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gotcms/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gotcms/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gotcms/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: gotcms/resources/request.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: gotcms/providers/request.rb:105
FC121: Cookbook depends on cookbook made obsolete by Chef 14: gotcms/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.0 passed this metric
Testing File Metric
0.3.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.3.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.3.0 failed this metric
0.3.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