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

Safe HaskellNone

PuppetDB.Query

Synopsis

Documentation

data Query Source

Constructors

Query Operator [Query] 
Term Text 
Terms [Text] 

Instances

queryRealize :: Text -> Text -> QuerySource

Query used for realizing a resources, when its type and title is known.

collectAll :: Text -> QuerySource

Collects all resources of a given type

collectTag :: Text -> Text -> QuerySource

Collections based on tags.

collectParam :: Text -> Text -> Text -> QuerySource

Used to emulate collections such as `Typeprmname == "prmval" ||`