example42 / puppet-yum

Puppet module for Yum
Other
43 stars 116 forks source link

Fix for error: No matching entry for selector parameter with value '7' #125

Closed Eyjafjallajokull closed 7 years ago

Eyjafjallajokull commented 8 years ago

I had following error:

==> default: Debug: importing '/tmp/vagrant-puppet/modules-1d4682507a6d4aac498d84685726f3b6/yum/manifests/managed_yumrepo.pp' in environment development
==> default: Debug: Automatically imported yum::managed_yumrepo from yum/managed_yumrepo into development
==> default: Debug: importing '/tmp/vagrant-puppet/modules-1d4682507a6d4aac498d84685726f3b6/yum/manifests/repo/webtatic.pp' in environment development
==> default: Debug: Automatically imported yum::repo::webtatic from yum/repo/webtatic into development
==> default: Error: Evaluation Error: No matching entry for selector parameter with value '7' at /tmp/vagrant-puppet/modules-1d4682507a6d4aac498d84685726f3b6/yum/manifests/repo/webtatic.pp:7:19 on node vagrant.lpp.local

Probably reason was wrong variable type, my PR fixes this.

Using under vagrant box: puppetlabs/centos-7.0-64-puppet