Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.client


get-metricclj

(get-metric base-url metric-name)
source

submit-catalogclj

(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`.
sourceraw docstring

submit-command-via-http!clj

(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.
sourceraw docstring

submit-factsclj

(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`.
sourceraw docstring

submit-reportclj

(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`.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close