I've created a basic Puppet Enterprise setup for testing. It has a puppet_control repo (using the Puppet-supplied example), uses Code Manager and only pulls in a handful of modules from the Forge and has a few manifests.
However, whenever I run `puppet-code deploy --all --wait`, I get the following error:
[{"environment":"production","id":5,"status":"failed","error":{"kind":"puppetlabs.code-manager/deploy-failure","details":{"corrected-env-name":"production"},"msg":"Errors while deploying environment 'production' (exit code: 1):\nERROR\t -> undefined method `each' for #\n"}}]
(Running `puppet-code deploy` with a `-l debug` or `-l trace` does not produce anything more in-depth on that error.
What's interesting is that if I remove all of the `module` lines from Puppetfile, i.e. don't import any modules, then the deployment works and the code is synced from */etc/puppetlabs/code-staging/* to */etc/puppetlabs/code/*.
The only wrench in this whole setup that may be affecting this is that the Puppet Master/Server has to go through a web proxy to get out to the Internet. However, this works. OTOH, I have no idea if Code Manager isn't following what it sees in `r10k.yaml`.
Any ideas would be appreciated.
↧