Michael,
Yes, package resources (like all resources) need to be checked before
puppet can do anything with them. I'm not quite sure what you mean by
"use yaml with a single command" - puppet Package resources must be
specified with one single package name, there's no way around this that
I'm aware of. I think you may be misunderstanding something.
What distribution/OS are you on? What provider is being used for these
packages? Can you provide the output of a --verbose or --debug run?
The real issue here, AFAIK, is that whatever package provider you're
using doesn't seem to be prefetching the resources, which leads to this
amazingly long query time. Also, taking a full 2 seconds for a package
check sounds really wrong - once again, something that seems to point to
prefetch not working (of course there are some cases where it's
impossible, but those are generally edge cases AFAIK).
-jantman
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
puppet-users...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/puppet-users/108cb765-add9-4f0b-ad2e-fa521836ec8b%40googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.