voxpupuli / puppet-archive

Compressed archive file download and extraction with native types/providers for Windows and Unix
https://forge.puppet.com/puppet/archive
Apache License 2.0
60 stars 178 forks source link

no parameter named 'provider' #446

Closed Simoliv closed 3 years ago

Simoliv commented 3 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

use provider as it is described in docs

What are you seeing

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'provider' (file: /etc/puppetlabs/code/environments/production/modules/application/manifests/deployer.pp, line: 107) on Archive[package.tar.gz] (file: /etc/puppetlabs/code/environments/production/modules/application/manifests/deployer.pp, line: 107) on node puppet-dev-a.puppet.local

What behaviour did you expect instead

Works and I can set provider to wget

Output log

Any additional information you'd like to impart

kenyon commented 3 years ago

I think we'll need to see the Puppet code you're using.

Simoliv commented 3 years ago
root@puppet-dev:/etc/puppetlabs/code/environments/production# puppet generate types --environment production  
...
...

did the trick in that case