mattray / spiceweasel

Generates Chef knife commands from a simple JSON or YAML file.
Apache License 2.0
284 stars 65 forks source link

Parser assumes double quotes #26

Closed miketheman closed 11 years ago

miketheman commented 11 years ago

Ref: https://github.com/mattray/spiceweasel/blob/master/lib/spiceweasel/roles.rb#L57

A role of:

name 'foo'
description 'foobar'

will provide an error:

ERROR: Role 'foo' listed in the manifest does not match the name ''foo'' within the roles/foo.rb file.
mattray commented 11 years ago

This shouldn't be an issue with 2.1, since the validation is now done with the Chef::Role.