Odd, should of worked.
Try this (at this point I'm guessing)
Try removing the import "servername", it's optional in the latest
versions of puppet.
And make sure you have something along the line in nodes.pp
node basenode {
include servername
}
Silviu
On 18.05.2010 12:58, Chantal Rosmuller wrote:
Hi,
I changed puppet.conf and added:
modulepath=/etc/puppet/modules:/etc/puppet/clients
and restarted puppet
unfortunately the same error
Op dinsdag 18 mei 2010 11:36:54 schreef Silviu Paragina:
On 18.05.2010 08:59, Chantal Rosmuller wrote:
in the clients directory there's a directory "servername" with
subdirectories manifests and files
here's my clients/servername/manifests/init.pp:
have you changed the puppet.conf so that it can use the modules from the
new location? Puppet does not load the modules by default from there...
It searches for them in /etc/puppet/modules (if i remember right, as I
don't use the default location)
err: Could not retrieve catalog: Could not parse for environment
production: No file(s) found for import of 'servername' at
/etc/puppet/manifests/clients.pp:1
So what am I doing wrong here?
Silviu
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.