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

The radiant cookbook has been deprecated

Author provided reason for deprecation:

The radiant cookbook has been deprecated and is no longer being maintained by its authors. Use of the radiant cookbook is no longer recommended.

RSS

radiant (9) Versions 1.0.2

Installs radiant from Git repository

Policyfile
Berkshelf
Knife
cookbook 'radiant', '~> 1.0.2', :supermarket
cookbook 'radiant', '~> 1.0.2'
knife supermarket install radiant
knife supermarket download radiant
README
Dependencies
Quality 17%

Description

Installs RadiantCMS, a Ruby on Rails content management system.

Requirements

Requires Chef 0.10.0

Platform

The db_bootstrap recipe requires using the Opscode application cookbook.

Tested on Ubuntu 9.04, uses the Opscode Apache2 cookbook which is Ubuntu/Debian specific.

Requires Chef 0.7.12 for Deploy resource when installing from Radiant's git repo.

The db_bootstrap recipe requires Chef 0.9.10+ for the notifies resource syntax.

Cookbooks

Opscode cookbooks (http://github.com/opscode/cookbooks/tree/master)

  • git
  • sqlite
  • rails
  • apache2
  • passenger_apache2

Attributes

  • radiant[:edge] - Do a deploy from github repo if true, use gems if false, default false.
  • radiant[:branch] - Branch to deploy from, default HEAD.
  • radiant[:migrate] - Whether to do a database migration, default false.
  • radiant[:migrate_command] - Command to do a database migration, default 'rake db:migrate'.
  • radiant[:environment] - Rails environment to use, default is production.
  • radiant[:revision] - Revision to deploy, default HEAD.
  • radiant[:action] - Whether to deploy, rollback or nothing, default nothing.
  • radiant[:db_bootstrap] - rake task to bootstrap a fresh database, use once and with care, it will delete the database contents.

Usage

This recipe uses SQLite3 for the database by default. To set up the default database to get Radiant rolling, run a db:bootstrap by changing the radiant[:migrate] command to the following in the webui:

yes | rake production db:bootstrap \
ADMIN_NAME=Administrator \
ADMIN_USERNAME=admin \
ADMIN_PASSWORD=radiant \
DATABASE_TEMPLATE=empty.yml

Change as required for your environment. If the target system doesn't have /usr/bin/yes, use echo 'yes' instead.

Radiant supports other database backends. We don't yet have automation ready to set up a database user and grant privileges, or creating the database itself.

Database Bootstrap

This recipe is DESTRUCTIVE.

Normally when running the db:bootstrap rake task in Radiant, it prompts the user:

This task will destroy any data in the database. Are you sure you want to continue? [yn] y

This recipe wraps the rake db:bootstrap from above. Only use this recipe if you know what you are doing. Otherwise, run the db:bootstrap manually.

This recipe is designed to be used with the Opscode application cookbook, and only one time. It removes itself with a Ruby block resource when the rake resource executes successfully.

License and Author

Author:: Joshua Timberman (joshua@opscode.com)
Copyright:: 2009-2011, Opscode, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

git >= 0.0.0
sqlite >= 0.0.0
apache2 >= 0.0.0
mysql >= 0.0.0
passenger_apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.2 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.2 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

Cookstyle Metric
            

1.0.2 failed this metric

Chef/Deprecations/NodeSet: Do not use node.set. Replace with node.normal to keep identical behavior. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_nodeset): radiant/recipes/db_bootstrap.rb: 36
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): radiant/metadata.rb: 6
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): radiant/metadata.rb: 9
Chef/RedundantCode/RecipeMetadata: The recipe metadata.rb method is not used and is unnecessary in cookbooks. Recipes should be documented in the cookbook's README.md file instead. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_recipemetadata): radiant/metadata.rb: 10
Chef/Sharing/InvalidLicenseString: Cookbook metadata.rb does not use a SPDX compliant license string or "all rights reserved". See https://spdx.org/licenses/ for a complete list of license identifiers. (https://docs.chef.io/workstation/cookstyle/chef_sharing_invalidlicensestring): radiant/metadata.rb: 4

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

1.0.2 passed this metric

Testing File Metric
            

1.0.2 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.2 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