Open pikesley opened 11 years ago
Nice! Just see my one little comment there; looks like a little typo.
Fixed. It's been a long day (also I'm sometimes an idiot)
;)
Oh dammit. It fails if there are no JSON files present. I'll add some kind of checking around this.
OK, try that for size :)
I think this works now...
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.