Skip to content

Comments

Environments and Roles can be JSON as well as Ruby#133

Open
pikesley wants to merge 4 commits intoAtalanta:masterfrom
theodi:feature-roles-and-envs-as-json
Open

Environments and Roles can be JSON as well as Ruby#133
pikesley wants to merge 4 commits intoAtalanta:masterfrom
theodi:feature-roles-and-envs-as-json

Conversation

@pikesley
Copy link
Collaborator

I was attempting to use Etsy's rather nice knife-spork tool, but it blew up because it expects environments as JSON, not as Ruby, so I changed the env in question over to JSON and then my cuke-chef runs started failing spectacularly because it was only uploading the *.rb envs.

Hence this. And it's also valid for a role to be JSON, too, of course.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think you meant for that to be *.json?

@zpatten
Copy link
Collaborator

zpatten commented Aug 15, 2013

Nice! Just see my one little comment there; looks like a little typo.

@pikesley
Copy link
Collaborator Author

Fixed. It's been a long day (also I'm sometimes an idiot)

;)

@pikesley
Copy link
Collaborator Author

Oh dammit. It fails if there are no JSON files present. I'll add some kind of checking around this.

@pikesley
Copy link
Collaborator Author

OK, try that for size :)

@pikesley
Copy link
Collaborator Author

I think this works now...

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

Successfully merging this pull request may close these issues.

2 participants