chef

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2015 License: MPL-2.0 Imports: 18 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"`
	Environment          string      `mapstructure:"environment"`
	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"`
	SecretKeyPath        string      `mapstructure:"secret_key_path"`
	ServerURL            string      `mapstructure:"server_url"`
	SkipInstall          bool        `mapstructure:"skip_install"`
	SSLVerifyMode        string      `mapstructure:"ssl_verify_mode"`
	ValidationClientName string      `mapstructure:"validation_client_name"`
	ValidationKeyPath    string      `mapstructure:"validation_key_path"`
	Version              string      `mapstructure:"version"`
	// 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