example42 / puppet-yum

Puppet module for Yum
Other
43 stars 116 forks source link

Error: Evaluation Error: Unknown function: 'any2bool'. at init.pp:213:26 #177

Closed jengstrom closed 7 years ago

jengstrom commented 7 years ago

Puppet agent -t returns the following even though puppetlabs/stdlib is in module path.

"Error: Evaluation Error: Unknown function: 'any2bool'. at init.pp:213:26"

puppet --version 4.5.2

mod 'example42/yum', :git => 'https://github.com/example42/puppet-yum.git', :ref => 'v2.1.28'

alvagante commented 7 years ago

As a reference: the function any2bool is provided by a recent version of stdlib: https://github.com/puppetlabs/puppetlabs-stdlib#any2bool Before being added to stdlib we used to have it in puppi (https://github.com/example42/puppi/commit/db0aac5ce2fd3d031011e09de6d74ac897a01222)