chefsolo

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2015 License: Apache-2.0 Imports: 5 Imported by: 3

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.

Jump to

Keyboard shortcuts

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