Small textual update...
This commit is contained in:
parent
c19d92fb67
commit
2a5fffc24d
|
@ -23,7 +23,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
clienrb = "client.rb"
|
clienrb = "client.rb"
|
||||||
defaultChefEnv = "_default"
|
defaultEnv = "_default"
|
||||||
firstBoot = "first-boot.json"
|
firstBoot = "first-boot.json"
|
||||||
logfileDir = "logfiles"
|
logfileDir = "logfiles"
|
||||||
linuxConfDir = "/etc/chef"
|
linuxConfDir = "/etc/chef"
|
||||||
|
@ -186,7 +186,7 @@ func (r *ResourceProvisioner) decodeConfig(c *terraform.ResourceConfig) (*Provis
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.Environment == "" {
|
if p.Environment == "" {
|
||||||
p.Environment = defaultChefEnv
|
p.Environment = defaultEnv
|
||||||
}
|
}
|
||||||
|
|
||||||
if attrs, ok := c.Raw["attributes"]; ok {
|
if attrs, ok := c.Raw["attributes"]; ok {
|
||||||
|
|
Loading…
Reference in New Issue