Would it be possible to put a prefix in the subject line like all the
other mailing lists so that I may be able to organize my emails?
Thank you in advance.
Regards,
j
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailma
How many end hosts can each distribution server support?
jerome
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
@cfengine.org
Subject: Re: CFEngine Help: !!! System error for fclose: "No space left on
device"
On 01/13/2012 08:18 AM, Jerome Yanga wrote:
> Thank you for your response, Marco.
>
> I did something similar based on the article below.
>
> http://cfengine.com/m2/cf3-refer
left on
device"
Il 12/01/2012 23:44, Jerome Yanga ha scritto:
> It seems like cf_Audit.tcdb is taking all the space. How do I clear
> this audit log?
With "> cf_Audit.tcdb", on UNIX systems and bourne-like shells. I don't know
which consequences this would have on
I am getting this error from CFEngine.
!!! System error for fclose: "No space left on device"
It seems like cf_Audit.tcdb is taking all the space. How do I clear this audit
log?
jerome
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https:/
ooted.
In the case of the restart, I would like the process to restart when snmpd.conf
changes.
jerome
-Original Message-
From: Aleksey Tsalolikhin [mailto:atsaloli.t...@gmail.com]
Sent: Tuesday, September 20, 2011 11:08 PM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFE
Hi!
I am trying to replicate the following commands in a promise. I have tried the
restart_class but I cannot seem to get it working the way I have described
below.
service snmpd start/restart
chkconfig snmpd on
I want it to restart snmpd if it is already running and start it if it is
stoppe
Thanks, Zzamboni.
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com
Sent: Wednesday, September 14, 2011 1:00 PM
To: help-cfengine@cfengine.org
Subject: CFEngine Help: Re: CFEngine Help: we
I have the following promises.
bundle common g
{
vars:
"alias_vi" string => "alias vi=\"vim\"";
"bashrc_loc"string => "/etc/bashrc";
}
Bundle agent exampleInsertLine
{
vars:
"alias_editor"
in
Indeed. Thank you much.
Regards,
j
-Original Message-
From: Aleksey Tsalolikhin [mailto:atsaloli.t...@gmail.com]
Sent: Wednesday, September 14, 2011 11:12 AM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: how to convert vars to a class
On Tue, Sep 13, 2011
-Original Message-
From: Aleksey Tsalolikhin [mailto:atsaloli.t...@gmail.com]
Sent: Tuesday, September 13, 2011 2:24 PM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: how to convert vars to a class
Hi, Jerome. I suggest using cf-promises to check the syntax on
Thank you, Seva.
This worked.
Regards,
j
-Original Message-
From: Seva Gluschenko [mailto:seva.glusche...@gmail.com]
Sent: Tuesday, September 13, 2011 11:49 AM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: how to convert vars to a class
Jerome,
I guess
essage-
From: Aleksey Tsalolikhin [mailto:atsaloli.t...@gmail.com]
Sent: Tuesday, September 13, 2011 11:20 AM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: how to convert vars to a class
Yes, you can do it using the ifvarclass, which converts a variable to
a class. Could
Is it possible to do what I am attempting to?
Regards,
j
-Original Message-
From: Jerome Yanga
Sent: Monday, September 12, 2011 4:27 PM
To: 'Aleksey Tsalolikhin'
Cc: 'help-cfengine@cfengine.org'
Subject: RE: CFEngine Help: how to convert vars to a class
Aleksey
--Original Message-
From: Aleksey Tsalolikhin [mailto:atsaloli.t...@gmail.com]
Sent: Monday, September 12, 2011 4:15 PM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: how to convert vars to a class
On Mon, Sep 12, 2011 at 3:58 PM, Jerome Yanga wrote:
> I saw an
I saw another post on how to do this but it does not seem to work for me.
Please correct my syntax below.
$ cat /tmp/test.txt
DOG
bundle common g
{
vars:
"temp" string => readfile( "/tmp/test.txt" );
"pet" string => canonify( "$(te
:seva.glusche...@gmail.com]
Sent: Friday, September 09, 2011 12:26 AM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help:
Jerome,
Cfengine doesn't promise to keep directories in complete sync, AFAIR,
that is, to remove outdated files you'll probably need to write a
sepa
I have the following promises.
vars:
"policy_host" string => "server1.cfengine.com";
"master_location" string => "/var/cfengine/masterfiles";
files:
"$(master_location)"
comment => "
day, though I used to
run it on HP-UX as well.)
Aleksey
On Mon, Aug 29, 2011 at 3:13 PM, Jerome Yanga wrote:
> Has anyone gotten Cfengine Community version 3.2 to work via Cygwin on
> Windows 2008R2?
>
> Regards,
> j
>
>
>
> -Original Message-
> Sen
no-re...@cfengine.com
Sent: Friday, August 26, 2011 2:42 AM
To: help-cfengine@cfengine.org
Subject: CFEngine Help: Re: CFEngine Help: Version 3.2 will not bootstrap to
policy server
Forum: CFEngine Help
Subject: Re: CFEngine Help: Version 3.2 will not bootstrap to pol
Thank you, Nakarin.
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com
Sent: Saturday, August 27, 2011 4:05 PM
To: help-cfengine@cfengine.org
Subject: CFEngine Help: Re: CFEngine Help: in v
Neil,
I am testing the community version at the moment. Hence, the need for Cygwin.
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com
Sent: Friday, August 26, 2011 6:06 PM
To: help-cfeng
In version 3.2.0, is the client suppose to copy the changes in the policy
server's masterfiles automatically? The reason I asked is because after the
bootstrap (the only time I have seen the masterfiles copied into the client), I
have not seen the client pull any new files in the masterfiles fo
cfengine.com
Sent: Friday, August 26, 2011 2:42 AM
To: help-cfengine@cfengine.org
Subject: CFEngine Help: Re: CFEngine Help: Version 3.2 will not bootstrap to
policy server
Forum: CFEngine Help
Subject: Re: CFEngine Help: Version 3.2 will not bootstrap to policy server
Thanks, Geir.
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com
Sent: Friday, August 26, 2011 1:03 AM
To: help-cfengine@cfengine.org
Subject: CFEngine Help: Re: CFEngine Help: please updat
?
Best,
-at
On Thu, Aug 25, 2011 at 9:10 AM, Jerome Yanga wrote:
> I recently tried installing v3.2.
>
>
> Under section "2.6 Getting started with the Community Edition" step 3, the
> copy command will not run because the location does not exist.
>
> "host# cp
I am testing on a system with the following:
Windows 2008 R2
Cygwin version 1.7.9-1 setup version 2.738
cfengine-3.2.0.tar.gz
(http://cfengine.com/source_code/download?file=cfengine-3.2.0.tar.gz)
Here is what I see on my screen.
Administrator@client1 ~
$ ps -ef | grep cf-
Administ1712
I recently tried installing v3.2.
Under section "2.6 Getting started with the Community Edition" step 3, the copy
command will not run because the location does not exist.
"host# cp /usr/local/share/doc/CFEngine/inputs/*cf /var/cfengine/inputs/"
Please update this document.
Should I be using
Thanks.
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com
Sent: Wednesday, August 17, 2011 5:02 AM
To: help-cfengine@cfengine.org
Subject: CFEngine Help: Re: Broken Link
Forum: CFEngine H
How do I know if I got a spot?
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Aleksey Tsalolikhin
Sent: Sunday, August 14, 2011 10:08 PM
To: cfengine
Subject: Successes from the "Getting Started with Cfengin
Please provide the right link for the document below.
http://www.cfengine.com/files/Why_upgrade_to_Nova.pdf
Regards,
j
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
Will there be a third webinar?
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Aleksey Tsalolikhin
Sent: Tuesday, August 09, 2011 10:07 PM
To: cfengine
Subject: Examples from tonight's "Getting Started with C
I looked at the Outputs directory and nothing is there either. :(
Help.
Regards,
j
-Original Message-
From: Jerome Yanga
Sent: Friday, July 22, 2011 10:01 AM
To: 'no-re...@cfengine.com'; 'help-cfengine@cfengine.org'
Subject: RE: CFEngine Help: CFEngine Help: Creat
Toddnni,
Thank you for your response.
I have changed the smtp and mail info for security measures. I have actually
received emails from cfengine; however, it seems like it has nothing to do with
the promises.
" Page 2: bad HOFFSET 1900, appears to be 1864 Page 2: item order check unsafe:
ski
y, July 21, 2011 1:56 PM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: CFEngine Help: Creating reports
I see you have
body agent control
{
verbose => "true";
inform => "true";
}
so I would expect to see reports on changes made.
If you are running CFengi
bundle agent deleteLocalFolder
{
files:
"/tmp/test/create_folder1/create_folder2"
comment => "delete local folders",
depth_search => recurse("inf"),
file_select => by_name(&qu
Is there a way to email reports only when an error is encountered? Or when a
configuration has been changed?
I am running on cfengine-community-3.1.5-1.el5.
Regards,
j
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailm
Better yet, you can drop the file argument.
# cf-runagent -H node1.cfengine.com -ivo "--no-lock -vf
/tmp/templates/copy_local_file_via_cf_runagent.cf.test"
Regards,
j
-Original Message-----
From: Jerome Yanga
Sent: Tuesday, July 19, 2011 10:28 AM
To: 'Seva Gluschenko'
matter if the /var/cfengine folder is a symlink to another
location.
I hope this helps others.
Regards,
j
-Original Message-
From: Seva Gluschenko [mailto:seva.glusche...@gmail.com]
Sent: Tuesday, July 19, 2011 7:44 AM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: Cfe
, July 18, 2011 3:46 PM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: Cfengine Help: Re: Making cf-runagent work
Well, it seems like remote cf-agent runs its defaults (i.e.
promises.cf). I'm not sure whether cf-runagent is indeed able to alter
bundlesequence. You can call for devel
192.168.1.10) at
Mon Jul 18 15:14:04 2011
(noexpiry 1.5 <= 168.0)
Regards,
j
-Original Message-
From: Seva Gluschenko [mailto:seva.glusche...@gmail.com]
Sent: Monday, July 18, 2011 3:03 PM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: Cfengine Help: Re: Making cf-runagent wo
I am tried this myself and I get the following errors. What am I missing? I
have checked all my binaries and none of them are symlinked.
cf3> Initiate variable convergence...
cf3> SET ignore_missing_bundles true
cf3> SET trustkey = 1
cf3> SET encrypt = 1
cf3> -> Matched IP 192.168.1.10 to key
Neil,
I do run cf-promises on every config file I test prior to running it with
"cf-agent -vf". I received "cf3> -> Inputs are valid" message when I ran
/tmp/templates/delete_local_folder.cf.test against it.
I have implemented your suggested config and it worked like a charm.
Thank y
Neil,
Here is my self contained example. I apologize for not providing it. My
config file produces the following directory structure with files in them.
After creating this structure, I have been attempting to delete the folder
/tmp/test/create_folder1/create_folder2 and the files in it via
CORRECTION:
Nothing gets deleted but the error provided is correct.
Regards,
j
-Original Message-
From: Jerome Yanga
Sent: Friday, June 17, 2011 1:04 PM
To: 'help-cfengine@cfengine.org'
Subject: RE: Cfengine Help: Re: Cfengine Help: Deleting a Local File
Neil,
Thank you for
Neil,
Thank you for the sample config. However, there is still a problem. The
config below which is similar to your sample not only deletes create_folder2
but also create_folder1. Moreover, I have pasted the errors I got.
FYI, there are files in create_folder2.
bundle agent
Nope. This is from cfengine_stdlib.cf
body delete tidy
{
dirlinks => "delete";
rmdirs => "true";
}
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com
Sent: Friday, June 17, 2011 10:49
Neil,
I tried your suggestion and I am getting the error below.
Config file:
bundle agent deleteLocalFolder
{
files:
"/tmp/test/create_folder1/create_folder2"
comment => "delete local folders",
include_basedir => "true",
#
Neil,
I apologize. I thought that by providing you the whole config file, it would
be easier for you to understand what I am trying to do.
To answer your question, I put a file_select in the promise because I get this
error below if I don't have it and it does not delete anything.
cf3> ..
I am trying to replicate the "rm -rf" command. I am getting the correct result
but I have errors. Help.
Here is the config file.
#
# testing cfengine with following:
# delete local folder
#
body common control
{
bundlesequence => { "createFile" , "copyLocalF
Thanks, Neil.
Is there a way to replicate "rm -rf /tmp/"? I am getting the error below.
"cf3> !! Delete directory /data/test/create_folder1/create_folder3 failed
(cannot delete node called "create_folder3")
cf3> !!! System reports error for rmdir: "Directory not empty""
Regards,
j
-Orig
Thank you. This worked. :)
Regards,
j
-Original Message-
From: Aleksey Tsalolikhin [mailto:atsaloli.t...@gmail.com]
Sent: Wednesday, June 15, 2011 4:57 PM
To: Jerome Yanga
Cc: help-cfengine@cfengine.org
Subject: Re: Cfengine Help: Deleting a Local File
On Tue, Jun 14, 2011 at 3:50 PM
I have been trying to delete a local file and have been unsuccessful. Help.
/tmp/templates/delete_local_file.cf.test
#
# testing cfengine with following:
# delete local file
#
body common control
{
bundlesequence => { "createFile" , "deleteLocalFile" };
I am trying to get a client server's /etc/mail/sendmail.mc configured properly.
Here is part of /etc/mail/sendmail.mc file.
"dnl #
dnl # Do not advertize sendmail version.
dnl #
dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl
dnl #
dnl # default logging level is 9, you might want to set i
=> "copy local folder",
include_dirs=> { "/etc/cron.*" },
depth_search=> recurse("inf"),
file_select => folders("/cron.*"),
preserve => "true",
, "root", "root"),
create => "true";
}
bundle agent copyLocalFolder
{
files:
"/data/test/create_folder1/copy_local_folder"
comment => "copy local folder",
include_dirs=> { &
Thanks, B. I was able to implement you suggestionsat least most of it. I
still have an issue though. The configuration below copies all the /etc/cron*
folders and files. However, it also copies all the files in /etc/*. I tried
testing with exclude_dirs but as its description specifies,
I would like to copy the folders /etc/cron* and its contents to another
location. However, I still end up copying the whole /etc directory.
Help.
Here is my promise file.
/tmp/templates/copy_local_folder.cf
"#
# testing cfengine with following:
# copy local folder
#
body co
"$(x)"
comment => "create file",
perms => mog("755", "root", "root"),
create => "true";
}"
Regards,
J
-Original Message-
From: Jesse Becker [mailto:becker...@mail.nih.gov]
Thank you, Neil.
With your direction, I got this to work with the variables.cf. However, it is
quite a pain to create a slist variable with 150 elements. Is it possible to
read a file with a list of 150 folder names? I am sure that I can create a
script that creates this variable file but I
Is there a way to list folder names into a file and let a promise read each
line and create these folders?
If not, is it possible to create a cf file that defines variables (folder list)
and have another cf file use these variables to create the folders?
Am I going about this wrong?
I am try
cfengine/ppkeys/ of host 1.2.3.4.
I have copied /var/cfengine/ppkeys/localhost.pub of host 1.2.3.4 to
/var/cfengine/ppkeys/root-1.2.3.4.pub and copied this into
/var/cfengine/ppkeys/ of host 5.6.7.8.
What am I missing?
I apologize if I have to edit off our IP addresses and hostnames. I am not
al
Has anyone gotten copy_from running on cfengine-community-3.1.5-1.el5 to work?
Is root login required via ssh? What do I need to do on the hosts to make this
promise work?
I have tried using the sample cf file from the link below.
http://source.cfengine.com/websvn/filedetails.php?repname=Cfen
Scottdob,
I have tried you suggestion but I can't seem to figure out the proper syntax.
Here is what I have put in the cf file.
" # toe in the water
body common control
{
bundlesequence => { "main","copyFile" };
ignore_missing_bundles => "true";
require_comments => "true
Thank you for all the suggestions everyone. I have implemented all of them;
however, I am still not able to copy files from a remote host. Have I
satisfied the following from the Tutorials page? I have provided more info
regarding my config.
http://www.cfengine.org/manuals/cf3-tutorial.html
Scottdob,
I seem to have gotten the same issue still.
Here is the cf file after implementing your recommendation.
"cat /tmp/toe_in_the_water.cf
# toe in the water
body common control
{
bundlesequence => { "copyFile" };
ignore_missing_bundles => "true";
require_comments =>
er.cf' near line 40
cf3> Comment: copyFile copy from remote
"
Regards,
j
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Sjoerd Oostdijck
Sent: Tuesday, May 31, 2011 11:56 AM
To: help-cfengine@cfengine.o
to remote host
On 5/31/11 8:39 PM, Jerome Yanga wrote:
> cf3> Unable to establish connection with remote_host
> cf3> -> No suitable server responded to hail
Is your server running a cf-serverd process? (and is that cf-serverd
configured to trust keys from the box your are tryi
Beto,
Thanks for the quick response. I have followed your instructions and I still
get the following error:
" cf3> .
cf3> Promise handle:
cf3> Promise made by: /tmp/toe_in_water_folder_create/host_from_remote
cf3>
cf3> Comm
I am new to CFEngine and I am currently testing this application.
I am having problems with copying files in remote hosts. This is probably
because I need help in interpreting the following from the Tutorials page.
http://www.cfengine.org/manuals/cf3-tutorial.html
"Permission to connect to the
70 matches
Mail list logo