language-puppet-0.12.1: 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)Source

Initializes the test DB using a file to back its content

initTestDB :: IO PuppetDBAPISource

Starts a new PuppetDB, without any backing file.