terraform/builtin/provisioners/remote-exec
Sander van Harmelen 0e422737ba Fix and refactor the Chef provisioner
The tests did pass, but that was because they only tested part of the changes. By using the `schema.TestResourceDataRaw` function the schema and config are better tested and so they pointed out a problem with the schema of the Chef provisioner.

The `Elem` fields did not have a `*schema.Schema` but a `schema.Schema` and in an `Elem` schema only the `Type` field may (and must) be set. Any other fields like `Optional` are not allowed here.

Next to fixing that problem I also did a little refactoring and cleaning up. Mainly making the `ProvisionerS` private (`provisioner`) and removing the deprecated fields.
2017-05-19 21:05:21 +02:00
..
test-fixtures Few small fixes to make the last tests also pass 2015-05-01 18:48:54 +02:00
resource_provisioner.go provisioner/remote-exec: Fix panic from remote_exec provisioner 2017-05-01 16:48:42 -04:00
resource_provisioner_test.go Fix and refactor the Chef provisioner 2017-05-19 21:05:21 +02:00