Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If the package exists on the server, but not extracted, then it does not extract the package to target path, although you specfied the extract to true and specified the extract path. #441

Open
zengyongjie opened this issue Apr 23, 2021 · 0 comments

Comments

@zengyongjie
Copy link

zengyongjie commented Apr 23, 2021

my code:

    archive { "/tmp/iothub_${iotgateway::iot_version}.tar.gz":
      ensure          => present,
      source          => "https://fileserver/iothub_${iotgateway::iot_version}.tar.gz",
      extract         => true,
      creates         => "${iotgateway::iot_workspace}/${iotgateway::iot_version}",
      extract_path    => $iotgateway::iot_workspace,
      checksum_type   => md5,
      checksum_url    => "https://filerserver/iothub_${iotgateway::iot_version}.tar.gz.md5",
      checksum_verify => true
    }
  }

when the package exists on the server, It will not extract to the extract_path.

It just ensured one of the action of this module,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant