Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 63db45f

Browse files
committed
extract: add test for .tar.bz2 files
1 parent c092a17 commit 63db45f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

files/sample.tar.bz2

27.3 KB
Binary file not shown.

tests/extract.pp

+10
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@
1313
creates => '/tmp/staging/sample',
1414
require => Staging::File['sample.tar.gz'],
1515
}
16+
17+
staging::file { 'sample.tar.bz2':
18+
source => 'puppet:///modules/staging/sample.tar.bz2'
19+
}
20+
21+
staging::extract { 'sample.tar.bz2':
22+
target => '/tmp/staging',
23+
creates => '/tmp/staging/sample-tar-bz2',
24+
require => Staging::File['sample.tar.bz2'],
25+
}

0 commit comments

Comments
 (0)