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

RSS

microfocus (9) Versions 3.0.0

Provides microfocus_server_express resource

Policyfile
Berkshelf
Knife
cookbook 'microfocus', '= 3.0.0', :supermarket
cookbook 'microfocus', '= 3.0.0'
knife supermarket install microfocus
knife supermarket download microfocus
README
Dependencies
Changelog
Quality 67%

microfocus chef cookbook

Build Status

The microfocus cookbook provides the microfocus_server_express resource.
This resource installs Micro Focus Server Express and License Manager, installs the specified license, then enables and starts the License Manager service.

Requirements

  • Chef 12.5 or higher
  • Ruby 2.0 or higher (preferably from the Chef full-stack installer)
  • Network accessible package repositories

Platform Support

The following platforms have been tested with Test Kitchen:
- centos-6
- centos-7

Dependencies

This cookbook depends on the following cookbooks.
- ark
- systemd

Usage

Include microfocus as a dependency in your cookbook's metadata.rb.

depends 'microfocus', '~> 3.0.0'

Resources

microfocus_server_express

Define a microfocus_server_express resource in your recipe. E.g.

microfocus_server_express '5.1wp11' do
  checksum 'ec833c62bdb63f48b7bf7b83b0100e0c82317f9653096d03ba2c9be27a0f6ebd'
  license_number 'license_number'
  serial_number 'serial_number'
  url 'http://artifacts.local.org/microfocus/server-express/sx51_wp11_redhat_x86_64_dev.tar'
end

Properties

  • checksum - SHA-256 checksum for the Server Express archive.
  • group - group for the Server Express directory (default: 'root').
  • install_responses - array of hashes (pattern to match and input value) to override the default install responses.
  • license_manager_path - full path to install License Manager (default: '/opt/microfocus/mflmf').
  • license_number - Server Express license number (required: true).
  • mflmcmd_responses - array of hashes (pattern to match and input value) to override the default mflmcmd responses.
  • mode - mode for the Server Express directory (default: 0o755).
  • owner - owner for the Server Express directory (default: 'root').
  • serial_number - Server Express serial number (required: true).
  • server_express_path - full path to install Server Express (default: '/opt/microfocus/cobol').
  • url - URL for the Server Express archive (required: true).
  • version - Server Express version (name_property: true).

Actions

  • :create - installs Micro Focus Server Express and License Manager, installs the specified license, then enables and starts the License Manager service.

Contributing

  1. Fork the repository on GitHub.
  2. Create a named feature branch (like add_component_x).
  3. Write your change.
  4. Write tests for your change (this cookbook currently uses InSpec with Test Kitchen).
  5. Run the tests, ensuring they all pass.
  6. Submit a Pull Request using GitHub.

License and Authors

Author: Richard Lock

Copyright 2016 University of Derby

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

ark ~> 2.0
systemd ~> 2.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

microfocus cookbook CHANGELOG

3.0.0 (2016-10-05)

  • Updated constraint for ark cookbook to ~> 2.0. version is now name_property. Removed default recipe.

2.1.2 (2016-04-27)

  • Removed leading / from template resources source property.

2.1.1 (2016-04-22)

  • Added Travis CI build status.

2.1.0 (2016-04-20)

  • Updated microfocus_server_express resource to manually install init.d/systemd service.

2.0.1 (2016-04-17)

  • Updated readme.

2.0.0 (2016-04-16)

  • Refactored as resource cookbook.

1.0.0 (2015-06-30)

  • Updated recipe.

0.1.0 (2015-05-10)

  • Initial release.

Collaborator Number Metric
            

3.0.0 passed this metric

Contributing File Metric
            

3.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
            

3.0.0 passed this metric

No Binaries Metric
            

3.0.0 passed this metric

Testing File Metric
            

3.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
            

3.0.0 passed this metric