|
Debug: /Stage[main]/Main/File[/tmp/rnd]: Nothing to manage: no ensure and the resource doesn't exist
The same thing with non-http source works just fine
adding ensure => present to the resource "fixes" it altho for some reason Puppet does 3 HEAD requests to server instead of one...
{{127.0.0.1 192.168.1.4 - [30/Dec/2017:11:17:08 +0100] "HEAD /rnd HTTP/1.1" 200 0 "-" "Ruby" 127.0.0.1 192.168.1.4 - [30/Dec/2017:11:17:08 +0100] "HEAD /rnd HTTP/1.1" 200 0 "-" "Ruby" 127.0.0.1 192.168.1.4 - [30/Dec/2017:11:17:08 +0100] "HEAD /rnd HTTP/1.1" 200 0 "-" "Ruby" 127.0.0.1 192.168.1.4 - [30/Dec/2017:11:17:08 +0100] "GET /rnd HTTP/1.1" 200 1048576 "-" "Ruby"}}
|