Closed davividal closed 7 years ago
This PR broke things in other ways:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: The value 'name' cannot be converted to Numeric. at /etc/puppet/modules/yum/manifests/repo/remi_safe.pp:6:23 on node.
@kmcfate I'm using puppet 4.2.1. What puppet version are you using?
Fixed with stringify_facts=false on the agent. Although this is rather annoying, since puppet will not run, so I can't update stringify_facts on the agents with this change enabled.
I suppose we can easily change $::os['name'] to $::operatingsystem here
@alvagante should I open a new PR?
Expected Behavior
Use remi repositories to install php.
Actual Behavior
Remi repositories relies on yum's $releasever, which resolves to 'latest' on Amazon Linux. Remi's doesn't have a 'latest' endpoint.
Steps to Reproduce the Problem
Specifications
facter -p output:
puppet-yum version: 2.1.27 mayflower/php: 4.0.0-beta1
puppet code: