Skip to content

Commit

Permalink
Merge pull request #206 from m0dular/archive_creates_param
Browse files Browse the repository at this point in the history
Add creates param to all archive resources
  • Loading branch information
evgeni authored Jun 1, 2023
2 parents 8acf8aa + 5c28ac0 commit 5de43c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
extract => true,
extract_command => 'tar xfz %s --strip-components=2',
extract_path => $telegraf::archive_install_dir,
creates => "${telegraf::archive_install_dir}/usr/bin/telegraf",
source => $telegraf::archive_location,
cleanup => true,
require => File[$telegraf::archive_install_dir],
Expand Down Expand Up @@ -180,6 +181,7 @@
extract_command => 'tar xfz %s --strip-components=2',
extract_path => $telegraf::archive_install_dir,
source => $telegraf::archive_location,
creates => "${telegraf::archive_install_dir}/usr/bin/telegraf",
cleanup => true,
require => File[$telegraf::archive_install_dir],
}
Expand Down

0 comments on commit 5de43c1

Please sign in to comment.