Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultCommand = "itamae" // DefaultStagingDir = "/tmp/packer-itamae" )
View Source
const Version = "0.1.0"
Variables ¶
View Source
var ( // DefaultGems = []string{ "itamae", "specinfra-ec2_metadata-tags", } // DefaultRetrySleep = 5 * time.Second )
View Source
var Revision string
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` // Command string // Gems []string // Vars []string `mapstructure:"environment_vars"` // InstallCommand string `mapstructure:"install_command"` // InstallRetryTimeout time.Duration `mapstructure:"install_retry_timeout"` // SkipInstall bool `mapstructure:"skip_install"` // ExecuteCommand string `mapstructure:"execute_command"` // PreventSudo bool `mapstructure:"prevent_sudo"` // StagingDir string `mapstructure:"staging_directory"` // CleanStagingDir bool `mapstructure:"clean_staging_directory"` // SourceDir string `mapstructure:"source_directory"` // LogLevel string `mapstructure:"log_level"` // Shell string `mapstructure:"shell"` // NodeJSON string `mapstructure:"node_json"` // NodeYAML string `mapstructure:"node_yaml"` // Color *bool `mapstructure:"color"` // ConfigFile string `mapstructure:"config_file"` // ExtraArguments []string `mapstructure:"extra_arguments"` // Recipes []string `mapstructure:"recipes"` // IgnoreExitCodes bool `mapstructure:"ignore_exit_codes"` // contains filtered or unexported fields }
type ExecuteTemplate ¶
type InstallTemplate ¶
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
func (*Provisioner) Cancel ¶
func (p *Provisioner) Cancel()
func (*Provisioner) Prepare ¶
func (p *Provisioner) Prepare(raws ...interface{}) error
func (*Provisioner) Provision ¶
func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error
Click to show internal directories.
Click to hide internal directories.