cookbook 'strongloop', '~> 1.0.0'
strongloop (3) Versions 1.0.0 Follow1
Installs/Configures StrongLoop
cookbook 'strongloop', '~> 1.0.0', :supermarket
knife supermarket install strongloop
knife supermarket download strongloop
strongloop-node
Cookbook to perform the initial configuration of a
StrongLoop loopback project. If no project name is
provided, the example app will be installed.
Requirements
Platform:
* Ubuntu
Cookbooks:
* apt
* build-essential
* firewall
* nginx
* nodejs
* npm
* openssl
* supervisor
Attributes
-
node['strongloop']['domain']
: Site domain -
node['strongloop']['username']
: System user to create and setup StrongLoop with. -
node['strongloop']['password']
: Password fornode['strongloop']['username']
. Alternatively the password hash for the user can be passed in a databag, or passed as a hash to thenode['strongloop']['shadow_hash']
attribute.` -
node['strongloop']['project_name']
: Name of the LoopBack project to create. If no project name is provided, the example project will be created. -
node['strongloop']['npm_pkgs']
: Additional npm packages to install for your project. These will be appended to yourpackages.json
file. -
['strongloop']['datasource']
: Backend data store to use. If no value is specified, LoopBack will default to using memory as the data store. The following SSL Configuration attributes are optional: -
node[:strongloop][:ssl_cert]
: SSL Certificate to configure withnginx
-
node[:strongloop][:ssl_key]
: SSL Private Key to configure withnginx
-
node[:strongloop][:ssl_cacert]
: SSL CA Certificate to configure withnginx
-
node[:strongloop][:ssl_cert_path]
: Path to installnode[:strongloop][:ssl_cert]
. -
node[:strongloop][:ssl_key_path]
: Path to installnode[:strongloop][:ssl_key]
-
node[:strongloop][:ssl_cacert_path]
: Path to installnode[:strongloop][:ssl_cacert]
Usage
Add the strongloop
recipe to your run list to setup the LoopBack project. Add
strongloop::nginx
to your run list if you'd like a web server setup as well.
License & Authors
- Author: Ryan Walker (ryan.walker@rackspace.com)
- Author: Brint O'Hearn (brint.ohearn@rackspace.com)
Copyright: 2013-2014, Rackspace
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
apt >= 0.0.0 |
build-essential >= 0.0.0 |
firewall >= 0.0.0 |
nginx >= 0.0.0 |
nodejs >= 0.0.0 |
npm >= 0.0.0 |
openssl >= 0.0.0 |
supervisor >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
v1.0.0 (2014-08-18)
- StrongLoop changed the default application name from
sls-sample-app
toloopback-example-app
, updated the recipe accordingly. Added major version bump as this would break anyone using older versions of StrongLoop. - Add ability for user to define data source
- Gems updated to use Berkshelf 3.1+
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.0 failed this metric
FC009: Resource attribute not recognised: strongloop/recipes/default.rb:30
FC064: Ensure issues_url is set in metadata: strongloop/metadata.rb:1
FC065: Ensure source_url is set in metadata: strongloop/metadata.rb:1
FC066: Ensure chef_version is set in metadata: strongloop/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: strongloop/metadata.rb:1
FC069: Ensure standardized license defined in metadata: strongloop/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: strongloop/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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
1.0.0 failed this metric
FC009: Resource attribute not recognised: strongloop/recipes/default.rb:30
FC064: Ensure issues_url is set in metadata: strongloop/metadata.rb:1
FC065: Ensure source_url is set in metadata: strongloop/metadata.rb:1
FC066: Ensure chef_version is set in metadata: strongloop/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: strongloop/metadata.rb:1
FC069: Ensure standardized license defined in metadata: strongloop/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: strongloop/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: strongloop/metadata.rb:1
FC065: Ensure source_url is set in metadata: strongloop/metadata.rb:1
FC066: Ensure chef_version is set in metadata: strongloop/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: strongloop/metadata.rb:1
FC069: Ensure standardized license defined in metadata: strongloop/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: strongloop/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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