criteo-cookbooks / nexus3

Chef cookbook to install and configure Sonatype Nexus 3 Repository Manager
http://www.sonatype.com/download-oss-sonatype
MIT License
17 stars 17 forks source link

Ensure policyName is an array #124

Closed jeremy-clerc closed 3 years ago

jeremy-clerc commented 3 years ago

The groovy script accepts both a String and an Array, so we accept both too, but what is returned from the script execution is always an arrays, by coecing the value to always be an array, we ensure idempotency.