i am trying to install the tomcat6 module into the agent.i already download module from puppetlab.and try to connect to server i am getting the following error.
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: No matching value for selector param 'undef' at
/etc/puppet/modules/yum_priorities/manifests/init.pp:19..
the init.pp file contains for yum_priorities
14 class yum_priorities { 15 16 $yum_priorities = $lsbmajdistrelease ? { 17 /4|6/ => 'yum-plugin-priorities', 18 '5' => 'yum-priorities', 19 } 20 21 package {$yum_priorities : 22 ensure => installed, 23 }
my site.pp file in manifest
27 node 'puppet_client' 28 { 29 include tomcat6 30 }
tomcat have dependency on yum_priorities
Looks like that
$lsbmajdistreleaseis not defined.Try to add the proper scope (global):
$::lsbmajdistreleaseFacter should give you that global variable, you can run facter manually and see if there’s an error.