diff --git a/provisioner/chef-solo/provisioner.go b/provisioner/chef-solo/provisioner.go index 2a9a08522..0d95a0ec5 100644 --- a/provisioner/chef-solo/provisioner.go +++ b/provisioner/chef-solo/provisioner.go @@ -522,7 +522,7 @@ data_bag_path "{{.DataBagsPath}}" encrypted_data_bag_secret "{{.EncryptedDataBagSecretPath}}" {{end}} {{if .HasEnvironmentsPath}} -environments_path "{{.EnvironmentsPath}}" -chef_environment "{{.ChefEnvironment}}" +environment_path "{{.EnvironmentsPath}}" +environment "{{.ChefEnvironment}}" {{end}} `