(submit-catalog base-url certname command-version catalog-payload opts)Inputs: [base-url :- utils/base-url-schema certname :- s/Str command-version :- s/Int catalog-payload opts]
Send the given wire-format catalog (associated with host) to a
command-processing endpoint located at puppetdb-host:puppetdb-port.
Inputs: [base-url :- utils/base-url-schema certname :- s/Str command-version :- s/Int catalog-payload opts] Send the given wire-format `catalog` (associated with `host`) to a command-processing endpoint located at `puppetdb-host`:`puppetdb-port`.
(submit-command-via-http!
base-url
certname
command
version
payload
&
{:keys [timeout post] :or {post post-json-string} :as opts})Submits payload as a valid command of type command and
version to the PuppetDB instance specified by host and
port. The payload will be converted to JSON before
submission. Alternately accepts a command-map object (such as those
returned by parse-command). Returns the server response.
Submits `payload` as a valid command of type `command` and `version` to the PuppetDB instance specified by `host` and `port`. The `payload` will be converted to JSON before submission. Alternately accepts a command-map object (such as those returned by `parse-command`). Returns the server response.
(submit-facts base-url certname facts-version fact-payload)(submit-facts base-url certname facts-version fact-payload opts)Inputs: ([base-url certname facts-version fact-payload] [base-url :- utils/base-url-schema certname :- s/Str facts-version :- s/Int fact-payload opts])
Send the given wire-format facts (associated with host) to a
command-processing endpoint located at puppetdb-host:puppetdb-port.
Inputs: ([base-url certname facts-version fact-payload] [base-url :- utils/base-url-schema certname :- s/Str facts-version :- s/Int fact-payload opts]) Send the given wire-format `facts` (associated with `host`) to a command-processing endpoint located at `puppetdb-host`:`puppetdb-port`.
(submit-report base-url certname command-version report-payload opts)Inputs: [base-url :- utils/base-url-schema certname :- s/Str command-version :- s/Int report-payload opts]
Send the given wire-format report (associated with host) to a
command-processing endpoint located at puppetdb-host:puppetdb-port.
Inputs: [base-url :- utils/base-url-schema certname :- s/Str command-version :- s/Int report-payload opts] Send the given wire-format `report` (associated with `host`) to a command-processing endpoint located at `puppetdb-host`:`puppetdb-port`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |