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