Safe Haskell | None |
---|
Common data types for PuppetDB.
- data PDBType
- getDefaultDB :: PDBType -> IO (Either Doc PuppetDBAPI)
- generateWireCatalog :: Nodename -> FinalCatalog -> EdgeMap -> WireCatalog
Documentation
data PDBType
The supported PuppetDB implementations.
getDefaultDB :: PDBType -> IO (Either Doc PuppetDBAPI)
Given a PDBType
, will try return a sane default implementation.
generateWireCatalog :: Nodename -> FinalCatalog -> EdgeMap -> WireCatalog
Turns a FinalCatalog
and EdgeMap
into a document that can be
serialized and fed to puppet apply
.