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"` 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 ¶
func (r *ResourceProvisioner) Apply( o terraform.UIOutput, s *terraform.InstanceState, c *terraform.ResourceConfig) error
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
Click to show internal directories.
Click to hide internal directories.