[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
copy happening despite my rules.
From: |
David Cress |
Subject: |
copy happening despite my rules. |
Date: |
Thu, 29 Sep 2005 10:17:23 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050720) |
Here is the relevant part of my config for cfengine v2.1.15:
cf.groups:
damworkerref = ( damworker4ref1 damworker4ref2 damworker4ref3 )
cf.copy:
damworkerref.!damworker4ref3::
/master/copy/samba/dam/smb.conf
dest=/opt/samba/lib/smb.conf
owner=root group=other mode=644
type=checksum inform=true
verify=true server=$(filehost)
When I run this config on damworker4ref3, (cfagent -d1 -q -n) I get the
following:
NEW CLASS PREDICATE:: damworkerref.!damworker4ref3::
(No actions pending in File Imaging:)
InitializeAction()
HandleClass(damworkerref.!damworker4ref3)
(No actions pending in File Imaging:)
Compound class = (damworkerref.!damworker4ref3) with 2 members
VAROBJ /master/copy/samba/dam/smb.conf
IsVarString(/master/copy/samba/dam/smb.conf) - syntax verify
Found 0 variables in (/master/copy/samba/dam/smb.conf)
Handling Object = (/master/copy/samba/dam/smb.conf)
It's reading everything in OK.
[BEGIN InstallPending File Imaging:
IsInstallable(damworkerref.!damworker4ref3) - true
InstallImageItem (/master/copy/samba/dam/smb.conf) (+644)(-7133)
(/opt/samba/lib/smb.conf), server=sunman.turner.com
ExpandVarstring(/master/copy/samba/dam/smb.conf)
ExpandVarstring(sunman.turner.com)
SplitStringAsItemList(sunman.turner.com,:)
Build2DListFromVarstring(/master/copy/samba/dam/smb.conf,sep=/)
SplitVarstring(/master/copy/samba/dam/smb.conf,:=58)
IsVarString(/master/copy/samba/dam/smb.conf) - syntax verify
Found 0 variables in (/master/copy/samba/dam/smb.conf)
AppendTwoDimItem(itemlist, sep=/)
Set2DLIst()
Get2DListEnt()
Get2DLIstEnt returns /master/copy/samba/dam/smb.conf
IncrementTwoDimList()
This should be false, not true. Why is the "!", not functioning?
On another box called 'sunman', it sees that it's not part of the
damworkerref class, and drops out just fine.
[BEGIN InstallPending File Imaging:
IsInstallable(damworkerref.!damworker4ref3) - false
Not installing copy item, no match
(/master/copy/samba/dam/smb.conf,damworkerref.!damworker4ref3)
InitializeAction()
END InstallPending]
I've got to be missing something something basic, and I just can not see it.
--
David Cress
Lead Engineer
CNN Internet Technologies
http://www.cnn.com
--------------------
(404) 878-1921
What exists, exists; what is, is.
- copy happening despite my rules.,
David Cress <=
- Re: copy happening despite my rules., Ed Brown, 2005/09/29
- Re: copy happening despite my rules., David Cress, 2005/09/30
- Re: copy happening despite my rules., Adams, Russell L., 2005/09/30
- Re: copy happening despite my rules., David Cress, 2005/09/30
- Re: copy happening despite my rules., Adams, Russell L., 2005/09/30
- Re: copy happening despite my rules., David Cress, 2005/09/30
- Re: copy happening despite my rules., Adams, Russell L., 2005/09/30