> @@ -108,7 +109,7 @@ public Statement apply(String group) {
> String.format("chef_server_url \"%s\"", endpoint.get())));
>
> Statement createValidationPem = appendFile(chefConfigDir +
> "{fs}validation.pem",
> - Splitter.on('\n').split(Pems.pem(validatorKey)));
> +
> Splitter.on(Pattern.compile("(\\r\\n)|(\\n)")).split(Pems.pem(validatorKey)));
> It did not seem necessary here, unless you process millions of statements...?
If this won't be invoked often, let's indeed just leave as-is...
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/5/files#r4939767