Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Opscode chef cookbook to install playframwork 2
Ruby
tree: 69421593ed

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
attributes
recipes
.gitignore
CHANGELOG.md
README.md
metadata.rb

README.md

play2 Cookbook

This cookbook install playframework 2

Attributes

play2::default

Key Type Description Default
['play2']['version'] String The framework version 2.1.1
['play2']['checksum'] String Zip checksum 1ec0b736f9836f760b3c135154fd9a4b
['play2']['url'] String The download url part http://downloads.typesafe.com/play/
['play2']['home'] String Installation destination /usr/local/play

Usage

play2::default

Just include play2 in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[play2]"
  ]
}

Install another version

To install another version of play, override default attributes in your node

{
  "name":"my_node",
  override_attributes(
    :play2 => {
        :version => "2.1.0",
        :checksum => "0eef88602d26409bb584536cedb585de"
    }
  )
  "run_list": [
    "recipe[play2]"
  ]
}

License and Authors

Author:: Didier Bathily (bathily@njin.fr)

Copyright 2013, njin

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.

Something went wrong with that request. Please try again.