Issue #8466 has been updated by R.I. Pienaar. Branch set to ripienaar/ticket/master/8466
Ticket has morphed a bit out of initial scope, the mentioned branch includes: * Forced direct requests when enabled in the config and for MC::Message's of type :direct_request * Multiple identity filters in a request are now OR and not AND. AND makes no sense as a host can only have 1 identity * The MC::RPC::Client#discover call can now be given JSON or a list that will override discovery and force direct requests * If identities are provided on the CLI using -i then direct requests are forced and NO discovery is done - significant user facing speedup * The rpc application can now take JSON on its STDIN which will override discovery. ---------------------------------------- Feature #8466: When identities are supplied on the command line, do not do discovery https://projects.puppetlabs.com/issues/8466 Author: R.I. Pienaar Status: Accepted Priority: Normal Assignee: R.I. Pienaar Category: Core Target version: 1.3.x Keywords: Branch: ripienaar/ticket/master/8466 Affected mCollective version: When identities are supplied on the CLI using -I or in filters programmatically and non of them are regex then bypass discovery completely. This will require: * RPC::Client#discover to set @discovered_agents based on options[:filter]["identity"] * The identity filter to be an OR rather than AND - there's no sense in identity filters being AND anyway as each node has only one identity * TTLs being supported in #8325 A POC of this is in ripienaar/marionette-collective/poc_no_discovery -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
