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

RSS

mule (9) Versions 0.1.1

Installs/Configures Mule ESB

Berkshelf/Librarian
Policyfile
Knife
cookbook 'mule', '= 0.1.1'
cookbook 'mule', '= 0.1.1', :supermarket
knife cookbook site install mule
knife cookbook site download mule
README
Dependencies
Changelog
Quality 0%

mule

Installs Mule Community or Enterprise Edition runtimes on a server.

Supported Platforms

  • Ubuntu 14.04 LTS

Attributes

  • node['mule']['user'] - The User that will own and run Mule.
  • node['mule']['uid'] - UID for the Mule user.
  • node['mule']['group'] - Group in which the Mule user will be a member.
  • node['mule']['gid'] - GID for the Mule user group.
  • node['mule']['install_java'] - Should this cookbook install java, or leave that up to the user.

node['mule']['runtimes']

Attributes for Mule ESB runtimes are set as a list in the node['mule']['runtimes'] attribute:

{
    "mule": {
        "runtimes": [
            {
                "name": "mule-esb",
                "version": "3.8.0",
                "enterprise_edition": false,
                "license_name": "",
                "mule_source": "/tmp/mule",
                "mule_home": "/usr/local/mule-enterprise-standalone-3.7.3",
                "mule_env": ""
            }
        ]
    }
}
  • name - The name of the Mule ESB service to be installed.</td>
  • version - The version of Mule ESB to be installed.</td>
  • enterprise_edition - Optional. Flag determining if this is an Enterprise runtime.
  • license_name - Optional. The name of the mule license file. A missing attribute will skip license install.
  • mule_source - The path containing the mule archive and license.
  • mule_home - Path to the MULE_HOME directory.
  • mule_env - The MULE_ENV variable, as used by the Mule Runtime.

Usage

Mule requires a Java Development Kit to run, and it is highly recommended you use Oracle JDK 8 to run Mule ESB. To select Oracle JDK 8 and agree to the license, include the following in your role:

{
    "java": {
        "install_flavor": "oracle",
        "jdk_version": "8",
        "oracle": {
            "accept_oracle_download_terms": true
        }
    }
}

Otherwise, the default will be the OpenJDK as selected by the java cookbook.

If you wish to install java yourself, set the node['mule']['install_java'] attribute to false.

Include mule in your node's run_list:

{
  "run_list": [
    "recipe[mule::default]"
  ]
}

or in a recipe:

include_recipe 'mule::default'

License and Authors

Author: Reed McCartney (reed@hoegg.software)

Copyright 2016 Hoegg Software Company

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

java ~> 1.39.0
apt ~> 3.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.1

Rename cookbook, and make naming conventions consistent across cookbook. Fix some Foodcritic complaints.

0.1.0

Initial release of mule cookbook. Supports installing Java, multiple Mule ESB runtimes with Upstart scripts, and enterprise licenses.

Foodcritic Metric
            

0.1.1 failed this metric

FC009: Resource attribute not recognised: /tmp/cook/b7ec838f07b57c9ba837428f/mule/recipes/install_license.rb:11
FC022: Resource condition within loop may not behave as expected: /tmp/cook/b7ec838f07b57c9ba837428f/mule/recipes/install.rb:14
FC022: Resource condition within loop may not behave as expected: /tmp/cook/b7ec838f07b57c9ba837428f/mule/recipes/install.rb:19
FC022: Resource condition within loop may not behave as expected: /tmp/cook/b7ec838f07b57c9ba837428f/mule/recipes/install_license.rb:3
FC022: Resource condition within loop may not behave as expected: /tmp/cook/b7ec838f07b57c9ba837428f/mule/recipes/install_license.rb:11
FC022: Resource condition within loop may not behave as expected: /tmp/cook/b7ec838f07b57c9ba837428f/mule/recipes/install_license.rb:24