galaxyproject / planemo-machine

A packer.io configuration for building out Galaxy (http://galaxyproject.org/) tool development environments.
10 stars 16 forks source link

Fixing packer.json file to work with newer versions of packer #44

Closed kellrott closed 9 years ago

kellrott commented 9 years ago

In newer versions of packer, the packer.json file fails:

Failed to parse template: 4 error(s) occurred:

* variable docker_commit: '' expected type 'string', got unconvertible type 'bool'
* variable docker_pull: '' expected type 'string', got unconvertible type 'bool'
* variable include_x: '' expected type 'string', got unconvertible type 'bool'
* variable docker_autostart: '' expected type 'string', got unconvertible type 'bool'

This patch fixes those errors

jmchilton commented 9 years ago

Thanks for the fix @kellrott! Merged as https://github.com/galaxyproject/planemo-machine/pull/46. Small point is that packer.json shouldn't be updated directly. Need to update packer.yaml and do make packer to rebuild packer.json.