Puppet Plugin Manual

    The XL Deploy Puppet plugin uses the Puppet provisioning tool to install modules and manifests on hosts.

    This document provides information that is specific to this version of the Puppet plugin. For general information about the plugin, refer to Introduction to the XL Deploy Puppet plugin.

    Requirements

    • XL Deploy 6.0.0 or later
    • Puppet 3.4.3 (Unix)

    Limitations

    • The plugin does not support deployments on Microsoft Windows-based hosts
    • The plugin only supports deployment on stand-alone Puppet
    • The plugin does not support Puppet master and Puppet agent node configuration

    Release notes

    XL Deploy Puppet plugin 6.0.0

    • [DEPL-9810] - Merge deployment and provisioning plugins for XL Deploy

    XL Deploy Puppet plugin 5.1.1

    Bug fixes

    • [DEPL-10193] - Execution plan shows DONE even when there are errors while deploying using Puppet plugin
    • [DEPL-10529] - Remove ANSI escape code from step logs

    XL Deploy Puppet plugin 5.1.0

    Initial release.

    CI Reference

    Configuration Item Overview

    Deployables

    CI Description
    puppet.Manifest Puppet manifest file applied on the host
    puppet.ManifestFolder Puppet manifest folder applied on the host
    puppet.Module Puppet module installed from Puppet Forge
    puppet.TarBallModule Puppet module installed from a tarball archive file

    Deployeds

    CI Description
    puppet.AppliedManifest Puppet manifest file applied on the host
    puppet.AppliedManifestFolder Puppet manifest folder applied on the host
    puppet.InstalledModule Puppet module installed from Puppet Forge
    puppet.InstalledTarBallModule Puppet module installed from a tarball archive file

    Other Configuration Items

    CI Description
    puppet.AppliedManifest Puppet manifest file applied on the host
    puppet.AppliedManifestFolder Puppet manifest folder applied on the host
    puppet.InstalledModule Puppet module installed from Puppet Forge
    puppet.InstalledTarBallModule Puppet module installed from a tarball archive file
    puppet.Manifest Puppet manifest file applied on the host
    puppet.ManifestFolder Puppet manifest folder applied on the host
    puppet.Module Puppet module installed from Puppet Forge
    puppet.TarBallModule Puppet module installed from a tarball archive file

    Configuration Item Details

    puppet.AppliedManifest

    Type Hierarchy udm.BaseDeployedArtifact >> udm.BaseDeployed >> udm.BaseConfigurationItem
    Interfaces udm.DerivedArtifact, udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem

    Puppet manifest file applied on the host.

    Parent
     
     
    container : CI<udm.Container>
    The container on which this deployed runs.
    Public Properties
     
     
    applyOnNoop : BOOLEAN  = false
    Apply the manifest on NOOP state.
     
     
    applyOrder : INTEGER  = 50
    Order at which the puppet provisioning of the manifest should happen.
     
     
    deployable : CI<udm.Deployable>
    The deployable that this deployed is derived from.
     
     
    placeholders : MAP_STRING_STRING
    A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>

    puppet.AppliedManifestFolder

    Type Hierarchy udm.BaseDeployedArtifact >> udm.BaseDeployed >> udm.BaseConfigurationItem
    Interfaces udm.DerivedArtifact, udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem

    Puppet manifest folder applied on the host.

    Parent
     
     
    container : CI<udm.Container>
    The container on which this deployed runs.
    Public Properties
     
     
    manifestFile : STRING
    Manifest file name; for example, init.pp.
     
     
    manifestPath : STRING
    Location of the manifest folder as an absolute path or as a path relative to the uploaded folder artifact.
     
     
    applyOnNoop : BOOLEAN  = false
    Apply the manifests on NOOP state.
     
     
    applyOrder : INTEGER  = 50
    Order at which the Puppet provisioning of the manifest should happen.
     
     
    debug : BOOLEAN  = false
    Enable debug mode.
     
     
    deployable : CI<udm.Deployable>
    The deployable that this deployed is derived from.
     
     
    hieraConfig : STRING
    Location of the Hiera configuration file as an absolute path or as a path relative to the uploaded folder artifact.
     
     
    modulePath : STRING
    Location of the module directory as an absolute path or as a path relative to the uploaded folder artifact.
     
     
    placeholders : MAP_STRING_STRING
    A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>
     
     
    trace : BOOLEAN  = false
    Enable trace mode.
     
     
    verbose : BOOLEAN  = false
    Enable verbose mode.

    puppet.InstalledModule

    Type Hierarchy udm.BaseDeployed >> udm.BaseConfigurationItem
    Interfaces udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem

    Puppet module installed from Puppet Forge. The artifact name should be same as the Puppet module name. For example, puppetlabs-apache.

    Parent
     
     
    container : CI<udm.Container>
    The container on which this deployed runs.
    Public Properties
     
     
    debug : BOOLEAN  = false
    Enable debug mode.
     
     
    deployable : CI<udm.Deployable>
    The deployable that this deployed is derived from.
     
     
    force : BOOLEAN  = false
    Force overwrite of existing module, if any. Implies --force.
     
     
    ignoreDependencies : BOOLEAN  = false
    Do not attempt to install dependencies. Implied by --ignore-dependencies.
     
     
    installOrder : INTEGER  = 50
    Order at which the Puppet module should be installed.
     
     
    moduleName : STRING
    Name of the module to be installed. This is not required if Module name is same as module name.
     
     
    uninstallOrder : INTEGER  = 49
    Order at which the installed Puppet module should be uninstalled.
     
     
    version : STRING
    Version of the module to install from Puppet Forge.

    puppet.InstalledTarBallModule

    Type Hierarchy udm.BaseDeployedArtifact >> udm.BaseDeployed >> udm.BaseConfigurationItem
    Interfaces udm.DerivedArtifact, udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem

    Puppet module installed from a tarball archive file. The artifact name should be same as the Puppet module name. For example, puppetlabs-apache.

    Parent
     
     
    container : CI<udm.Container>
    The container on which this deployed runs.
    Public Properties
     
     
    debug : BOOLEAN  = false
    Enable debug mode.
     
     
    deployable : CI<udm.Deployable>
    The deployable that this deployed is derived from.
     
     
    installOrder : INTEGER  = 50
    Order at which the Puppet module should be installed.
     
     
    moduleName : STRING
    Name of the module to be installed. This is not required if TarBallModule name is same as module name.
     
     
    placeholders : MAP_STRING_STRING
    A Map containing all the placeholders mapped to their values. Special values are <ignore> or <empty>
     
     
    uninstallOrder : INTEGER  = 49
    Order at which the installed Puppet module should be uninstalled.

    puppet.Manifest

    Type Hierarchy udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
    Interfaces udm.SourceArtifact, udm.Artifact, udm.ConfigurationItem, udm.Taggable, udm.DeployableArtifact, udm.Deployable, udm.FileArtifact

    Puppet manifest file applied on the host.

    Public Properties
     
     
    applyOnNoop : STRING
    Apply the manifest on NOOP state. (boolean) default(false)
     
     
    applyOrder : STRING
    Order at which the puppet provisioning of the manifest should happen. (integer) default(50)
     
     
    checksum : STRING
    The checksum used to detect differences on the artifact. If not provided, it will be calculated by XL Deploy.
     
     
    excludeFileNamesRegex : STRING
    Regular expression that matches file names that must be excluded from scanning
     
     
    fileUri : STRING
    The URI pointing to the (remote) location of the file this artifact represents
     
     
    placeholders : SET_OF_STRING
    Placeholders detected in this artifact
     
     
    scanPlaceholders : BOOLEAN  = true
    Whether to scan this artifact for placeholders when it is imported
     
     
    tags : SET_OF_STRING
    If set, this deployable will only be mapped automatically to containers with the same tag.
    Hidden Properties
     
     
    textFileNamesRegex : STRING  = .+\.(properties | pp)
    Regular expression that matches file names of text files
     
     
    delimiters : STRING  = {{ }}
    The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter
     
     
    fileEncodings : MAP_STRING_STRING  = {.+\.properties=ISO-8859-1}
    A map that maps regular expressions matching the full path of file(s) in the artifact to character set encodings

    puppet.ManifestFolder

    Type Hierarchy udm.BaseDeployableFolderArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
    Interfaces udm.FolderArtifact, udm.SourceArtifact, udm.Artifact, udm.ConfigurationItem, udm.Taggable, udm.DeployableArtifact, udm.Deployable

    Puppet manifest folder applied on the host.

    Public Properties
     
     
    applyOnNoop : STRING
    Apply the manifests on NOOP state. (boolean) default(false)
     
     
    applyOrder : STRING
    Order at which the Puppet provisioning of the manifest should happen. (integer) default(50)
     
     
    checksum : STRING
    The checksum used to detect differences on the artifact. If not provided, it will be calculated by XL Deploy.
     
     
    debug : STRING
    Enable debug mode. (boolean) default(false)
     
     
    excludeFileNamesRegex : STRING
    Regular expression that matches file names that must be excluded from scanning
     
     
    fileUri : STRING
    The URI pointing to the (remote) location of the file this artifact represents
     
     
    hieraConfig : STRING
    Location of the Hiera configuration file as an absolute path or as a path relative to the uploaded folder artifact. (string)
     
     
    manifestFile : STRING
    Manifest file name; for example, init.pp. (string)
     
     
    manifestPath : STRING
    Location of the manifest folder as an absolute path or as a path relative to the uploaded folder artifact. (string)
     
     
    modulePath : STRING
    Location of the module directory as an absolute path or as a path relative to the uploaded folder artifact. (string)
     
     
    placeholders : SET_OF_STRING
    Placeholders detected in this artifact
     
     
    scanPlaceholders : BOOLEAN  = true
    Whether to scan this artifact for placeholders when it is imported
     
     
    tags : SET_OF_STRING
    If set, this deployable will only be mapped automatically to containers with the same tag.
     
     
    trace : STRING
    Enable trace mode. (boolean) default(false)
     
     
    verbose : STRING
    Enable verbose mode. (boolean) default(false)
    Hidden Properties
     
     
    textFileNamesRegex : STRING  = .+\.(properties | pp)
    Regular expression that matches file names of text files
     
     
    delimiters : STRING  = {{ }}
    The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter
     
     
    fileEncodings : MAP_STRING_STRING  = {.+\.properties=ISO-8859-1}
    A map that maps regular expressions matching the full path of file(s) in the artifact to character set encodings

    puppet.Module

    Type Hierarchy udm.BaseDeployable >> udm.BaseConfigurationItem
    Interfaces udm.ConfigurationItem, udm.Taggable, udm.Deployable

    Puppet module installed from Puppet Forge. The artifact name should be same as the Puppet module name. For example, puppetlabs-apache.

    Public Properties
     
     
    debug : STRING
    Enable debug mode. (boolean) default(false)
     
     
    force : STRING
    Force overwrite of existing module, if any. Implies --force. (boolean) default(false)
     
     
    ignoreDependencies : STRING
    Do not attempt to install dependencies. Implied by --ignore-dependencies. (boolean) default(false)
     
     
    installOrder : STRING
    Order at which the Puppet module should be installed. (integer) default(50)
     
     
    moduleName : STRING
    Name of the module to be installed. This is not required if Module name is same as module name. (string)
     
     
    tags : SET_OF_STRING
    If set, this deployable will only be mapped automatically to containers with the same tag.
     
     
    uninstallOrder : STRING
    Order at which the installed Puppet module should be uninstalled. (integer) default(49)
     
     
    version : STRING
    Version of the module to install from Puppet Forge. (string)

    puppet.TarBallModule

    Type Hierarchy udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
    Interfaces udm.SourceArtifact, udm.Artifact, udm.ConfigurationItem, udm.Taggable, udm.DeployableArtifact, udm.Deployable, udm.FileArtifact

    Puppet module installed from a tarball archive file. The artifact name should be same as the Puppet module name. For example, puppetlabs-apache.

    Public Properties
     
     
    checksum : STRING
    The checksum used to detect differences on the artifact. If not provided, it will be calculated by XL Deploy.
     
     
    debug : STRING
    Enable debug mode. (boolean) default(false)
     
     
    excludeFileNamesRegex : STRING
    Regular expression that matches file names that must be excluded from scanning
     
     
    fileUri : STRING
    The URI pointing to the (remote) location of the file this artifact represents
     
     
    installOrder : STRING
    Order at which the Puppet module should be installed. (integer) default(50)
     
     
    moduleName : STRING
    Name of the module to be installed. This is not required if TarBallModule name is same as module name. (string)
     
     
    placeholders : SET_OF_STRING
    Placeholders detected in this artifact
     
     
    scanPlaceholders : BOOLEAN  = true
    Whether to scan this artifact for placeholders when it is imported
     
     
    tags : SET_OF_STRING
    If set, this deployable will only be mapped automatically to containers with the same tag.
     
     
    uninstallOrder : STRING
    Order at which the installed Puppet module should be uninstalled. (integer) default(49)
    Hidden Properties
     
     
    textFileNamesRegex : STRING  = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)
    Regular expression that matches file names of text files
     
     
    delimiters : STRING  = {{ }}
    The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter
     
     
    fileEncodings : MAP_STRING_STRING  = {.+\.properties=ISO-8859-1}
    A map that maps regular expressions matching the full path of file(s) in the artifact to character set encodings