Here's the solution I eventually came up with:
Using the public keys maintained by Cfengine in /var/cfengine/dist/,
I'm generating a list of all hosts as such:
for ip in `ls /var/cfengine/ppkeys/*.pub | grep 10. | cut -d- -f 2 | \
awk -F. '{ OFS="."; print $1,$2,$3,$4 }'`; do
host ${ip} |
On Thu, May 11, 2006 1:19 am, [EMAIL PROTECTED] wrote:
> I am new to CF Engine and have been tasked by my manager to get a
> package installed on all our HP-UX systems. I have looked at the
> manuals (cfengine-Tutorial.pdf and cfengine-Reference.pdf) and can not
> seem to get something to work. I
On Tue, 2006-05-02 at 09:08 -0500, Michael Grubb wrote:
> On May 2, 2006, at 12:21 AM, Mark Burgess wrote:
>
> > Michael Grubb wrote:
> >> I've come across some AIX compile issues with cfengine 2.1.20 on
> >> AIX 5.3
> >> 1) PCRE support won't compile complains about RE_INTERVALS:
> >> ./config
Jason Edgecombe wrote:
you can do exactly what you suggest.
here would be a snippet from update.conf:
#
AllowRedefinitionOf = ( policyhost )
!192.168::
policyhost = ( host1.mydomain.com )
192_168::
policyhost = ( host2.int.mydomain.com )
#
I'm trying to get Cfengine to warn me when a file doesn't exist. I've
got:
files:
any::
/root/.ssh/$(host)-pub.key action=warnall
When I run cfagent -v, I get a warning:
cfengine:porter: Cannot access file/directory /root/.ssh/porter-pub.key
cfengine:porter: File/Dir /root/.ssh/
Someone saved me the humiliation of telling me on-list that I made a
stupid mistake, and only needed to add "inform=true".
Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University
On Thu, 11 May 2006, Chris St. Pierre wrote:
>I'm trying to get Cfengine to warn me when a file does
Hello,
I currently have 2 machines with cfengine installed as a test. The
machines are running Debian, so I apt-get installed cfengine. Now I want
to try and have cfengine update files or copy executables with windows.
I have been following this guide
http://www.cfengine.org/cfe4windoze.pdf.