This cookbook install playframework 2
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 |
Just include play2
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[play2]"
]
}
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]"
]
}
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.