help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

random values in cfengine?


From: Daniel Nilsson
Subject: random values in cfengine?
Date: Wed, 13 Feb 2002 12:22:04 +0100 (CET)

I need a random value (or semi-random, would do), in a cf-script.
Is this possible, or do I need to "exec" another script?

The current second or hour would be ok.

I need this to edit a cron-job. :)

/// D

On Tue, 12 Feb 2002 address@hidden wrote:

>
>
> Take a look at the checklist for upgrading at www.cfengine.org/docs
> You need to specify "trustkey=true" and "TrustKeysFrom = ( )"
> in the cfagent.conf anf cfservd.conf files respectively,
>
> good luck!
> Mark
>
> PS - I worked quite hard to write some documentation for
> this, so please look at it!!
>
>
> On 12 Feb, Dr. C. Scheffczyk wrote:
> > Hello,
> >
> > I try to setup cfengine 2.0.a23.
> > Compilation/Installation works fine with the exception of the docs:
> >
> > Making all in doc
> > make[1]: Entering directory `/export/SysAdmin/cfengine/cfengine-2.0.a23/doc'
> > make[1]: *** No rule to make target `cfengine.8', needed by `all-am'.  Stop.
> > make[1]: Leaving directory `/export/SysAdmin/cfengine/cfengine-2.0.a23/doc'
> > make: *** [all-recursive] Error 1
> >
> > I think problem is known ?
> >
> > As a first test I tried to ping a machine (surz19) from my master (surz24)
> > using cfrun, but without success. Here's the result:
> >
> > address@hidden: /usr/local/sbin/cfrun surz19 -- -p
> > cfrun(0):         .......... [ Hailing surz19.hrz.uni-marburg.de ] 
> > ..........
> >  Host authentication failed. Did you forget the domain address@hidden:
> >
> > Keys are setup properly (I hope). Running the daemon cfservd in debug mode
> > ( -d2 ) on surz19 gives ( a lot of output skipped ):
> >
> > ...
> > Received: [EXEC  -p ] on socket 5
> > User root is not allowed on this server
> > surz19: Host authorization/authentication failed or access denied
> > Transaction Send[t 64][Packed text]
> > SendSocketStream, sent 72
> > surz19: From (host=surz24a3.hrz.uni-marburg.de,user=root,ip=137.248.3.127)
> > ...
> >
> > I think the important line is "User root ...".
> > Can anybody give me a hint what that means ?
> > In cfagent.conf and cfservd.conf the line access = ( root ) exists.
> > Error appears with and without this statement.
> >
> > Thank you!
> > Christian
> >
> > C. Scheffczyk (address@hidden)
> > ---------------------------------------------------------------
> > HRZ, Hans Meerwein Strasse,        Fon: +49 (0)6421/28-23519
> > D-35032 Marburg, Germany           Fax:               -26994
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272            Email:  address@hidden
> Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]