Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax in custom resources seems to be incorrect #5

Open
funjon opened this issue Sep 28, 2016 · 0 comments
Open

Syntax in custom resources seems to be incorrect #5

funjon opened this issue Sep 28, 2016 · 0 comments

Comments

@funjon
Copy link

funjon commented Sep 28, 2016

It seems that there are some syntax issues when declaring attributes in the custom resources. For example:

https://github.com/RiotGamesCookbooks/dirsrv-cookbook/blob/master/resources/agreement.rb#L32

According to the Chef guys, this is invalid, you can't declare it as an enum - it needs to be defined as a String, and then value validation later. Discovered with Chef client 12.14.60. When changed to SSL, the error returned is:

  TypeError
  ---------
  class or module required

I have more details if required including a full stack trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant