Displaying 2 results from an estimated 2 matches for "xing5820".
2013 Jan 24
1
puppet agent returns zero even when fails to execute a catalog
I am running below command to connect puppet master
puppet agent --certname testcertname --no-daemonize --onetime --server
server_host_name --verbose
it outputs error like:
Error: Execution of ''/usr/bin/yum -d 0 -e 0 -y install dnsmasq'' returned 1:
Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist
2013 Jun 04
1
exec failure doesn't abort whole puppet transaction
I have my puppet defined as (pseudo code)
class A {
exec { somethingA:
}
}
class B {
exec { somethinB:
}
}
Class[''A''] -> Class[''B'']
the exec{ somethingA: } is actually failed on my setup, I was expecting the
whole puppet transaction would fail. To my surprise, class B still got
executed, and puppet agent returned with code 2