X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=plugins%2Fmcollective%2Fagent%2Frpcutil.ddl;fp=plugins%2Fmcollective%2Fagent%2Frpcutil.ddl;h=1e6e9056d4baf5aa0cb508acfd0f8755f3c58d85;hb=d1f1649ba43c5cbc43c4beb2380096ba051d646a;hp=140abf837915c8f0938d918724c1f29065622b32;hpb=8a3fe7daeecccf43dd71c59371c5005400d35101;p=packages%2Fprecise%2Fmcollective.git diff --git a/plugins/mcollective/agent/rpcutil.ddl b/plugins/mcollective/agent/rpcutil.ddl index 140abf8..1e6e905 100644 --- a/plugins/mcollective/agent/rpcutil.ddl +++ b/plugins/mcollective/agent/rpcutil.ddl @@ -78,6 +78,22 @@ action "get_fact", :description => "Retrieve a single fact from the fact store" end end +action "get_facts", :description => "Retrieve multiple facts from the fact store" do + display :always + + input :facts, + :prompt => "Comma-separated list of facts", + :description => "Facts to retrieve", + :type => :string, + :validation => '^\s*[\w\.\-]+(\s*,\s*[\w\.\-]+)*$', + :optional => false, + :maxlength => 200 + + output :values, + :description => "List of values of the facts", + :display_as => "Values" +end + action "daemon_stats", :description => "Get statistics from the running daemon" do display :always