language-puppet-0.10.3: 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 Doc PuppetDBAPI)

Initializes the test DB using a file to back its content

initTestDB :: IO PuppetDBAPI

Starts a new PuppetDB, without any backing file.