diff --git a/manifests/install.pp b/manifests/install.pp index a4a5b02..1bb487a 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -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], @@ -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], }