|
From: | Katherine Morris |
Subject: | importing groups |
Date: | Sat, 25 Aug 2001 12:20:56 -0400 |
Here's a problem... although the groups get
imported from the cf.groups definition, and seemingly successfully become
defined. Only one of the shell commands run (these are just test commands
I'm really using cfwrap/cfmail for mail)... any help would be appreciated.
:))
##### start cf.groups #####
groups:
test_group2 = (
sixgp04s )
##### end cf.groups #####
##### start cfengine.conf #####
import: any:: cf.groups groups: test_group1 = ( sixgp04s )
control:
actionsequence = ( shellcommands )
shellcommands:
test_group1:: "/usr/bin/date | /usr/lib/sendmail -fx2kmorri@southernco.com x2kmorri@southernco.com"
test_group2::
"/usr/bin/date +%m%y | /usr/lib/sendmail -fx2kmorri@southernco.com x2kmorri@southernco.com" ##### end cfengine.conf #####
##### start relevant -d3 output
#####
Defined Classes = ( any opt_debug Saturday Hr12
Min05 Min05_10 Day25 August Yr2001 solaris sixgp04s undefined_domain 32_bit
sunos_5_8 sun4u sunos_sun4u sunos_sun4u_5_8 sparc **edited out IP addresses**
sunos_sun4u_5_8_Generic_108528_06 solaris2_6 install sixgp04s_southernco_com
test_group1 test_group2 )
--------------------------------------------------------------------- Running shell commands --------------------------------------------------------------------- cfengine:sixgp04s: Executing script /usr/bin/date |
/usr/lib/sendmail -fx2kmorri@southernco.com x2kmorri@southernco.com...(timeout=0,uid=-1,gid=-1)
(Setting umask to 77) cfengine:sixgp04s: Finished script /usr/bin/date | /usr/lib/sendmail -fx2kmorri@southernco.com x2kmorri@southernco.com ##### end relevant -d3 output
#####
Thanks,
-Katherine
Create like a god, command like a king, work like a
slave.
|
[Prev in Thread] | Current Thread | [Next in Thread] |