The vault_lookup object is being inserted into the URI instead of the actual value of the vault_lookup. See log output below.
What behaviour did you expect instead
The password lookup to be deferred.
Output log
Error: Could not set 'present' on ensure: bad URI(is not URI?): "https://user:Deferred({'name' => 'vault_lookup::lookup', 'arguments' => ['secret/test', {'vault_addr' => 'https://vault.hostname:8200'}]})@source.url.com/some_name.tar" (file: .... manifests/init.pp, line: ###)
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Specify an archive that uses username and password
What are you seeing
The vault_lookup object is being inserted into the URI instead of the actual value of the vault_lookup. See log output below.
What behaviour did you expect instead
The password lookup to be deferred.
Output log
Any additional information you'd like to impart