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

Safe HaskellNone

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.