language-puppet-1.0.1: Tools to parse and evaluate the Puppet DSL.

Safe HaskellNone
LanguageHaskell98

PuppetDB.TestDB

Description

A stub implementation of PuppetDB, backed by a YAML file.

Synopsis

Documentation

loadTestDB :: FilePath -> IO (Either PrettyError (PuppetDBAPI IO)) Source

Initializes the test DB using a file to back its content

initTestDB :: IO (PuppetDBAPI IO) Source

Starts a new PuppetDB, without any backing file.