how to set path when applying single puppet module?

view full story

http://serverfault.com – I'm trying to run a single module like this: puppet apply --verbose --modulepath=moduleshere --noop -e 'include myclass' However, I get this kind of error, indicating the path is not set Parameter unless failed: '[ -e "${logfile}" ]' is not qualified and no path was specified. Please qualify the command or specify a path. I don't want to explicitly specify the path in every such location, and it works fine when run as part of a full puppet run. How can I specify the path when running a single module? (HowTos)