an abstract of this explanation? I think that would help understanding
the relationship between ordering methods.
Regards,
Jonathan
--
--------
*Jonathan CLARKE*
/CTO - Directeur technique/
Normation <http://www.normation.com>
Hi there,
We at Normation run regular CFEngine training courses [1] around the
world (well, so far, North America and Europe, but we're open!), as part
of our partnership with the CFEngine company. These courses have been
mentioned here before, and have always been a great success.
We have a slot
Hi Dan,
On 04/03/2012 15:24, Daniel V. Klein wrote:
> Jonathan-
>
> Looking naively at FnCallNow() in evalfunction.c, I believe you are correct
> in your suspicion that cf-agent uses the start time as "now". Now, I say
> "naively" because I am not that familiar with the Cfengine core code, and
Hi everyone,
I'm running into a funny issue, using a files promise to clean up files
older than 30 days, that seems to catch very recent files (less than a
few minutes old), or possibly files that are undergoing modifications as
CFEngine runs.
Here are my promises:
bundle clean_www_archives {
Hi all,
We're organizing a couple of training sessions in Europe next month:
>From March 7th to 9th we'll be Paris (training in French)
Details, prices and signup options:
http://formation-cfengine-paris-mars-2012-cfl.eventbrite.com
>From March 26th to 28th in London (training in English)
Detail
On 06/12/11 00:21, no-re...@cfengine.com wrote:
> Forum: CFEngine Help Subject: Re: CFEngine Help: Slists and looping
> Author: random Link to topic:
> https://cfengine.com/forum/read.php?3,24179,24195#msg-24195
>
> Jonath
no-re...@cfengine.com a écrit :
>Forum: CFEngine Help
>Subject: Re: CFEngine viable alternative to Kaseya?
>Author: theaccount
>Link to topic:
>https://cfengine.com/forum/read.php?3,24177,24181#msg-24181
>
>Is there a tool that you would recommend for remote script execution?
I've heard a lot
no-re...@cfengine.com a écrit :
>Forum: CFEngine Help
>Subject: Slists and looping
>Author: random
>Link to topic:
>https://cfengine.com/forum/read.php?3,24160,24160#msg-24160
>
>I'm messing around with some simple looping over slists and ran into a
>problem with the code below. It appears tha
rse will be given by Nicolas Charles (CFEngine 3 early adopter
and CFEngine Community Champion) of Normation (CFEngine AS certified
partner).
Please get in touch if you have any questions!
Jonathan
--
======
Jonathan CLARKE
CTO
Jonathan
--
==
Jonathan CLARKE
CTO
--
Normation
--
Telephone: +33 (0)1 83 62 41 24
Web:http://blog.nor
Makefile usage, and much easier to type on my French
keyboard (getting a { or a } requires weird keystrokes).
Also, in complex variable expansion situations, I have found alternating
the two can lead to clearer code, such as
$(arrayname[${arraykey}]).
Jonathan
--
case
above).
If you want to *set* the contents of the file, I suggest using a
temporary file to build up the list (similar to your approach of
building up a slist). The bundle add_module above would be the same, but
using a temporary file. Then at the end of your bundlesequence, add a
EFUSAL of request from connecting host: (EXEC )
My guess is that it is to do with the escapes. I think something changed
between 3.1.2 (which Jessica says works with this exact config), and
3.1.4 or 3.1.5. I just specify the hostname with no escapes, and it's
get access.
Jonathan
--
witter account:
http://twitter.com/#!/CFEngine_news/status/85711133843013633
Jonathan
--
==
Jonathan CLARKE
CTO - Directeur technique
--
Normation
44 rue Cauchy, 94110 Arcueil, France
--
lned to just do something like this, I'd think:
>>>
>>>
>>>"atftpd_conf" string => "
>>> ###
>>> ...
>>> ";
>>>
>>>
>>>
iles" string => "/var/cfengine/masterfiles";
> "ps_servers" slist => { @(g.phost) };
>
> files:
>redhat_5::
> "/tmp/somefile"
>perms => mog("0640","root","root"),
>copy_from =>
> remo
Hi,
I've been attempting to build the Cfengine community trunk, but
encounter a whole load of undefined reference errors. I wouldn't
normally complain, but it's been like this for almost a week now...
Has the build procedure changed, is it work in progress, or is it just me?
Here are the exact e
f a "last modified" field in some table, or the max value of an
auto-increment ID. If the dump is "fresher" than the database, then
restore. If not, consider you're already in the desired state.
This is a bit of a twist on defining the desired state - Cfengine
usually enc
lease! We've been
looking forward to it :-)
Any news on when the binary packages will be available?
Jonathan
--
======
Jonathan CLARKE
CTO - Directeur technique
--
Normation
44 rue Cauchy, 94110 Arcueil, France
Hi Aleksey,
On 11/11/10 00:34, Aleksey Tsalolikhin wrote:
> check that CUPS (printer service) is running by checking the "ps" output, and
> if regex match for "cups" fails, restarting cups:
>
> --- start cfengine config
> body common control
>
> {
> bundlesequence => { "check_cups_running"
cal-as-the-others machines, then widen it, etc.
Jonathan
--
==
Jonathan CLARKE
--
Normation
44 rue Cauchy, 94110 Arcueil, France
--
Telephone: +33 (0)1 83 62 41 24
--
t1/"
admit => { "*.client1.com" };
"/srv/cfengine/client2/"
admit => { "*.client2.com" };
}
Hope this helps,
Jonathan
--
==
Jonathan CLARKE
Hi,
The reference manual at
http://www.cfengine.org/manuals/cf3-reference.html seems to be missing
the contents today... That and some links (anchors) don't work.
Just to let you know.
Jonathan
--
==
Jonathan C
onfused, so I hope this message is clear... My
question is whether this is expected behaviour, and thus an error in the
reference manual, or a bug in 3.1.4 ?
Thanks,
Jonathan
--
==
Jonathan CLARKE
--
Nor
On 18/02/11 12:27, Mikhail Gusarov wrote:
> On 18.02.2011 13:09, Jonathan Clarke wrote:
>
>> I have them all set to "With Minimum Severity of any". I do receive
>> emails for reports that I submitted or am "watching", but I do not for
>> other bugs.
&g
On 17/02/11 13:32, Mikhail Gusarov wrote:
> On 16.02.2011 22:40, Jonathan CLARKE wrote:
>
>> Is there any way of subscribing to Mantis in order to receive an email
>> each time an issue is created/changed/etc? I couldn't find it in the web
>> interface.
>
> S
Hi,
I frequently submit and read bug reports on bug.cfengine.org.
Is there any way of subscribing to Mantis in order to receive an email
each time an issue is created/changed/etc? I couldn't find it in the web
interface.
Thanks,
Jonathan
--
==
Jon
ID from connecting host: (SYNCH 1297465274 STAT
> /var/lib/cfengine3/masterfiles/cf-failsafe.sh)
Do you have access_rules defined for that server? Something like:
bundle server access_rules()
{
access:
"/home/mark/LapTop"
admit => { "255.3.30.102" };
}
Hope this he
ion:
https://cfengine.com/bugtracker/view.php?id=274
In the case given above, you could easily use Diego Zamboni's approach,
and treat each of your lines like a set of fields using "=" as a
delimiter. See his promise here:
https://cfengine.c
On 09/02/2011 16:51, Mikhail Gusarov wrote:
> On 09.02.2011 14:18, Jonathan CLARKE wrote:
>
>> The commit r1787 from this morning seems to have removed the ./configure
>> file, which as I understand can be generated by running ./autogen.sh.
>> However, this requires autocon
Hi Mikhail,
Thanks for the quick answer.
On 09/02/2011 14:32, Mikhail Gusarov wrote:
> On 09.02.2011 14:18, Jonathan CLARKE wrote:
>
> > While I don't mind installing autoconf and running ./autogen.sh on my
> > build machines, I have a problem: I use Debian stable
, I can no longer
build Cfengine...
Is there a solution or workaround that I should be aware of? If not, any
advice would be appreciated.
Thanks,
Jonathan
--
==
Jonathan CLARKE
--
Normation
44 rue Cauchy, 94110 Arcue
w what is new and what's not, and when new things
appear, etc)
Regards,
Jonathan
--
==
Jonathan CLARKE
--
Normation
44 rue Cauchy, 94110 Arcueil, France
--
Telephone: +33
l be much more enjoyable, and you won't stumble
into bugs that have been found and fixed many months ago!
Also, Cfengine AS provides free packages for Ubuntu - just create an
account on cfengine.org "Engine Room" and you can download a .deb and
have it running in minutes.
Be
-write.lo] Error 1
I think that "../../core/..." path may have been commited by mistake, I
certainly don't have any path to that name.
Or is it just me?
Regards,
Jonathan
--
==
Jonathan CLARKE
--
Normatio
ers' test environments?
> It may be helpful to post library versions as well, since the leak could
> be in those, as opposed to the core CF code.
>
--
==
Jonathan CLARKE
--
Normation
44 rue Cauchy, 9
Hi,
I just noticed that the Engine Room doesn't seem to have a binary
package for Debian 4 for version 3.1.2 (3.0.5p1 had Debian 3 and 4).
Are there plans for this, or has it been "deprecated"?
Thanks,
Jonathan
--
==
lem resides in Cfengine.
>
> --
> Regards,
> Eystein
>
> On Mon, Dec 20, 2010 at 2:26 PM, Jonathan CLARKE
> mailto:jonathan.cla...@normation.com>>
> wrote:
>
> On 19/12/2010 20:31, no-re...@cfengine.com
> <mailto:no-re...@cfengine.com> wrote:
>
lem resides in Cfengine.
>
> --
> Regards,
> Eystein
>
> On Mon, Dec 20, 2010 at 2:26 PM, Jonathan CLARKE
> mailto:jonathan.cla...@normation.com>>
> wrote:
>
> On 19/12/2010 20:31, no-re...@cfengine.com
> <mailto:no-re...@cfengine.com> wrote:
>
, if the problem can't be reliably reproduced elsewhere (I
can even give root access to this VM to someone at Cfengine AS).
Regards,
Jonathan
--
======
Jonathan CLARKE
---
On 12/09/2010 01:43 PM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: silly cfengine trick #!
> Author: matter
> Link to topic: https://cfengine.com/forum/read.php?3,19692,19692#msg-19692
>
> Have you ever thought, "Gee, I love the power of cfengine syntax, I just wish
> I could s
th Cfengine and would rather use
3.1.0 immediately, rather than have to upgrade later... :)
Thanks!
Jonathan
--
==
Jonathan CLARKE
--
Normation
44 rue Cauchy, 94110 Arcueil, France
-
both with a specific version, and without any
specific version?
I tried various combinaisons of ifvarclass => isdefined("version") but
that's not legal syntax. Maybe what is needed is some mechanism to
change package_name_convention depending on the value of "version"?
They make installation
a breeze. You have to register and log in ("Engine Room" > "My cache").
Check out http://www.cfengine.org/pages/software.
Hope this helps,
Jonathan
--
==
Jonathan CLARKE
--
dlesequence).
>
> Any suggestion ?
Hi,
It looks like you may need unique names for body and bundle items, even
if they are of the same type...
Regards,
Jonathan
--
---
ach server, although you could
probably do without cf-runagent or cf-serverd if you're sure you don't
to pull any files from the "end servers". I recommend just sending them
all out...
Jonathan
--
-
e able to be configured (to a maximum
frequency, ie 3600 seconds) or disabled (for folks to use their own
promise in "commands" section.
Maybe two new parameters :
package_list_update_command => "/usr/bin/aptitude update"
package_list_update_ifelaps
hat was supported in apt-get.
>
> If you can set up and test the full thing for aptitude, that is a great
> service to the
> community.
>
> Jonathan Clarke wrote:
>> On 25/01/2010 14:44, Jonathan Clarke wrote:
>>> Hi,
>>>
>>> I've been testi
On 25/01/2010 14:44, Jonathan Clarke wrote:
> Hi,
>
> I've been testing the standard library, in particular the apt
> package_method. I come with a bug and some suggestions.
One further question:
To "be aware" of new package, aptitude (or apt-get) must download the
l
an.org/doc/FAQ/ch-pkgtools.en.html)
On 25/01/2010 14:47, Mark Burgess wrote:
This is good feedback. If we know the point at which aptitude came into play,
then we can
place classes in the body to separate, or test for it, e.g.
body package_method debian
{
have_aptitude::
!have_aptit
Hi,
I've been testing the standard library, in particular the apt
package_method. I come with a bug and some suggestions.
First off, the bug. package_update_command is set to "apt-get
dist-upgrade", which cause *all* packages to be updated to the latest
version, not just the one(s) we're updat
On 01/07/2010 12:52 PM, Nicolas Charles wrote:
Hi,
I've just moved my Cygwin version from 3.0.2 to 3.0.3, and the behavior
of the workdirectory changed.
The windows administrator is named 'slave', and for some reasons
cfengine now tries to use /home/slave/.cfagent rather than /var/cfengine.
sl.
52 matches
Mail list logo