Sha256: 10b31685db92cb694d6ebcd254c02a1bc7946b04c47ab45ef5f67dfc613034f5
Contents?: true
Size: 290 Bytes
Versions: 7
Compression:
Stored size: 290 Bytes
Contents
define archive::zip($source, $target) { exec {"$name unpack": command => "TMPFILE=\$(mktemp); curl -o \${TMPFILE}.zip ${source} && unzip \${TMPFILE}.zip -d ${target} && rm \$TMPFILE && rm \${TMPFILE}.zip && touch ${name}", creates => $name, require => Package['unzip'], } }
Version data entries
7 entries across 7 versions & 1 rubygems