-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Execution of 'unzip -o /var/lib/consul/archives/consul-0.7.4.zip' returned 1: #332
Comments
Are you sure an error code of 1 is actually acceptable? Can you run |
This is what i get when i try it manually. unzip: cannot find or open /var/lib/consul/archives/consul-0.7.4, /var/lib/consul/archives/consul-0.7.4.zip or /var/lib/consul/archives/consul-0.7.4.ZIP. |
It sounds like the unzip didn't work because the download failed? (or the zip got cleaned up after the puppet run) Can you run puppet with --debug and paste as much output as you can? |
Hello, this is the complete log info. Apr 11 11:59:42 node1 puppet-agent[2304]: (/Stage[main]/Consul_mod/Exec[restart_rsyslogd_consul]) Triggered 'refresh' from 1 events |
|
Thank you. |
Many a times, i am facing this issue while consul is getting extracted through this module.
Raising this issue so I know if you are going to add return code 1 as acceptable return code for the Exec unzip consul. If there is an alternative solution i can use upright without needing any fix from your side, please let me know. I will go with either option. Many thanks!
More log info:
2017-04-06 10:29:04 -0500 Puppet (err): Execution of 'unzip -o /var/lib/consul/archives/consul-0.7.4.zip' returned 1:
2017-04-06 10:29:04 -0500 /Stage[main]/Consul::Install/Archive[/var/lib/consul/archives/consul-0.7.4.zip]/ensure (err): change from absent to present failed: Execution of 'unzip -o /var/lib/consul/archives/consul-0.7.4.zip' returned 1:
2017-04-06 10:29:04 -0500 /Stage[main]/Consul::Install/File[/var/lib/consul/archives/consul-0.7.4/consul] (warning): Skipping because of failed dependencies
The text was updated successfully, but these errors were encountered: