language-puppet-0.4.0: Tools to parse and evaluate the Puppet DSL.
Puppet.Init
Description
This is a helper module for the Puppet.Daemon module
Synopsis
data Prefs Source
Constructors
Fields
The path to the manifests.
The path to the modules.
The path to the template.
Size of the compiler pool.
Size of the parser pool.
Size of the template pool.
A function that takes a query type, a query and might return stuff
The list of native types.
genPrefs :: Text -> IO PrefsSource
Generates the Prefs structure from a single path.
Prefs
genPrefs "/etc/puppet"
genFacts :: [(Text, Text)] -> FactsSource
Generates Facts from pairs of strings.
Facts
genFacts [("hostname","test.com")]