Sha256: a607dbd9e52bde0d0aefb783139c139f127536f9e7345eecb02d7a1745588803

Contents?: true

Size: 201 Bytes

Versions: 7

Compression:

Stored size: 201 Bytes

Contents

define archive::tar-gz($source, $target) {
  exec {"$name unpack":
    command => "curl ${source} | tar -xzf - -C ${target} && touch ${name}",
    creates => $name,
    require => Package[curl],
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubyipmi-0.10.0 spec/puppetmodules/archive/manifests/tar-gz.pp
rubyipmi-0.9.3 spec/puppetmodules/archive/manifests/tar-gz.pp
rubyipmi-0.9.2 spec/puppetmodules/archive/manifests/tar-gz.pp
rubyipmi-0.9.1 spec/puppetmodules/archive/manifests/tar-gz.pp
rubyipmi-0.9.0 spec/puppetmodules/archive/manifests/tar-gz.pp
rubyipmi-0.8.1 spec/puppetmodules/archive/manifests/tar-gz.pp
rubyipmi-0.7.0 spec/puppetmodules/archive/manifests/tar-gz.pp