include - Puppet: stdlib installed but not available in namespace? -



include - Puppet: stdlib installed but not available in namespace? -

as puppet newbie, have problem including stdlib plugin

i utilize stdlib's file_line, seek include stdlib , phone call it

class service_mon { include stdlib file_line { "${name}_services": path=> ... } }

however, error message, stdlib cannot been found

err: not retrieve catalog remote server: error 400 on server: not find class stdlib my.node.name @ /etc/puppet/workspace/dev/src/modules/mymanifest/manifests/deploy.pp:87 on node my.node.name

which makes me wonder since stdlib should installed(?) ...or?

puppet module install puppetlabs-stdli puppet module list /etc/puppet/modules └── puppetlabs-stdlib (v4.2.2) /usr/share/puppet/modules (no modules installed) puppet config print modulepath /etc/puppet/modules:/usr/share/puppet/modules

so, guess in principle necessary files 'there' how can convince puppet include stdlib well?

cheers , hints, thomas

puppet modules not work java modules - include stdlib create sense if there class stdlib in module did useful, not case.

note: many puppet modules do have such class serves central entry point, stdlib notable exception.

you can utilize parser functions stdlib calling them. types, become available puppet if

the module installed within $modulepath and you have pluginsync enabled on agents

you can utilize file_line without ado.

namespaces include std puppet

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -