I'm getting the same messages with 3.0.3:
Validation: Scalar item in restart_class => { start_cf_monitord } in
rvalue is out of bounds (value should match pattern [a-zA-Z0-9_$()\[\].]+)
Validation: Scalar item in restart_class => { start_cf_serverd } in rvalue
is out of bounds (value should matc
It works. Thanks!
Bernd Adamowicz | R&D BasisTechnology
Tel.: +49 (0) 6227 385 332 82 | Fax: +49 (0) 6227 385 588
bernd.adamow...@external.icw-global.com | www.icw.de | www.lifesensor.com
From:
Mark Burgess
To:
bernd.adamow...@external.icw-global.com
Cc:
help-cfengine@cfengine.org
n co
https://svn.iu.hio.no/projects/cfengine-3/trunk cf3-trunk
Acf3-trunk/configure
Acf3-trunk/inputs
Acf3-trunk/inputs/failsafe.cf
Acf3-trunk/inputs/Makefile.in
A cf3-trunk/inputs/promises.cf
Acf3-trunk/inputs/Makefile.am
Bernd Adamowicz | R&D BasisTechnology
Tel.
horization failed: Could not authenticate to server: rejected Basic
challenge (https://svn.iu.hio.no)
The Cfengine3-Repository works without problems.
Bernd Adamowicz
From:
Mark Burgess
To:
bernd.adamow...@external.icw-global.com
Cc:
help-cfengine@cfengine.org
Date:
11.01.2010 22:11
Sub
Now it works. Some time ago I changed
34 "/var/cfengine/bin"
35
36 comment => "*** Updating files in '/var/cfengine/bin'...",
37 perms => u_p("700"),
38 copy_from => mycopy("/usr/local/sbin","localhost"),
to
34 "/var/cfengine/bin"
35
36 comment => "*** Upd
Hi Nicolas,
I cannot repoduce this. 'cf-agent --bootstrap' neither copies the binaries
nor creates any keys. Both still has to be done manually.
Regards
Bernd
Nicolas Charles wrote on 11.01.2010 15:54:07:
> [image removed]
>
> Re: Recommended way to get /var/cfengine
>
> Nicolas Charl
While (re-)installing 3.0.3 Community I was wondering once again which is
the correct way to get the working directory /var/cfengine. Obviously it
is not created when issuing 'make install' as root. But when executing
'cf-execd' the first time, the initial structure is created. However,
there a
Happy new year everyone!
Back from my holidays I started evaluating Cfengine 3.0.3 and of course
the new standard library. Thanks for these improvements!
I'd like to suggest to put the standard library under version control.
Maybe a directory named 'opt' or 'stdlib' (on the same level as for
e
Can someone provide me with a real world example of installing a single
package using RPM package manager with Cf3?
Of course I tried the examples given in the documentation. But I have one
basic problem with the attributes given for a promise of type 'packages':
RPM needs for installing a pack
Following your advice concerning copying instead of extracting a tarbal I
have implemented this:
158 bundle agent check_nagios_installation {
159
160 files:
161 "/usr/local/nagios/."
162 comment => "Creating Nagios installation",
163 depth_search => recurse("in
Hi Nicolas,
I tried your example and this is what happened:
- the nagios directory is created (which should lead to creating the class
'not_nagios_installed')
- the extraction of the tarball does not happen at all
Having a look at the output of the agent there's no evidence that anything
is ha
I guess I'm facing a typical beginners problem, however, I didn't find a
solution.
I'm checking the existence of a directory. If it's not there, I'm going to
extract a tarball which creates it and some other files. This works very
fine. However the extracting of the tarball is done sometimes to
-v' to see the hard classes on your
system.
Bernd Adamowicz | R&D BasisTechnology
Tel.: +49 (0) 6227 385 332 82 | Fax: +49 (0) 6227 385 588
bernd.adamow...@external.icw-global.com | www.icw.de | www.lifesensor.com
From:
高永超
To:
help-cfengine@cfengine.org
Date:
16.12.2009 11:58
Subjec
Yes, indeed. That was the reason. There has been a 'body location start'
inside the library.cf. I changed this to 'body location start_before'
there and in the files calling this body and everything worked like a
charm.
Thanks Neil!
Bernd Adamowicz
From:
n
Had some strange experiences while trying to write some promises
concerning starting of Unix services (Community 3.0.2). Let me show some
examples:
28 commands:
29
30 "${daemon_path}/${service}"
31 comment => "Executing command '${daemon_path}/${service}
start'",
32
this check is called from the bundlesequence inside my
promise.cf. For testing purposes I have set 'ifelapsed' to 1 which may not
be what is needed in a production environment. You may add more services
to the line ' "service" slist => {"ntp"};' an
Another approach would be:
"exists" expression => filesexist("@(filelist)");
See:
http://www.cfengine.org/manuals/cf3-reference.html#Function-filesexist
Bernd Adamowicz | R&D BasisTechnology
Tel.: +49 (0) 6227 385 332 82 | Fax: +49 (0) 6227 385 588
bernd.adamow
17 matches
Mail list logo