I'm a little bit confused by the wording of the package module 
documentation, specifically the roles of the `list-updates` and 
`list-updates-local` functions.

First: "This command is expected to return a list of all the available 
updates for currently installed updates." doesn't make sense to me. Should 
it be "This command is expected to return a list of all the available 
updates for currently installed *packages*"? I've been assuming it should.

Second: `list-updates` clearly is meant to go off and fetch a list of 
packages which can be upgraded. Usually this will be from a remote 
repository. The docs say that CfEngine caches this information. Does 
CfEngine itself do this (cf-agent maybe?) or is it the responsibility of 
*the module*?

I can't work this out because I can't quite grasp the role of 
`list-updates-local`. Should that return a list of updates which are stored 
on the local disk? For instance, package files downloaded to 
`/var/spool/pkg`  but not yet installed, or should it return the cached 
result of the previous call to `list-updates`?

It would be great if someone could clarify this for me.

thanks


Rob

-- 
You received this message because you are subscribed to the Google Groups 
"dev-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dev-cfengine/0287a890-e7a7-4362-a736-491914fa559c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to