Sha256: f4f6f062333037e1e1906a7c9a21ea02d14fc7184727dfd94fbc58b1f47de20c

Contents?: true

Size: 1003 Bytes

Versions: 20

Compression:

Stored size: 1003 Bytes

Contents

#   This module manages staging and extraction of files from various sources.
#
# #### Actions:
#
#   Creates the root staging directory. By default files will be created in a subdirectory matching the caller_module_name.
#
#      /opt/staging/
#                 |-- puppet
#                 |   `-- puppet.enterprise.2.0.tar.gz
#                 `-- tomcat
#                     `-- tomcat.5.0.tar.gz
#
class staging (
  $path      = $staging::params::path,     #: staging directory filepath
  $owner     = $staging::params::owner,    #: staging directory owner
  $group     = $staging::params::group,    #: staging directory group
  $mode      = $staging::params::mode,     #: staging directory permission
  $exec_path = $staging::params::exec_path #: executable default path
) inherits staging::params {

  # Resolve conflict with pe_staging
  if !defined(File[$path]) {
    file { $path:
      ensure => directory,
      owner  => $owner,
      group  => $group,
      mode   => $mode,
    }
  }

}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-retrospec-1.8.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.7.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.6.1 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.6.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.5.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.4.1 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.4.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.3.2 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.3.1 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.3.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.2.1 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.2.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.1.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-1.0.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-0.12.1 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-0.12.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-0.11.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-0.10.0 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-0.9.1 spec/fixtures/modules/staging/manifests/init.pp
puppet-retrospec-0.9.0 spec/fixtures/modules/staging/manifests/init.pp