Class representing a single Puppet Module. The module must already be available on the module
path.
Typical usage is:
...
Constructor Summary |
Manifest(String module)
To include the default manifest from a provided module with the specified name. |
Manifest(String module,
String className)
To run a particular manifest from a provided module with the specified name. |
module
public final String module
className
public final String className
attribs
public final Map<String,String> attribs
Manifest
public Manifest(String module)
- To include the default manifest from a provided module with the specified name. Equivalent to:
puppet apply -e "class { 'module': }"
- Parameters:
module
-
Manifest
public Manifest(String module,
String className)
- To run a particular manifest from a provided module with the specified name. Equivalent to:
puppet apply -e "class { 'module::className': )"
- Parameters:
module
- className
-
toString
public String toString()
- Transforms the Manifest into a puppet resource that can be interpreted by the "puppet apply"
command.
- Overrides:
toString
in class Object
- Returns:
getName
public String getName()
getHiera
public String getHiera()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.