0e422737ba
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. |
||
---|---|---|
.. | ||
chef.html.markdown | ||
connection.html.markdown | ||
file.html.markdown | ||
index.html.markdown | ||
local-exec.html.markdown | ||
null_resource.html.markdown | ||
remote-exec.html.markdown |