terraform/website
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
..
scripts Re-enable soft purging, stale-if-error 2017-03-01 12:38:09 -05:00
source Fix and refactor the Chef provisioner 2017-05-19 21:05:21 +02:00
Gemfile Update basic scaffolding 2017-04-06 14:08:37 -04:00
Gemfile.lock Update basic scaffolding 2017-04-06 14:08:37 -04:00
LICENSE.md Update license 2017-03-08 11:38:20 -08:00
Makefile Update basic scaffolding 2017-04-06 14:08:37 -04:00
README.md update website readme to note 🐳 docker requirement 2017-05-02 15:03:11 -07:00
config.rb v0.9.5 2017-05-11 09:22:11 +00:00
packer.json Update basic scaffolding 2017-04-06 14:08:37 -04:00

README.md

Terraform Website

This subdirectory contains the entire source for the Terraform Website. This is a Middleman project, which builds a static site from these source files.

Contributions Welcome!

If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.

Running the Site Locally

Running the site locally is simple:

  1. Install Docker if you have not already done so
  2. Clone this repo and run make website

Then open up http://localhost:4567. Note that some URLs you may need to append ".html" to make them work (in the navigation).