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

Safe HaskellSafe-Infered

Puppet.Init

Description

This is a helper module for the Puppet.Daemon module

Synopsis

Documentation

data Prefs Source

Constructors

Prefs 

Fields

manifest :: FilePath

The path to the manifests.

modules :: FilePath

The path to the modules.

templates :: FilePath

The path to the template.

compilepoolsize :: Int

Size of the compiler pool.

parsepoolsize :: Int

Size of the parser pool.

Instances

genPrefs :: String -> PrefsSource

Generates the Prefs structure from a single path.

 genPrefs "/etc/puppet"

genFacts :: [(String, String)] -> FactsSource

Generates Facts from pairs of strings.

 genFacts [("hostname","test.com")]