When I first run puppet - puppet agent --test - all is well.
Notice: /Stage[main]/Consul_template::Config/Concat[consul-template/config.json]/File[/etc/consul-template/config.json]/ensure: defined content as '{md5}48f2ee73dfec6f79936ef8c2c32c72d9'
Info: Concat[consul-template/config.json]: Scheduling refresh of Service[consul-template]
Info: Class[Consul_template::Config]: Scheduling refresh of Class[Consul_template::Service]
Info: Class[Consul_template::Service]: Scheduling refresh of Service[consul-template]
Notice: /Stage[main]/Consul_template::Service/Service[consul-template]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Consul_template::Service/Service[consul-template]: Unscheduling refresh on Service[consul-template]
When I run the agent a second time, puppet gets into a failure loop:
Info: Computing checksum on file /etc/consul-template/config.json
Info: FileBucket got a duplicate file {md5}48f2ee73dfec6f79936ef8c2c32c72d9
Info: /Stage[main]/Consul_template::Config/File[/etc/consul-template/config.json]: Filebucketed /etc/consul-template/config.json to puppet with sum 48f2ee73dfec6f79936ef8c2c32c72d9
Notice: /Stage[main]/Consul_template::Config/File[/etc/consul-template/config.json]/ensure: removed
Warning: /etc/consul-template: appears to have a negative number of dependencies
Warning: consul-template/config.json: appears to have a negative number of dependencies
Warning: /Stage[main]/Du_api::Consul_template::Config/Consul_template::Watch[dbslayer-hosts]/File[/etc/consul-template/dbslayer-hosts.ctmpl]: appears to have a negative number of dependencies
Warning: Concat[consul-template/config.json]: appears to have a negative number of dependencies
Warning: /Stage[main]/Consul_template::Config/Concat[consul-template/config.json]/File_concat[consul-template/config.json]: appears to have a negative number of dependencies
Warning: consul-template/config.json: appears to have a negative number of dependencies
Warning: /Stage[main]/Consul_template::Config/File[/etc/consul-template/config.json]: appears to have a negative number of dependencies
Warning: consul-template/config.json: appears to have a negative number of dependencies
Warning: /etc/consul-template: appears to have a negative number of dependencies
Warning: Concat::Fragment[dbslayer-hosts.ctmpl]: appears to have a negative number of dependencies
Warning: Consul_template::Watch[dbslayer-hosts]: appears to have a negative number of dependencies
After the notice, that warning block gets repeated in an infiite loop and i'm forced to kill the puppet agent. Have you seen anything like this before?
Maybe I'm not using this module correctly. I've configured a consul-watch like so:
When I first run puppet - puppet agent --test - all is well.
When I run the agent a second time, puppet gets into a failure loop:
After the notice, that warning block gets repeated in an infiite loop and i'm forced to kill the puppet agent. Have you seen anything like this before?