chef

package
v0.7.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2016 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provisioner

type Provisioner struct {
	Attributes            interface{} `mapstructure:"attributes"`
	AttributesJSON        string      `mapstructure:"attributes_json"`
	ClientOptions         []string    `mapstructure:"client_options"`
	DisableReporting      bool        `mapstructure:"disable_reporting"`
	Environment           string      `mapstructure:"environment"`
	FetchChefCertificates bool        `mapstructure:"fetch_chef_certificates"`
	LogToFile             bool        `mapstructure:"log_to_file"`
	UsePolicyfile         bool        `mapstructure:"use_policyfile"`
	PolicyGroup           string      `mapstructure:"policy_group"`
	PolicyName            string      `mapstructure:"policy_name"`
	HTTPProxy             string      `mapstructure:"http_proxy"`
	HTTPSProxy            string      `mapstructure:"https_proxy"`
	NOProxy               []string    `mapstructure:"no_proxy"`
	NodeName              string      `mapstructure:"node_name"`
	OhaiHints             []string    `mapstructure:"ohai_hints"`
	OSType                string      `mapstructure:"os_type"`
	PreventSudo           bool        `mapstructure:"prevent_sudo"`
	RunList               []string    `mapstructure:"run_list"`
	SecretKey             string      `mapstructure:"secret_key"`
	ServerURL             string      `mapstructure:"server_url"`
	SkipInstall           bool        `mapstructure:"skip_install"`
	SSLVerifyMode         string      `mapstructure:"ssl_verify_mode"`
	ValidationClientName  string      `mapstructure:"validation_client_name"`
	ValidationKey         string      `mapstructure:"validation_key"`
	Version               string      `mapstructure:"version"`

	// Deprecated Fields
	SecretKeyPath     string `mapstructure:"secret_key_path"`
	ValidationKeyPath string `mapstructure:"validation_key_path"`
	// contains filtered or unexported fields
}

Provisioner represents a specificly configured chef provisioner

func (*Provisioner) Output

func (p *Provisioner) Output(output string)

Output implementation of terraform.UIOutput interface

type ResourceProvisioner

type ResourceProvisioner struct{}

ResourceProvisioner represents a generic chef provisioner

func (*ResourceProvisioner) Apply

Apply executes the file provisioner

func (*ResourceProvisioner) Validate

func (r *ResourceProvisioner) Validate(c *terraform.ResourceConfig) (ws []string, es []error)

Validate checks if the required arguments are configured

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL