I''m trying to use a snapshot of the upcoming 0.25 release on nontrivial
manifests for the first time, and I''m having some problems.
Specifically,
I''m using the stand-alone ''puppet'' executable, and
find that it seems to
ignore the --modulepath option. Or, for that matter, the modulepath
setting in puppet.conf.
In a very simplified manifest set, I have two files:
$ find . -type f -print
./manifests/site.pp
./modules/testmodule/manifests/init.pp
$ cat manifests/site.pp
import "testmodule"
node default
{
include moduleclass
}
$ cat modules/testmodule/manifests/init.pp
class moduleclass
{
file {
"/tmp/testfile":
ensure => file, content =>
"${puppetversion}\n";
}
}
I then run it like this:
# puppet --modulepath=/config/0.25/modules manifests/site.pp
Could not parse for environment production: No file(s) found for import of
''testmodule'' at /config/0.25/manifests/site.pp:3
This is on CentOS 5.3, using a Git snapshot of Puppet (commit
e589cd39cc1d76de59cf4758bb986fa15f64571c). Stock 0.24.8 installed
from EPEL works as I expect.
Setting the modulepath parameter in puppet.conf doesn''t help either,
but setting the environment variable PUPPETLIB does. Am I missing
something that has intentionally been changed for 0.25, or is that
a bug?
/Bellman
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---