Restired the newer version. Not sure why an old one came back from the dead.
Let me know
if it happens again :-)
Nicolas Charles wrote:
> Hi,
>
> I was looking the cfengine solution page, and found this :
> https://cfengine.com/inside/manuals/cf3-solutions#Set-up-name-resolution
>
> I'm might
Forum: Cfengine Help (Mailing list)
Subject: Re: How to remove clients from cfengine 3 reports?
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,16582,16622#msg-16622
Looking at the code, it was incomplete, ignoring the lastseen expiry time in
common control. I put this in svn no
Forum: Cfengine Help (Mailing list)
Subject: Re: How to replace hosts that change in the /etc/hosts file
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,16236,16621#msg-16621
Hi Daniel,
Yes, sorry I failed to post it before. It's actually quite simple:
# Define a class no m
Forum: Cfengine Help (Mailing list)
Subject: Re: How to remove clients from cfengine 3 reports?
Author: RIngersoll
Link to topic: https://cfengine.com/forum/read.php?3,16582,16620#msg-16620
What I mean is that clients not seen are purged only after one week regardless
of what I set lastseenexpire
Yep, but I can't find this function in the cfengine open promise standard
library.
Diego do you have the function always in you solution so I can use it?
Thnx
On Mon, Mar 22, 2010 at 11:47 AM, Nakarin Phooripoom <
mynameisje...@gmail.com> wrote:
> It could be wherever you'd like either in che
Forum: Cfengine Help (Mailing list)
Subject: Re: How to remove clients from cfengine 3 reports?
Author: RIngersoll
Link to topic: https://cfengine.com/forum/read.php?3,16582,16618#msg-16618
Very nice.
Has the issue with lastseenexpireafter been fixed also? I don't see any change
at all no mat
Upgrading the main cf-serverd host to 3.04 solved the problem.
It seems like it was a compatibility issue after all.
sergio
On 22/mar/2010, at 13.54, Sergio Simone wrote:
> Hi guys,
> i'm in the middle of an upgrade from 3.02 to 3.04.
> The central cf-serverd is still running 3.02.
>
> I'm test
Hi guys,
i'm in the middle of an upgrade from 3.02 to 3.04.
The central cf-serverd is still running 3.02.
I'm testing 3.04 on one of the clients and i'm having this kind of issue with
remote file copy.
cf3 -> Destination file "/var/cfengine/inputs/update.cf" already exists
cf3 !! Image file /v
For some reason, an old version has been replaced online. I'll figure out why
and update it.
Nicolas Charles wrote:
> Hi,
>
> I was looking the cfengine solution page, and found this :
> https://cfengine.com/inside/manuals/cf3-solutions#Set-up-name-resolution
>
> I'm might be wrong, but the gen
It could be wherever you'd like either in check-file-perms.cf or library.cf
Cheers,
--Nakarin
On Mar 22, 2010, at 9:40 AM, daniel parkes wrote:
> I'm using the first solution, but I'm getting and error with the always
> clause:
>
> No such FnCall "always()" in promise @ /var/cfengine/git/check
Ah, this bug was fixed in svn now. I would get the latest patches if you can.
Lamballais Gildas wrote:
> Hi Mark,
>
> I've used your solution:
> Tag.cf
> bundle common my_tag
> {
> vars:
> "tags" slist=> { "TAG1", "TAG2", "TAG3", "TAG4", "TAG5" };
>
> classes:
> "MY_CLASS"
It didn't match because you declared one with no argument, but tried to use it
with an argument. It was different indeed. You should either redeclare the body
or change the way you use it in the bundle agent test.
# alternative 1
body depth_search recurse(x)
{
depth => "$(x)";
}
or
# alternat
Hi Mark,
I've used your solution:
Tag.cf
bundle common my_tag
{
vars:
"tags" slist=> { "TAG1", "TAG2", "TAG3", "TAG4", "TAG5" };
classes:
"MY_CLASS" expression => regline ( "^$(tags)$","$(
sys.workdir)/alltags");
reports:
MY_CLASS::
"CF_CLASS MY_CLASS"
}
And it wor
Hi Neil,
I don't want to call the 2nd bundle because I'm not aware of all the bundles
that may use this class.
Could you explain your 2nd question : what do you mean by remote classes?
For the last option, I will try it asap
G.
-Message d'origine-
De : nwat...@symcor.com [mailto:nwat...
I'm using the first solution, but I'm getting and error with the always
clause:
No such FnCall "always()" in promise @
/var/cfengine/git/check-file-perms.cfnear line 384
Not sure where I should have defined the always function, in my library.cf ?
...
more file
.
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
16 matches
Mail list logo