Forum: Cfengine Help
Subject: Re: Daemon Checks
Author: nima
Link to topic: https://cfengine.com/forum/read.php?3,18350,18351#msg-18351

Here's the output for the above:

ochus:/srv/sysconf# /etc/init.d/dnsmasq stop
Stopping DNS forwarder and DHCP server: dnsmasq.

ochus:/srv/sysconf# cf-agent -K
R: [ config          ] [ teispes @ 2010.09.20.09 ]
R: [ cf-serverd      ] = [ ou=cfengine ]
R: [ svc-openldap    ] = [ ou=openldap ]
R: [ svc-openldap    ] M OpenLDAPMaster->rID = 0x002
Q: "....d/dnsmasq star": Starting DNS forwarder and DHCP server: dnsmasq.
I: Last 1 QUOTed lines were generated by promiser "/etc/init.d/dnsmasq start"
R: [ sys-root        ] S RestartDaemon->commands->start(dnsmasq)
R: [ svc-dnsmasq     ] = [ ou=dnsmasq ]
R: [ svc-ddns-update ] = [ ou=ddns-update ]

ochus:/srv/sysconf# cf-agent -K
R: [ config          ] [ ochus @ 2010.09.20.09 ]
R: [ cf-serverd      ] = [ ou=cfengine ]
R: [ svc-openldap    ] = [ ou=openldap ]
R: [ svc-openldap    ] M OpenLDAPMaster->rID = 0x002
R: [ svc-dnsmasq     ] = [ ou=dnsmasq ]
R: [ svc-ddns-update ] = [ ou=ddns-update ]

ochus:/srv/sysconf# echo '#. Amended by user' >> /etc/dnsmasq.d/dns.conf 

ochus:/srv/sysconf# cf-agent -K
R: [ config          ] [ teispes @ 2010.09.20.09 ]
R: [ cf-serverd      ] = [ ou=cfengine ]
R: [ svc-openldap    ] = [ ou=openldap ]
R: [ svc-openldap    ] M OpenLDAPMaster->rID = 0x002
R: [ svc-dnsmasq     ] = [ ou=dnsmasq ]
R: [ svc-dnsmasq     ] + DNSMasq->files->updated(config)
Q: "....d/dnsmasq star": Starting DNS forwarder and DHCP server: 
dnsmasq(already running).
I: Last 1 QUOTed lines were generated by promiser "/etc/init.d/dnsmasq start"
R: [ sys-root        ] S RestartDaemon->commands->start(dnsmasq)
R: [ svc-ddns-update ] = [ ou=ddns-update ]

ochus:/srv/sysconf# 


Note that I'm load-balancing between two servers ochus and teispes here, as per 
the first line of the output on each cf-agent run - but they're both at the 
same scm revision.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to