org.jclouds.chef.config
Interface ChefProperties


public interface ChefProperties

Configuration properties and constants used in Chef connections.


Field Summary
static String CHEF_BOOTSTRAP_DATABAG
          Databag that holds chef bootstrap hints, should be a json ball in the following format:
static String CHEF_GEM_SYSTEM_VERSION
          To be used in conjunction with CHEF_UPDATE_GEM_SYSTEM.
static String CHEF_LOGGER
          The name of the Chef logger.
static String CHEF_UPDATE_GEM_SYSTEM
          Boolean property.
static String CHEF_UPDATE_GEMS
          Boolean property.
static String CHEF_USE_OMNIBUS
          Boolean property.
static String CHEF_VALIDATOR_CREDENTIAL
          The credential of the validator client used to allow nodes to autoregister in the Chef server.
static String CHEF_VALIDATOR_NAME
          The name of the validator client used to allow nodes to autoregister in the Chef server.
static String CHEF_VERSION
          The version of the Chef gem to install when bootstrapping nodes.
 

Field Detail

CHEF_LOGGER

static final String CHEF_LOGGER
The name of the Chef logger.

See Also:
Constant Field Values

CHEF_BOOTSTRAP_DATABAG

static final String CHEF_BOOTSTRAP_DATABAG
Databag that holds chef bootstrap hints, should be a json ball in the following format:

{"tag":{"run_list":["recipe[apache2]"]}}

See Also:
Constant Field Values

CHEF_VALIDATOR_NAME

static final String CHEF_VALIDATOR_NAME
The name of the validator client used to allow nodes to autoregister in the Chef server.

This property must be set prior to running the ChefService#createBootstrapScriptForGroup(String) method.

See Also:
Constant Field Values

CHEF_VALIDATOR_CREDENTIAL

static final String CHEF_VALIDATOR_CREDENTIAL
The credential of the validator client used to allow nodes to autoregister in the Chef server.

This property must be set prior to running the ChefService#createBootstrapScriptForGroup(String) method.

See Also:
Constant Field Values

CHEF_VERSION

static final String CHEF_VERSION
The version of the Chef gem to install when bootstrapping nodes.

If this property is not set, by default the latest available Chef gem will be installed. The values can be fixed versions such as '0.10.8' or constrained values such as '>= 0.10.8'.

This property must be set prior to running the ChefService#createBootstrapScriptForGroup(String) method.

See Also:
Constant Field Values

CHEF_UPDATE_GEM_SYSTEM

static final String CHEF_UPDATE_GEM_SYSTEM
Boolean property. Default (false).

When bootstrapping a node, forces a gem system update before installing the Chef gems.

This property must be set prior to running the ChefService#createBootstrapScriptForGroup(String) method.

See Also:
Constant Field Values

CHEF_GEM_SYSTEM_VERSION

static final String CHEF_GEM_SYSTEM_VERSION
To be used in conjunction with CHEF_UPDATE_GEM_SYSTEM. This property will force the version of RubyGems to update the system to.

This property must be set prior to running the ChefService#createBootstrapScriptForGroup(String) method.

See Also:
Constant Field Values

CHEF_UPDATE_GEMS

static final String CHEF_UPDATE_GEMS
Boolean property. Default (false).

When bootstrapping a node, updates the existing gems before installing Chef.

This property must be set prior to running the ChefService#createBootstrapScriptForGroup(String) method.

See Also:
Constant Field Values

CHEF_USE_OMNIBUS

static final String CHEF_USE_OMNIBUS
Boolean property. Default (true).

When bootstrapping a node, install the Chef client using the Omnibus installer.

This property must be set prior to running the ChefService#createBootstrapScriptForGroup(String) method.

See Also:
Constant Field Values


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.