Confirm file/dir ownership with file_result => "owner"

2011-01-02 Thread tktucker
Good evening. I am trying to confirm the ownership of the /etc/fstab file. If the owner is root then set the "confirmed" class. Am I completely off base with this example? # ls -l /etc/fstab -rw-r--r-- 1 root root 844 May 8 2010 /etc/fstab body common control { bundlesequence => {

The default policy restarts running cf-serverd, cf-monitord on Solaris 10

2011-01-02 Thread Erlend Leganger
If I build cfengine v3.1.2 on Solaris10 and run the commands below directly after make install, the default policies tries to restart cf-serverd,cf-monitord every time cf-agent is run, regardless of whether the processes already are running. Consequently, I get an "Address already in use" bind erro

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-02 Thread Erlend Leganger
On 3 January 2011 07:26, Erlend Leganger wrote: > Fixing this is a bit tricky, since the -e option cancels out any -z > global option (ref man ps). This is what you want in a global zone > (with -z option, no -e option): > > /bin/ps -z global -o user,pid,ppid,pgid, ... > > while this is what you

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-02 Thread Mark Burgess
Erland, the ps issue is already fixed as far as I know in current trunk svn. M On 01/03/2011 08:11 AM, Erlend Leganger wrote: > On 3 January 2011 07:26, Erlend Leganger > wrote: > > Fixing this is a bit tricky, since the -e option cancels out any -z >