Hello,
is this a bug in cfengine? I can not see any mistakes...
This is my promise:
bundle agent set_sudoers {
files:
"/etc/sudoers"
create => "true",
perms => mog("0440","root","root"),
edit_line
This solution works very well for me.
Thanks a lot!
-Ursprüngliche Nachricht-
Von: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] Im Auftrag von Nick Anderson
Gesendet: Mittwoch, 4. Januar 2012 15:21
An: help-cfengine@cfengine.org
Betreff: Re: if assignment
Hello everybody,
i have a simple question about the syntax in cfengine.
I want to configurate the snmpd.conf on many systems in my
it-infrastructure. For this task, I make changes on the snmp config file
on the systems.
After that, the snmd service should do a restart. The problem is
followin
Hello everybody,
i want to use the function "execresult" to write the hostname in a
variable.
Here is my example:
vars:
"hostname" string => execresult("/bin/hostname","noshell");
Can I use the execresult function in the newest version of cfengine?
Regards
--
Christia
steme mbH | Sitz der Gesellschaft:
Salzgitter | Registergericht: Amtsgericht Braunschweig | Registernummer: HRB
6194 | Geschäftsführer: Dipl.-Kfm. Ewald Kratz
Von: Nakarin Phooripoom [mailto:mynameisje...@gmail.com]
Gesendet: Freitag, 12. November 2010 12:20
An: S
Hello everybody,
I want to managing some configuration files of my system.
For example the file sshd_conf. I want to edit the line
"PermitRootLoging yes". In this line there has to be no comment - no #
sign.
I think i should use the bundle "edit_line
uncomment_lines_matching(regex,comment)", but i
Thats part of my promises.cf to copy the cfengine folder to a client.
But when i start cf-agent it copies only the folder without the files
inside.
body depth_search recurse
{
depth => "inf";
}
bundle agent test {
files:
"/tmp/cfengine"
copy_from => mycopy("/tmp/cfeng
Hello everybody,
i want to sync recursive a folder on my policy server to every client in my
network infrastructure. Can someone tell me the command for that?
--
Christian Seifert
Bastechnologie und Betrieb
GESIS Gesellschaft für Informationssysteme mbH
Eisenhüttenstraße 99
38239 Salzgitter
E
itter | Registergericht: Amtsgericht Braunschweig | Registernummer: HRB
6194 | Geschäftsführer: Dipl.-Ing. Günter König
-Ursprüngliche Nachricht-
Von: Nakarin Phooripoom [mailto:mynameisje...@gmail.com]
Gesendet: Montag, 1. März 2010 15:07
An: Seifert, Christian
Cc: help-cfengine@cfengine.
ternummer: HRB
6194 | Geschäftsführer: Dipl.-Ing. Günter König
-Ursprüngliche Nachricht-
Von: nwat...@symcor.com [mailto:nwat...@symcor.com]
Gesendet: Montag, 1. März 2010 14:58
An: Seifert, Christian
Cc: help-cfengine@cfengine.org
Betreff: Re: AW: Remote Access
"
onssysteme mbH | Sitz der Gesellschaft:
Salzgitter | Registergericht: Amtsgericht Braunschweig | Registernummer: HRB
6194 | Geschäftsführer: Dipl.-Ing. Günter König
-Ursprüngliche Nachricht-
Von: nwat...@symcor.com [mailto:nwat...@symcor.com]
Gesendet: Montag, 1. März 2010 14:47
An: Seifert, Ch
Hello,
I've added the following lines to my promises.cf on the server:
body runagent control {
hosts => { "172.24.1.58" };
}
After that I get the following message if I run "cf-runagent -v":
cf3
...
cf3 * Hailing 172.
Hello everybody,
i've succesfully tested the file transfer between my host und my policy
server.
My problem is:
I have a file on my server test.txt
I can transfer this file from my server to a client if I started the
server with the command "cf-serverd -v" and the client with "cf-agent".
But the c
Here ist my configuration:
cf-serverd.cf on the policy server:
body server control {
trustkeysfrom => { "172.24.1.58" };
allowconnects => { "172.24.1.58" };
maxconnections => "10";
logallconnections => "true";
}
bundle server access_rules {
access:
"/srv/cf-serverd"
ad
Hello everybody,
for my IT education i have to do a automatically file transfer from a
policy server to any client servers with cfengine. Has anyone a hint or
an example configuration on his machines which could help me?
Regards
--
Christian Seifert
___
erstag, 25. Februar 2010 13:01
An: Seifert, Christian
Cc: help-cfengine@cfengine.org
Betreff: Re: cf-agent troubleshooting
Is there any shared libraries in /var/cfengine/lib? If so, you might need to do
something with ldconfig, add the lib folder and re-run ldconfig.
Cheers,
--Nakarin
On Feb 25, 2010
Hello,
i want to start cf-agent on my policy or client server and get this
message:
/var/cfengine/bin/cf-promises: error while loading shared libraries:
libmysqlclient.so.15: cannot open shared object file: No such file or
directory
Should I install the newest version of mysql or what is the pr
17 matches
Mail list logo