| Class | Puppet::Util::Puppetdb::Command |
| In: |
lib/puppet/util/puppetdb/command.rb
|
| Parent: | Object |
| CommandsUrl | = | "/v3/commands" |
| certname | [R] | |
| command | [R] | |
| payload | [R] | |
| version | [R] |
Initialize a Command object, for later submission.
@param command String the name of the command; should be one of the
constants defined in `Puppet::Util::Puppetdb::CommandNames`
@param version Integer the command version number @param certname The certname that this command operates on (is not
included in the actual submission)
@param payload Object the payload of the command. This object should be a
primitive (numeric type, string, array, or hash) that is natively supported by JSON serialization / deserialization libraries.