Documentation ¶
Overview ¶
Package chefsolo implements a provisioner using Chef Solo.
Index ¶
Constants ¶
View Source
const ( // DefaultFormat is the default output format of Chef. DefaultFormat = "doc" // DefaultLogLevel is the default log level of Chef. DefaultLogLevel = "info" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provisioner ¶ added in v0.5.0
type Provisioner struct { RunList []string Attributes string Format string LogLevel string SandboxPath string RootPath string Sudo bool }
Provisioner is a provisioner based on Chef Solo.
func (Provisioner) Command ¶ added in v0.5.0
func (p Provisioner) Command() []string
Command returns the command string which will invoke the provisioner on the prepared machine.
func (Provisioner) PrepareFiles ¶ added in v0.9.0
func (p Provisioner) PrepareFiles() error
PrepareFiles prepares Chef configuration data.
Click to show internal directories.
Click to hide internal directories.