Re: Time classes question

2012-10-17 Thread Bas van der Vlies
gt; > It makes sense when they're considered together, and it's better syntax than > Min20_24_59. > > > On Oct 12, 2012, at 10:21 AM, Brad Beyenhof wrote: > >> On Fri, Oct 12, 2012 at 7:31 AM, Bas van der Vlies wrote: >>> >>> When i specify a

Time classes question

2012-10-12 Thread Bas van der Vlies
16:26:20 CEST 2012 -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * smime.p7s Description: S

CFengine Parser

2012-10-12 Thread Bas van der Vlies
" is not allowed in 'edit_line' constraint body, near token '2"' It would be nice if the kind of checking could be done for other sections. -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Comp

Re: [ANNOUNCE] Upcoming move of mailing list and forum to Google Groups

2012-10-08 Thread Bas van der Vlies
fferences between forum and email messages. -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * *

Re: CFEngine Help: Re: CFEngine Help: Re: [ANNOUNCE] CFEngine Community 3.4.0beta2 is released

2012-10-03 Thread Bas van der Vlies
ist.* cf3> Comment: Remove all files starting with security.* cf3> Comment: Remove file xpra.squeeze cf3> Comment: Copy the syslog-ng config file cf3> Comment: Copy the syslog-ng config file cf3> Comment: Copy the syslog-ng config file cf3> Com

Re: CFEngine Help: Re: problem with variable in bundle agent

2012-09-21 Thread Bas van der Vlies
On 09/20/2012 05:10 PM, Bas van der Vlies wrote: > On 09/20/2012 04:58 PM, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: Re: problem with variable in bundle agent >> Author: neilhwatson >> Link to topic: https://cfengine.com/forum/read.php?3,27443,274

Re: CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread Bas van der Vlies
gt; reasonable solution to the problem to you? Do you have other ideas? > Jessica, We have the same command in our promises.cf file to make sure cf-agent is run with up-to-date file: {{{ exec_command => "$(sys.workdir/bin//cf-agent -f failsafe.cf && $(sys.workdir)/bin/cf

Re: CFEngine Help: Re: problem with variable in bundle agent

2012-09-20 Thread Bas van der Vlies
perms_cp' > I did not include it. Here is the body: body copy_from sara_hash_no_perms_cp(from,server) { source => "${from}"; servers => { "${server}" }; preserve => "false"; compare => "hash"; } -- **

Re: problem with variable in bundle agent

2012-09-20 Thread Bas van der Vlies
On 09/20/2012 11:31 AM, Bas van der Vlies wrote: > Cfengine community: 3.3.2 > OS: debian wheezy > > I have the following bundle: > > bundle agent sara_template_process(final_destination, owner, mode) > { > vars: > > any:: > "tem

problem with variable in bundle agent

2012-09-20 Thread Bas van der Vlies
t; Object /etc/node_status/templates/autofs had permission 600, changed it to 400 cf3> ?> defining promise result class template_copied_resolv_conf cf3> -> Updated file from install2:/data/cfengine3/templates/autofs cf3> ?> defining promise result class template_copied_

Re: rpm_version package provider

2012-09-18 Thread Bas van der Vlies
Later on in the code cfengine does another version check. {{{ Checking if latest available version is newer than installed... }}} here is the decision to kskip the package. I have reported the bug and a patch is included in the ticket: * https://cfengine.com/dev/issues/1165 * https://cfengine.com/bugtracker/v

Re: cf3-quickstart still mentions BerkeleyDB as prereq?

2012-08-02 Thread Bas van der Vlies
Erland, There are Solaris packages available on: * http://www.opencsw.org/packages/CSWcfengine3utils regards -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services

Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread Bas van der Vlies
send i pull request and here are my outputs with the patch commited: {{{ : sys.arch value is x86_64 R: sys.cdate value is Tue_Jul_24_14_23_34_2012 R: sys.cf_agent value is "/var/lib/cfengine3/bin/cf-agent" R: sys.cf_execd value is "/var/lib/cfengine3/bin/cf-execd" R: s

Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread Bas van der Vlies
s qualified */ char *p = strchr(nodename, '.'); if (p != NULL) { strlcpy(uqname, nodename, MIN(CF_BUFSIZE, p - nodename + 1)); } else { strcpy(uqname, nodename); } strcpy(domain, ""); &

Re: CFEngine Help: Re: Documenting policy

2012-07-17 Thread Bas van der Vlies
# 47 # common variables: 48 # * string: certifcate.config_dir - directory on the host 49 # * string: certifcate.bundle_dir - directory in the policy server 50 # * string: certifcate.local_ca_dir - directory on host to include certificate that must include 51 #

Re: CFEngine Help: Re: Using defaults promises

2012-07-16 Thread Bas van der Vlies
> > In this case the default value kicks in if the string is empty or if it > starts with a dollar sign. > > Neat isn't it? :) > Should cfengine detect that the variable has not been resolved and use the default value? -- ***

Re: which cfengine_stdlib.cf

2012-06-23 Thread Bas van der Vlies
On 22 jun. 2012, at 18:23, Ted Zlatanov wrote: > On Thu, 21 Jun 2012 15:44:48 +0200 Bas van der Vlies wrote: > > BvdV> On 06/21/2012 02:50 PM, Ted Zlatanov wrote: >>> On Thu, 21 Jun 2012 13:46:15 +0200 Bas van der Vlies wrote: > >>> I have not updated CFEng

Re: which cfengine_stdlib.cf

2012-06-21 Thread Bas van der Vlies
On 06/21/2012 02:50 PM, Ted Zlatanov wrote: > On Thu, 21 Jun 2012 13:46:15 +0200 Bas van der Vlies wrote: > > BvdV> Question which cfengine_stdlib.cf to use? Is copbl repository the > leading one > > BvdV> There is one in the copbl and one in the design-center repos

which cfengine_stdlib.cf

2012-06-21 Thread Bas van der Vlies
}}} So there are 4 different versions in the cfengine repositories! regards -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands

Re: CFEngine Help: Strange error message

2012-05-23 Thread Bas van der Vlies
iable expected, but "@{}" is malformed Naked > variable expected, but "@{}" is malformed Naked variable expected, but "@{}" > is malformed Naked variable expected, but "@{}" is malformed > > I had also the kind of Periodically emails. Since we upgrade our nodes

Re: [ANNOUNCE] CFEngine Community 3.3.2 is released

2012-05-16 Thread Bas van der Vlies
Fix compilation on Solaris 11 (Mantis #1091). > > Downloads: > > https://cfengine.com/source-code/download?file=cfengine-3.3.2.tar.gz > > Checksums: > > MD5 13235bfa13f8cbfb53517ac2244803ce > SHA1 e669f51bbc31f65cfd45bc895d0b101287606563 > -- *

Re: Segfault when reporting on array

2012-05-16 Thread Bas van der Vlies
cause it. Can anyone else > reproduce? 09:08 gb-r11n7.irc.sara.nl:/var/tmp/bas/2706930 root# cf-agent -KI ./test_groups.cf Unexpected argument with no preceding option: ./test_groups.cf Fatal CFEngine error: Aborted no segv -- *************

Re: edit_template variable expansion

2012-05-01 Thread Bas van der Vlies
"varray[domain_search]" slist => { "irc.sara.nl", "sara.nl" }, policy => "overridable"; ## Initialize template_variables # "templates" usebundle => template("cluster.v

Re: CFEngine Help: Upgrading to cf3.3 and tcdb issues

2012-04-20 Thread Bas van der Vlies
Libraries [runtime] FWIW i am also using debian squeeze and encountered no problems, but i always make my own debian packages. -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing

Re: edit_template and lists

2012-04-19 Thread Bas van der Vlies
https://cfengine.com/bugtracker/view.php?id=1080 -- **** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Nether

edit_template and lists

2012-04-18 Thread Bas van der Vlies
s and have to decide in the template file which variable to use. It would be nice if can decide what i want in the template file. -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The

Re: Overriding variables

2012-04-13 Thread Bas van der Vlies
ariables (Is not readable but works, like Perl ;-)): "cfg[$(param_keys)]" slist => { "@($(params)[$(param_keys)])" }, policy => "overridable"; I see in the reference manual this: * SSLCertificateFile $(stage_file.params[apache_ssl_crt][1]) Does this mead item 1 fro

Re: Overriding variables

2012-04-13 Thread Bas van der Vlies
On 04/13/2012 10:16 AM, Bas van der Vlies wrote: I am using the new template functionality in 3.3.0 and using a default set of variables and can override them. But my set of variables are list and strings. For strings it is easy but what about lists? Here is an example of what i am trying to

Overriding variables

2012-04-13 Thread Bas van der Vlies
"bas string $(cfg[ldap_base])"; "bas string $(cfg[ldap_user])"; "bas list $(cfg[ldap_servers])"; } bundle agent test { vars: any:: "varray[ldap_servers]" slist => { "A", "B"

Re: CFEngine Help: Re: Question about services

2012-04-12 Thread Bas van der Vlies
ed that as starting point. I wanted to knew what was possible with 'services' and found the documentation confusing and posted a piece of it as reference. But the mails explain why. -- ************ * Bas van der Vlies

Re: Quastion about edit_template behaviour

2012-04-12 Thread Bas van der Vlies
On 04/12/2012 05:19 PM, Nick Anderson wrote: On 04/12/2012 09:43 AM, Bas van der Vlies wrote: and if i used edit_template the new line are gone: By the way i love this new feature!. Is there a way to preserve the layout? Diego mentioned that blank lines were stripped in the webinar yesterday

Quastion about edit_template behaviour

2012-04-12 Thread Bas van der Vlies
? -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * smime.p7s Description: S/MIME

Question about services

2012-04-12 Thread Bas van der Vlies
y? And can it be clearer what can be used in the Community version and what is only available for Nova? Thanks -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Serv

Re: Last call: your favorite bug to be fixed for 3.3.0

2012-04-05 Thread Bas van der Vlies
the hostseen database. So i can use the lastseen function: * https://cfengine.com/bugtracker/view.php?id=508 regards -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services

Re: What are you using modules for?

2012-03-22 Thread Bas van der Vlies
t;,"/etc/node_status/cluster"); }}} -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * ***

Re: CFEngine Help: exclude git directories

2012-03-21 Thread Bas van der Vlies
"$(torque.mom_priv_dir)" comment => "Sync the mom_priv directory", perms => mog("0755", "root", "root"), depth_search => recurse_ignore("1", "@(exclude_dir)&quo

Cfengine source code

2012-03-07 Thread Bas van der Vlies
-- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * smime.p7s Description: S/MIME Cryptographic Signature

Re: allowconnects matching clarification needed

2012-02-19 Thread Bas van der Vlies
Help-cfengine mailing list Help-cfengine@cfengine.org<mailto:Help-cfengine@cfengine.org> https://cfengine.org/mailman/listinfo/help-cfengine -- Bas van der Vlies b...@sara.nl<mailto:b...@sara.nl> ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: CFEngine Help: websvn

2012-02-17 Thread Bas van der Vlies
ecent fiddling going on with cfengine.com. ___ http://source.cfengine.com/websvn/ -- **** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Comp

Re: CFEngine Help: Re: Community 3.2.3 HP-UX 11.11 libpromises link problems

2012-02-16 Thread Bas van der Vlies
but argument 5 has type '__ino_t' files_operators.c:1181: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type '__ino_t' cf-agent.c: In function 'KeepControlPromises': cf-agent.c:602: warning: format '%s' e

Re: CFEngine Help: Re: Textual order of bundles produces ' Duplicate selection of value for variable '

2012-02-11 Thread Bas van der Vlies
aluation. Maybe open a bug at > http://bug.cfengine.com/ ? > bug report 516 handles the problems with variable expansion and order: * https://cfengine.com/bugtracker/view.php?id=516 -- Bas van der Vlies b...@sara.nl ___ Help-cfengine mailin

Re: CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread Bas van der Vlies
__ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services

Re: CFEngine Help: Re: Copy TO Policy Server

2012-01-09 Thread Bas van der Vlies
s, you can control which server can copy files and you can also use cf-runagent to start a cf-agent run on a node. -- ******** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amst

RE: CFEngine Help: Re: convert class name into a string

2012-01-03 Thread Bas van der Vlies
to just use the class a string in the files and reports section without manually doing the translation as shown above. -- Bas van der Vlies ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: CFEngine Help: Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-16 Thread Bas van der Vlies
"usebundle_positional" or something like that. That > would preserve backwards compatibility. > I also like the idea of having default values and if specified override them without having positional arguments. -- Bas van der Vlies b...@sara.nl ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: CFEngine Help: Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-16 Thread Bas van der Vlies
process if we just can append the packages to a list and install all the packages at the end. Maybe there also other scenarios for this. regadsr -- Bas van der Vlies b...@sara.nl ___ Help-cfengine mailing list Help-cfengine@cfengine.org https

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-16 Thread Bas van der Vlies
> This would also be nice to have for the common body library, meaning > that each body or bundle for example had a copbl_ prefix: > > - body acl copbl_access_generic > - body acl copbl_ntfs > - body acl copbl_strict > - body action copbl_bg > - body action copbl_if_elapsed > -

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-16 Thread Bas van der Vlies
e that show the behavior: >> >> bundle impossible global >> { >> vars: >> "hello" string => "dit is een globale variable"; >> } >> >> body common control >> { >&g

Re: CFEngine Help: Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-16 Thread Bas van der Vlies
gt; that suggestion, though it might be hard to implement in a clear way. > Maybe this can work, introduce a for example a combine function that can except multiple bodies statement and you can override the settings in settings e.g.: copy_from => combine( default( "$(g.policys

Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-16 Thread Bas van der Vlies
variable"; } body common control { bundlesequence => { test }; } bundle agent test { reports: cfengine:: "$(global.hello)"; } -- Bas van der Vlies b...@sara.nl ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: CFEngine Help: An advanced policy using template and variable substitution

2011-11-30 Thread Bas van der Vlies
Indeed very nice. PS) I still need to go to the web interface to read this message. Is there a fix. So i can read posts with arrays with an email program? -- * Bas van der Vliese-mail: b...@sara.nl

Re: CFEngine Help: help with commands - append date to file

2011-11-09 Thread Bas van der Vlies
t; -> "Some Person", comment => "Make sure ${testfile} exists", create => "true"; commands: "/bin/date >> ${testfile}" contain=> in_shell, comment=> "Echo current dat

Re: CFEngine Help: Re: cf-runexec confusion

2011-11-07 Thread Bas van der Vlies
to be a host with a duplicate key cf3> !! Unspecified server refusal (see verbose server output)cf3> Couldn't recv cf3> !!! System error for recv: "Connection reset by peer" No sign of class 'foobar'. Anyone? I think it is a bug, see this

Re: CFEngine Help: Re: inserting lines into crontab

2011-09-14 Thread Bas van der Vlies
aired( cron_job_added ); reports: !VIXIE_CRON:: "No Vixie cron software installed"; cron_job_added:: "$(name) is installed in $(vixie_cron_dir)"

Re: CFEngine Help: Re: Understanding CF's log

2011-08-30 Thread Bas van der Vlies
=> "Failsafe.cf 2.0.0"; } body agent control { any:: ifelapsed => "0"; skipidentify => "true"; } }}} -- *

Re: Cfengine Help: Re: strange output by cf-runagent

2011-08-25 Thread Bas van der Vlies
On 24-08-11 16:08, Bas van der Vlies wrote: > >> root@testserver:/var/cfengine/inputs# cf-runagent >> cf3>!! >> >> cf3>!! >> >> cf3>!! >> >> cf3>!! >> >> cf3>!! >> >> root@testserver:/var

Re: Cfengine Help: Re: strange output by cf-runagent

2011-08-24 Thread Bas van der Vlies
gent -f failsafe.cf && /var/lib/cfengine3/bin/cf-agent --inform -DChange)^M Transaction Send[t 44][Packed text]^M Attempting to send 52 bytes^M SendSocketStream, sent 52^M Transaction Send[t 44][Packed text]^M Attempting to send 52 bytes^M SendSocketStream, sent 52^M Transaction Send[t 73][P

Re: CFEngine Help: Re: conditional setting of a variable

2011-08-24 Thread Bas van der Vlies
; } I just tested it with 3.2.0 and it works as expected. {{{ gb-r5n1.irc.sara.nl:/var/tmp/bas root# cf-agent -f /var/tmp/bas/test.cf -K R: foo: bar R: conditional: $(conditional) touch /tmp/foo root# cf-agent -f /var/tmp/bas/test.cf -K R: foo: bar R: conditional: this sometimes happens }}

FORUM messages

2011-08-17 Thread Bas van der Vlies
https://cfengine.com/forum/read.php?3,23121,23130#msg-23130 -- **** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Nether

Re: CFEngine Help: Re: bug? ifvarclass in reports after any::

2011-08-16 Thread Bas van der Vlies
ick the cfengine parser for reports section ;-) # "all" or => { "any" }; }}} and use the class 'all' in our reports. my 2 -- * Bas van der Vlies

package_delete command for debian in cfengine_stdlib.cf

2011-08-15 Thread Bas van der Vlies
purge'' in cfengine_stdlib.cf or make an option for it. I just want to use the package commands from the cfengine_stdlib.cf and remove the whole package. -- ************ * Bas van der Vliese-mail: b...@sar

Re: Reproducing authorization denials (Issue 498)

2011-07-27 Thread Bas van der Vlies
On 27-07-11 12:29, Mikhail Gusarov wrote: > On 07/27/2011 12:13 PM, Bas van der Vlies wrote: > >> I regularly get these errors from clients: >> {{{ >> Protocol transaction broken off (1) >>!!! System reports error for recv: "Resource temporarily unavailabl

Re: Reproducing authorization denials (Issue 498)

2011-07-27 Thread Bas van der Vlies
m reports error for recv: "Resource temporarily unavailable" I: Made in version '2.4.0' of '/var/lib/cfengine3/inputs/bundles/postfix.cf' near line 77 I: Comment: Copy postfix files that does require a restart and mirror it }}} -- ***************

Re: CFEngine Help: files: copy to "/" does not seem to work

2011-07-07 Thread Bas van der Vlies
> Is this a feature or simply something that nobody has tried before? As far as > I understand it, '/' is an absolute path. > > Cheers, > Sven > > ___ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine -- Bas van der Vlies b...@sara.nl ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-06 Thread Bas van der Vlies
y update subver ...: > cf3> !! Finished command related to promiser "subversion" -- an error > occurred (returned 1) > cf3> Package schedule execution failed for subversion-1.6.11-7.el5.x86_64 > > Sven, That is a bug in my code/patch. I tested it a lot with add,addu

cfengine3 update problem

2011-07-04 Thread Bas van der Vlies
oblem? -- **** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Nether

Re: Cfengine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-04 Thread Bas van der Vlies
ting up Install Process cf3> Q:yum -y install apr-1 ...:Package apr-1.2.7-11.el5_6.5.x86_64 already installed and latest version cf3> Q:yum -y install apr-1 ...:Package apr-1.2.7-11.el5_6.5.i386 already installed and latest version cf3> Q:yum -y install apr-1 ...:Nothing to do cf3> Q:

Re: Cfengine Help: Re: Advice on using package promises

2011-07-01 Thread Bas van der Vlies
e version of existing packages > I: Made in version 'not specified' of > '/var/cfengine/inputs/dcsunix/packagesClient.cf' near line 41 > !! You must supply a method for determining the version of existing packages > I: Made in version 'not specified' of > '/var/

Re: Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread Bas van der Vlies
stalled | grep wireshark > wireshark.x86_64 1.0.11-1.el5_5.5 > installed > > > cf3> ?? Already have a (cached) package list for this manager > cf3> -> Package version specified implicitly in promiser's name > cf3> -> Looking for

Re: Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread Bas van der Vlies
che problem, see: * https://cfengine.com/bugtracker/view.php?id=627 -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services

Re: Question about classes

2011-06-22 Thread Bas van der Vlies
On 22-06-11 09:44, Bas van der Vlies wrote: > On 21-06-11 21:49, Seva Gluschenko wrote: >> I'm not sure if I've read you right, but if you mean that or => "" >> works and or => {} doesn't, perhaps, it's high time to file a bug >> re

Re: Question about classes

2011-06-22 Thread Bas van der Vlies
hat is correct the "" works and { } doesn't, see: {{{ >>>> "PBS_MOM_1" or => "NODES"; >>>> "PBS_MOM_2" or => { "NODES" }; PBS_MON_1 gets defined (with waring message&qu

Re: Question about classes

2011-06-21 Thread Bas van der Vlies
_PBS_MOM and NODES. > Seva, Thanks for the explanation. I have misread the expression syntax and finally i understand how to use expressions ;-). The working examples for 'or' and 'and' are strings and not lists. If an list is used the the tests will fail. Is this an issue?

Re: Question about classes

2011-06-21 Thread Bas van der Vlies
On 17-06-11 16:17, Bas van der Vlies wrote: > > On 17 jun 2011, at 15:07, Seva Gluschenko wrote: > >> I'd rather rewrote it as follows: I have done some experiments and was a bit surprise over the outcome, maybe some can explain to me why some work and others not: *

Re: Question about classes

2011-06-17 Thread Bas van der Vlies
'PBS_MOM' and => { "PBS_ok", "PBS_reg", "${sys.host}" }; > > 2011/6/17 Jesse Becker : >> On Fri, Jun 17, 2011 at 05:25:44AM -0400, Bas van der Vlies wrote: >>> I want to define a classs like this: >>> classes: >&

Question about classes

2011-06-17 Thread Bas van der Vlies
perator? For me it would be useful or are there other ways to accomplish this? PS) I used this syntax a lot in cf2 to define classes. -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Aca

Re: Cfengine Help: Changes to the CFEngine website

2011-06-14 Thread Bas van der Vlies
I have another question. I used the cfengine syntax page on cfengine,org a lot, but i can not find it on cfengine,com. So the question where can i find it? Further i get an error on: http://cfengine.com/pages/tech, quick reference link * http://cfengine.com/manuals/cf-QuickRef3 -- Bas van der

Re: Cfengine Help: Re: conditional import of inputs -- i.e. using classes to control inputs

2011-05-20 Thread Bas van der Vlies
se several people have reported issues with variable expansion: * Filed bug https://cfengine.com/bugtracker/view.php?id=516 -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * ***

Problems with expand_template it is not convergent.

2011-05-18 Thread Bas van der Vlies
uot;), To our surprise we end up with the following /var/tmp/config file: {{{ cluster sara ideal_load 100 $pbsserver gpubatch $arch x86_64 $pbsserver batch }}} This is totally not convergent. Is this the intended behaviour or is this a bug? -- ***

Re: Cfengine Help: MD5 key naming instead of IP's/hostnames

2011-04-28 Thread Bas van der Vlies
I find out from the MD5 hashes in > my server's ppkeys dir what keys to revoke? The new key naming scheme seems > like a nightmare compared to the old, simpler, root-IP.pub. > > Am I missing the obvious here? > Did you use: cf-

Re: package_list_update_ifelapsed question/proposal

2011-04-28 Thread Bas van der Vlies
On 27 apr 2011, at 17:38, Erik Mouw wrote: > On Apr 27, 2011, at 11:36, Bas van der Vlies wrote: > >> We have several software repositories at our site (debian, centos, ..) >> where we maintain are own software. This software is updated frequently and >> we are alw

Re: Cfengine Help: Re: Literature on Cfengine3

2011-04-27 Thread Bas van der Vlies
> > I was asked to review the book in the works, and from what I saw, I was very > discouraged. =( I asked that the publishers look at a complete re-write. > I was also asked and i totally agree with you! -- ******** *

package_list_update_ifelapsed question/proposal

2011-04-27 Thread Bas van der Vlies
s, wait for cf 3.1.3 # refresh_processes => { "none" }; -- **************** * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Serv

Re: Cfengine 3.1.5b3 is released

2011-04-21 Thread Bas van der Vlies
: symbol lookup error: /var/lib/cfengine3/bin/cf-agent: undefined symbol: NoteVarUsageDB -- * Bas van der Vliese-mail

Re: Cfengine Help: Re: cf-execd in deamon mode

2011-04-14 Thread Bas van der Vlies
-serverd daemon or must this daemon also be killed/restarted? cf3 knows when the configuration is changed due to cf-promises caching. So if the configuration is changed it would be useful/handy if the daemon reread their configuration files. Saves me a complex update.cf script ;-) -- B

cf-execd in deamon mode

2011-04-14 Thread Bas van der Vlies
configuration flle. -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands

Re: question about packages and package_select/package_verions

2011-04-13 Thread Bas van der Vlies
install cfengine3 ... }}} On 12 apr 2011, at 14:05, Bas van der Vlies wrote: > I have the following bundle on debian: > bundle agent cfengine_upgrade_package(version) > { > vars: > debian:: > "package_name" string => "cf

question about packages and package_select/package_verions

2011-04-12 Thread Bas van der Vlies
t;>>>>>>>>>>>>>>>>>>>>>>>> cf3>Offering these package-promise suggestions to the managers cf3> >>>>>>>>>>>>>>>>>>>>>>>>&

Re: Cfengine Help: Hard classes vs defined classes ?

2011-04-05 Thread Bas van der Vlies
ganisation of the bundle sequence ? I > would like to prepare it in a way, where one Admin is unable to block all > promises with simple typo. I was hoping that using hard clasesses solves the > problem in a way that files belonging to working set of promises wouldn't be >

Re: program cf-promises

2011-03-31 Thread Bas van der Vlies
erved keyword i can not be used. > -Dan > > On Mar 31, 2011, at 4:55 AM, Bas van der Vlies wrote: > >> On 30-03-11 21:38, Seva Gluschenko wrote: >>> Perhaps, because it doesn't make much sense, since cf-promises only >>> verifies files and exits, taking no a

Re: program cf-promises

2011-03-31 Thread Bas van der Vlies
> 2011/3/31 Bas van der Vlies: >> On 30-03-11 21:38, Seva Gluschenko wrote: >>> >>> Perhaps, because it doesn't make much sense, since cf-promises only >>> verifies files and exits, taking no actions. >>> >> >> Maybe your answer is vali

Re: program cf-promises

2011-03-31 Thread Bas van der Vlies
defined. > 2011/3/30 Bas van der Vlies: >> >> >> Have question about this command. All cfengine programs set a hard class: >> cf-monitor --> monitor >> cf-agent --> agent >> cf-serverd --> server >> cf-execd --> executor >&g

program cf-promises

2011-03-30 Thread Bas van der Vlies
Have question about this command. All cfengine programs set a hard class: cf-monitor --> monitor cf-agent --> agent cf-serverd --> server cf-execd --> executor But cf-promises not. My question is why? -- Bas van der Vlies

Re: errors when defining classes based on built-in functions

2011-03-30 Thread Bas van der Vlies
gt; mlz. > > > On Wed, Mar 30, 2011 at 11:57 AM, Bas van der Vlies <mailto:b...@sara.nl>> wrote: > > On 29-03-11 15:17, M LZ wrote: > > > > Hi, > > > > I encounter the following problem, extracted from a more complex > conf

Re: errors when defining classes based on built-in functions

2011-03-30 Thread Bas van der Vlies
has value test_var_value > > Is it something that I miss or things are not working the way the > documentation says? > > Test run on cfengine-3.1.4, debian_5 linux and sparc solaris 10 . > I just tested this example with svn version 1917 (3.1.5a) on debian squeeze and every

Re: Problems with cf-serverd on policy host

2011-03-29 Thread Bas van der Vlies
8.*", "192.168.149.*", "192.168.150.*" }; instead of: allowconnects => { "127.0.0.1" , "192.168.144.0/21" }; For now all my problems are gone. Do you use CIDR notation for the admit rules? -- **

Re: Cfengine Help: Re: Preventing cf-agent process buildup / abortclasses

2011-03-29 Thread Bas van der Vlies
. Maybe a suggestion. Use a cfagent wrapper script. that is executed by cf-execd. That will check the state of the NFS-mount. If this is oke execute cf-agent else bail out, kill cf-agent processes (if possible) and mail a message. It is not ideal! -- Bas van der Vlies b...@sara.nl

Problems with cf-serverd on policy host

2011-03-25 Thread Bas van der Vlies
=> { "root" }; } bundle server access_rules() { access: any:: "/data/cfengine3" admit => { "192.168.144.0/21" }; roles: ".*" authorize

Re: Cfengine Help: Re: cfengine3 processes

2011-03-11 Thread Bas van der Vlies
. -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services Amsterdam, The Netherlands * ___ Help-cfengine mailing list Help-cfengine

Re: Cfengine Help: Re: Bundling the configuration into modules

2011-03-07 Thread Bas van der Vlies
quot;$(bundle_dir)/$(subdir)"; } in hourly.cf: bundle agent hourly { methods: any:: "any" usebundle => torque_config("lisa"); } -- *

  1   2   >