I am writing a puppet manifest file to install python and pymongo.
This python module is installed on the server, link shown below https://forge.puppetlabs.com/stankevich/python
Here is the manifest file I created. But it say unknown class and resource . Please suggest what wrong in the syntax.
class { 'python' :
version => 'system',
pip => 'present'
}
python::pip { 'pymongo' :
pkgname => 'pymongo',
ensure => '2.7',
}
It says Unknown class: 'python
and Unknown resource type: 'python::pip'
Thanks,
Best Answer
Looks like
stankevich-python
is not installed in yourmodulepath
. Did you run:You can check you
modulepath
on Puppet master using: