mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-27 18:24:01 -04:00
Changed new code to use tabs instead of spaces
This commit is contained in:
@@ -56,8 +56,8 @@ type Config struct {
|
||||
InstallCommand string `mapstructure:"install_command"`
|
||||
KnifeCommand string `mapstructure:"knife_command"`
|
||||
NodeName string `mapstructure:"node_name"`
|
||||
PolicyGroup string `mapstructure:"policy_group"`
|
||||
PolicyName string `mapstructure:"policy_name"`
|
||||
PolicyGroup string `mapstructure:"policy_group"`
|
||||
PolicyName string `mapstructure:"policy_name"`
|
||||
PreventSudo bool `mapstructure:"prevent_sudo"`
|
||||
RunList []string `mapstructure:"run_list"`
|
||||
ServerUrl string `mapstructure:"server_url"`
|
||||
@@ -84,8 +84,8 @@ type ConfigTemplate struct {
|
||||
ClientKey string
|
||||
EncryptedDataBagSecretPath string
|
||||
NodeName string
|
||||
PolicyGroup string
|
||||
PolicyName string
|
||||
PolicyGroup string
|
||||
PolicyName string
|
||||
ServerUrl string
|
||||
SslVerifyMode string
|
||||
TrustedCertsDir string
|
||||
@@ -274,8 +274,8 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
|
||||
remoteValidationKeyPath,
|
||||
p.config.ValidationClientName,
|
||||
p.config.ChefEnvironment,
|
||||
p.config.PolicyGroup,
|
||||
p.config.PolicyName,
|
||||
p.config.PolicyGroup,
|
||||
p.config.PolicyName,
|
||||
p.config.SslVerifyMode,
|
||||
p.config.TrustedCertsDir)
|
||||
if err != nil {
|
||||
@@ -380,8 +380,8 @@ func (p *Provisioner) createConfig(
|
||||
ValidationKeyPath: remoteKeyPath,
|
||||
ValidationClientName: validationClientName,
|
||||
ChefEnvironment: chefEnvironment,
|
||||
PolicyGroup: policyGroup,
|
||||
PolicyName: policyName,
|
||||
PolicyGroup: policyGroup,
|
||||
PolicyName: policyName,
|
||||
SslVerifyMode: sslVerifyMode,
|
||||
TrustedCertsDir: trustedCertsDir,
|
||||
EncryptedDataBagSecretPath: encryptedDataBagSecretPath,
|
||||
|
||||
Reference in New Issue
Block a user