cookbook 'xlrelease', '~> 1.0.4'
xlrelease (3) Versions 1.0.4 Follow0
Installs and configures XL Release from XebiaLabs
cookbook 'xlrelease', '~> 1.0.4', :supermarket
knife supermarket install xlrelease
knife supermarket download xlrelease
Chef cookbook for XL Release Server
- xebialabs.com
- Supported XL Release version: 4.0.x
Server requirements
From docs.xebialabs.com/xl-release/4.0.x/systemadminmanual.html:
To install the XL Release server, the following prerequisites must be met:
- XL Release license: If you are an XL Release Community Edition user, you should have received your license during the sign-up process. Enterprise users can download their license from the XebiaLabs licence server (requires credentials).
- Operating system: Windows or Unix-family operating system running Java.
- Java Runtime Environment: JDK 7 (Oracle, IBM or Apple)
- RAM: At least 2GB of RAM available for XL Release.
- Hard disk space: At least 2GB of hard disk space to store the XL Release repository (this depends on your usage of XL Release)
Depending on the environment, the following may also be required:
- Database: XL Release's repository may be stored in a database; for more information, see Configuring the repository
- LDAP: To enable group-based security, an LDAP x.509 compliant registry is required; for more information, see Configuring LDAP security
Downloading the installation archive
This cookbook uses wget
to download the installation archive from XebiaLabs.
Set attribute ['xlrelease']['downloadurl'] to this installation archive.
Set attribute default['xlrelease']['username'] = 'supplied by xebialabs'
Set attribute default['xlrelease']['password'] = 'supplied by xebialabs'
Using the default recipe the below steps are executed
- Creates xlrelease user and group.
- Creates an installation directory
/opt/xl-release-4.0.x-server
. This can be changed via attributes. -
wget
s the XL Release installation archive from the ['xlrelease']['downloadurl'] attribute. - Extracts the archive into the installation directory.
- Changes ownership of the installation directory to be owned by xlrelease user and group.
- Configures the
xl-release-server.conf
file through the setup.config.txt.erb template. All values in this setup file can be overwritten by attributes. - Kicks off XL Release's installation program (
server.sh
included in installation archive). - Configures xlrelease as a service (using runit).
Post-installation
Add the license file to your installation directory's ~/conf
subdirectory and restart the xlrelease service
sv down xlrelease; sv up xlrelease
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License & Authors
- Authors: Robert Castelle & Bernie Durfee
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
runit ~> 1.5 |
java ~> 1.25 |
tar ~> 0.5 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.4 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.4 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.4 failed this metric
FC055: Ensure maintainer is set in metadata: xlrelease/metadata.rb:1
FC056: Ensure maintainer_email is set in metadata: xlrelease/metadata.rb:1
FC064: Ensure issues_url is set in metadata: xlrelease/metadata.rb:1
FC065: Ensure source_url is set in metadata: xlrelease/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xlrelease/metadata.rb:1
FC069: Ensure standardized license defined in metadata: xlrelease/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.4 failed this metric
Failure: Cookbook should not contain binaries. Found:
xlrelease/berniedurfee-ge.txt
Testing File Metric
1.0.4 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.4 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.4 failed this metric
1.0.4 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.4 failed this metric
FC055: Ensure maintainer is set in metadata: xlrelease/metadata.rb:1
FC056: Ensure maintainer_email is set in metadata: xlrelease/metadata.rb:1
FC064: Ensure issues_url is set in metadata: xlrelease/metadata.rb:1
FC065: Ensure source_url is set in metadata: xlrelease/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xlrelease/metadata.rb:1
FC069: Ensure standardized license defined in metadata: xlrelease/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.4 failed this metric
Failure: Cookbook should not contain binaries. Found:
xlrelease/berniedurfee-ge.txt
Testing File Metric
1.0.4 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.4 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.4 failed this metric
FC056: Ensure maintainer_email is set in metadata: xlrelease/metadata.rb:1
FC064: Ensure issues_url is set in metadata: xlrelease/metadata.rb:1
FC065: Ensure source_url is set in metadata: xlrelease/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xlrelease/metadata.rb:1
FC069: Ensure standardized license defined in metadata: xlrelease/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.4 failed this metric
Failure: Cookbook should not contain binaries. Found:
xlrelease/berniedurfee-ge.txt
Testing File Metric
1.0.4 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.4 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.4 failed this metric
1.0.4 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