Re: CFengine Parser

2012-10-12 Thread Mark Burgess
Thanks, Bas. I will register a bug for this. In general, please use the bug tracker, rather than the mailing list to report omissions like this. M On 12/10/12 14:18, Bas van der Vlies wrote: I find cfengine3 much better then previous version (1 and 2), The only main concern for me is the p

Re: CFEngine Help: Re: CFEngine Help: memory exhausted error

2012-10-12 Thread Mark Burgess
Following up on this finally On 06/08/12 20:41, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: memory exhausted error > Author: passerby > Link to topic: https://cfengine.com/forum/read.php?3,26355,26914#msg-26914 > > You've been using right recursion in your bi

Re: CFEngine Help: Re: False report of "no constrants" in constrained classes promises.

2012-09-24 Thread Mark Burgess
On 09/24/2012 05:27 AM, Aleksey Tsalolikhin wrote: > Dear Mark, > >Thanks for your kind reply. > > On Sun, Sep 23, 2012 at 12:46 AM, Mark Burgess wrote: >>> The body of a promise details and constrains its nature. This promise >>> is constrained by the ifv

Namespace change

2012-09-11 Thread Mark Burgess
As discussed with Ted Z. around the design center testing/use of namespaces, we realize we could improve the consistency of the language by reversing the decision to avoid ":" as the dereference operator and change "." to ":", so we have namespace:bundle_scope.variable_lval as the hierarchy.

Re: CFEngine Help: Re: Variable convergence mystery

2012-07-31 Thread Mark Burgess
Knowing the algorithm is not going to help anyone to understand it as there are too many "variable issues". The algorithm is simple: every attempt is made to converge variables based on knowledge of defined classes, whenever they are encountered in a scheduled promise, going around up to three

Re: CFEngine Help: The future use of promiser in methods promises

2012-07-11 Thread Mark Burgess
No future use. After a while, I understood what it was supposed to be from a Promise Theory viewpoint. It represents a name for the collection of distributed objects affected by the promises in the bundle. It is therefore just an identifier that has only abstract significance, as we can't use

Re: Bad transfers and Fatal Cfengine errors

2012-07-05 Thread Mark Burgess
Do I understand that you can't reproduce the issue any more? We work pretty hard to make sure that CFEngine is absolutely safe to run and upgrade, so any info is appreciated. Mark On 07/05/2012 06:29 PM, Wes Hardin wrote: > In the past week, I've had two separate occurrences of, wh

Re: classes visibility in edit_template?

2012-07-02 Thread Mark Burgess
Ah, that sounds like a bug/unanticipated issue. Please file a report. Sorry. Sounds like my fault. -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections. Riccardo Murri wrote: Hello, I'm trying to use `edit_template` to generate a configuration file fro

Re: CFEngine Help: memory exhausted error

2012-06-29 Thread Mark Burgess
I saw this error before from bison. Not sure how to get around it. M On 06/29/2012 12:40 PM, Nicolas Charles wrote: > On 28/06/2012 15:34, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: memory exhausted error >> Author: neilhwatson >> Link to topic: https://cfengine.com/forum/r

Re: 180+ instances of cf-execd and cf-agent

2012-06-21 Thread Mark Burgess
As Mike pointed out NFS is a usual culprit. -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections. Brian Bennett wrote: Ron, It looks to me like you have a promise that's getting hung on something. Run `cf-agent -KIv` (cap k, cap i, little v) and watch t

Re: when/how is masterfiles/cf_promises_validated updated?

2012-06-21 Thread Mark Burgess
Cf-promises updates this when it executes successfully. -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections. Riccardo Murri wrote: Hello, I see that the stock `failsafe.cf` bundled with CFEngine Community updates the input files on the client only when

Re: Zenoss integration

2012-06-08 Thread Mark Burgess
I confirm -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections. Nick Anderson wrote: On 05/31/2012 03:09 PM, Nick Anderson wrote: > Is the zenoss integration only for Nova and greater edition? > > https://cfengine.com/manuals/cf3-Reference#export_005fzen

Re: CFEngine Help: Templating the solution?

2012-05-25 Thread Mark Burgess
Consider using this approach instead of the bundlesequence https://cfengine.com/manuals/st-menus#How-do-you-create-menus-with-CFEngine On 05/25/2012 09:17 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Templating the solution? > Author: tjavo87 > Link to topic: https://cfengi

Re: CFEngine Help: Proper way to manage large unique files

2012-05-23 Thread Mark Burgess
Yes, I would not recommend Augeas, edit_lines is the thing. On 05/23/2012 04:52 PM, Nick Anderson wrote: > On 05/23/2012 09:44 AM, Ted Zlatanov wrote: >> You may want to copy to an intermediate file (1) and use Augeas or >> edit_line on a second copy (2) which then gets copied into the final >> d

Re: reports: showstate => { ... }

2012-05-23 Thread Mark Burgess
It is not going to be removed, we've used it here in the past, but not for a while. M On 05/23/2012 03:21 PM, Nick Anderson wrote: > On 05/23/2012 08:13 AM, Mikhail Gusarov wrote: >> Hi. >> >> Is there anyone who uses the "showstate" option of reports promise? It seems >> to >> be broken w.r.t

Re: CFEngine Help: Can CFEngine 3 scale to support a 1 million + Enterprise?

2012-04-14 Thread Mark Burgess
Great answer Aleksey! I can just add that, 2000 hosts per hub is a pessimistic estimate of the worst case scenario where you have bi-directional traffic (in the commercial version, which collects regular 5 minute monitoring and reporting data) and there is database replication going on for mi

Re: Bug in canonify()

2012-04-05 Thread Mark Burgess
Syntactically this is perfectly correct but there might be a bug in the evaluation since this.promiser has to be evaluated in a special way to be available early during processing. -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections. Nick Anderson wrote

Re: CFEngine Help: Re: bundle common variables

2012-04-03 Thread Mark Burgess
On 04/03/2012 11:52 PM, Nicolas Charles wrote: > On 03/04/2012 17:55, Nick Anderson wrote: >> On 04/03/2012 10:52 AM, Denis Zinevich wrote: >>> btw, one more clarification about bundle common >>> >>> do i have to include my common bundles to >>> body common control bundlesequence ? >> They will e

Re: Classes/Contexts

2012-03-24 Thread Mark Burgess
The idea is that these things will be aliases and we will gradually change the messaging. It will not be a sudden shift. -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections. Nick Anderson wrote: So I am reading the final version of Diegos Learning CFEng

Re: Execution order

2012-03-24 Thread Mark Burgess
Todd, thanks for writing, your ideas are certainly clear, and I will give them some serious thought. The class/variable issue is more complex than it seems, and the ordering might not always help convergence of classes and variables (something of a chicken/egg problem). I will think about it t

Re: CFEngine Help: Bundle meta data

2012-03-16 Thread Mark Burgess
his simply be a best practice? In other words, what exactly does reserving the word gain us since, as Mark said, no matter how hard you try someone somewhere will be using that word (and maybe it's just me but I'd prefer to put metadat

Re: CFEngine Help: Bundle meta data

2012-03-15 Thread Mark Burgess
On 03/15/2012 01:07 PM, Nick Anderson wrote: > On 03/15/2012 07:01 AM, Mark Burgess wrote: >> Thanks Eric, I had exactly the same thought. The problem with this >> approach is that introduces "body syntax" within a bundle, which will be >> confusing and will weake

Re: CFEngine Help: Bundle meta data

2012-03-15 Thread Mark Burgess
mentation is to do >> this by best practices, using reserved variables. >> >> vars: >> >> "bundle_author" string => "kermit"; >> "bundle_version" string => "1.2.3 frog legs"; >> >> These are private and

Re: CFEngine Help: Trouble with long file transfers

2012-03-10 Thread Mark Burgess
Make sure you have not set expireafter too short. -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections. Nicolas Charles wrote: On 10/03/2012 15:07, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Trouble with long file transfers > Author:

Re: Ignoring virtual interfaces

2012-03-02 Thread Mark Burgess
. eth.* This is in trunk now. M On 03/01/2012 11:45 PM, Brian Bennett wrote: I came across this old post on the mailing list: https://cfengine.org/pipermail/help-cfengine/2009-December/006811.html Quoting the relevant portion: Mark Burgess wrote: Ouch. Perhaps we can make a configuration

Re: Deny multiple connections.

2012-03-02 Thread Mark Burgess
On 03/02/2012 12:24 PM, JIM AMANATIDIS (BLOOMBERG/ 731 LEXIN) wrote: > Hi all, >Is there a way for cf-serverd to deny multiple connections from the same > client? Thanks. > ___ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfeng

Re: Ignoring virtual interfaces

2012-03-01 Thread Mark Burgess
Thanks for reminding about this, Bryan. On 03/01/2012 11:45 PM, Brian Bennett wrote: I came across this old post on the mailing list: https://cfengine.org/pipermail/help-cfengine/2009-December/006811.html Quoting the relevant portion: Mark Burgess wrote: Ouch. Perhaps we can make a

Re: Does ifvarclass allow illegal class expressions? (containing spaces) why doesn't it auto-canonify? (to save CPU cycles?)

2012-03-01 Thread Mark Burgess
On 03/01/2012 04:19 PM, Nick Anderson wrote: > On 03/01/2012 09:13 AM, Aleksey Tsalolikhin wrote: >> I'd love to know the design thought behind classes type promises >> autocanonifying identifiers, but not ifvarclass promises... is that >> done advisedly and if so, why, please? > I would be intere

Re: Does ifvarclass allow illegal class expressions? (containing spaces) why doesn't it auto-canonify? (to save CPU cycles?)

2012-03-01 Thread Mark Burgess
This would seem to be an error. Classes should not contain spaces. On 03/01/2012 04:13 PM, Aleksey Tsalolikhin wrote: > Hi. I thought class identifier naming convention was the same as for > any CFEngine identifier - alphanumeric and underscore only - but I > noticed in 3.2.1 that CFEngine accep

Re: CFEngine Help: Re: Problems looping over slist with global reference

2012-02-13 Thread Mark Burgess
On 02/14/2012 04:50 AM, Nick Anderson wrote: > On 02/13/2012 01:09 PM, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: Re: Problems looping over slist with global reference >> Author: mark >> Link to topic: https://cfengine.com/forum/read.php?3,2480

Re: methods, usebundle and loops

2012-01-25 Thread Mark Burgess
PS: Stuck on cfengine 3.0.4 / 3.0.5p1 for this exercise, due to a slew of QA requirements. I'm afraid that's your problem. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Syntax help - access slist stored in array

2012-01-12 Thread Mark Burgess
On 01/13/2012 07:05 AM, Nick Anderson wrote: > I cant seem to get the syntax right for accessing a list stored in an array. > > I define users and groups using arrays, I would like to be able to use > the same style when defining group members. > > then pass groups to a parameterized bundle to make

Re: CFEngine Help: Re: Is there any way to check configuration changeset is applied to managed hosts?

2012-01-11 Thread Mark Burgess
Hi there, there is a promise-repair log in /var/cfengine/cf_repair.log In the commercial version, this all gets integrated into the GUI reporting tool. M On 01/11/2012 02:17 PM, Kaiwang Chen wrote: > Great. Got some idea about reporting as asynchronous notification. I > am not used to the

Re: CFEngine Help: Re: if assignment in cfengine

2012-01-05 Thread Mark Burgess
Simon, with ifvarclass => you can make strings composed of variables, where with the context:: syntax you can't. Personally i find context:: clearer, but the other is more flexible for "fancy" context handling. M On 01/05/2012 09:36 AM, Simon Blake wrote: > On Wed, Jan 04, 2012 at 03:12:1

Special Training Event in Palo Alto

2012-01-04 Thread Mark Burgess
fyi Automating System Administration using CFEngine 3 Presented by Mark Burgess & Aleksey Tsalolikhin Date: January 25-27 Location: Palo Alto, CA Price: $1950 per person (group discount negotiable) Registration & Agenda: http://cfengine3.eventbrite.com -- CTO and Founder CFEngi

Re: "any" usebundle

2012-01-04 Thread Mark Burgess
On 01/04/2012 08:24 PM, Oace, Tod R wrote: > Hello everyone, > > Is there a way for a bundle to access the "any" value of the following? > > "any" usebundle => my_bundle; > > I was hoping that $(this.promiser) would do it, but it doesn't. Not in > version 3.2.0 anyway. > If that could be done the

Re: CFEngine Help: Re: (addendum) How easy/simple is cfengine?

2011-12-30 Thread Mark Burgess
The idea of this site is not to provide CFEngine authoritative policy, but to accumulate ideas and get a peer review, as you mention. Eventually, we might cherry pick some of these and support them, but that is not yet planned in detail. On 12/30/2011 01:48 PM, Trond Hasle Amundsen wrote: > no

Re: Master to client security, signing?

2011-12-28 Thread Mark Burgess
On 12/28/2011 05:12 PM, Michael Gliwinski wrote: > On Wednesday 28 Dec 2011 14:07:30 Nick Anderson wrote: >> On 12/28/2011 07:13 AM, Michael Gliwinski wrote: >>> Another option which I'm considering now is to let managed nodes pull >>> from VCS directly into their own masterfiles and change policy

Re: Master to client security, signing?

2011-12-22 Thread Mark Burgess
On 12/22/2011 07:21 PM, Pete Ashdown wrote: On 12/22/2011 01:01 AM, Mark Burgess wrote: On 12/21/2011 11:41 PM, Pete Ashdown wrote: One reason I've objected to the use of puppet in our organization is the lack of server to client security. That is, if the server is compromised, then in

Re: Master to client security, signing?

2011-12-22 Thread Mark Burgess
information from a server, if it is available. It is fault-tolerant in case the net is not there. Hope this helps. Mark -- CTO and Founder CFEngine http://www.cfengine.com http://www.markburgess.org ___ Help-cfengine mailing list Help-cf

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

2011-12-20 Thread Mark Burgess
these cases and (for example) prevent code from being checked into your version control system. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems Engineer Austin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Systems Engineering Cell: (512) 791-0686 Global IT Infrastru

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

2011-12-20 Thread Mark Burgess
On 12/20/2011 06:28 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: CFEngine Help: Thoughts about some cfengine > design decisions? > Author: sauer > Link to topic: https://cfengine.com/forum/read.php?3,24311,24379#msg-24379 > > Ted Zlatanov Wrote: >> I th

Re: can't find defined bundle

2011-12-17 Thread Mark Burgess
I see you don't have quotes around your reports promise, which probably invalidates the whole bundle. reports: !xyz:: " "; On 12/18/2011 02:59 AM, Carl E. Ma wrote: Hi, I am trying to create a checking script to report core files on my server. But it keeps compla

Re: (addendum) How easy/simple is cfengine?

2011-12-17 Thread Mark Burgess
Sharing policies is not a taboo subject. It is just something that few people seem to be willing to do. We can only keep trying to offer the right forum. M On 12/17/2011 05:54 PM, Mike Svoboda wrote: Hey Mark The most difficult time I had with Cfengine was going from nothing, to having

(addendum) How easy/simple is cfengine?

2011-12-17 Thread Mark Burgess
nd an API" with agreement. I read this as an argument that global data/variables have a valid place in programming, as long as one copes with the inevitable changes of state. M Original Message Subject:How easy/simple is cfengine? Date: Sat, 17 Dec 2011 10

Re: How easy/simple is cfengine?

2011-12-17 Thread Mark Burgess
On 12/17/2011 01:08 PM, Mikhail Gusarov wrote: > On 17.12.2011 11:57, Natxo Asenjo wrote: > >> which talk? Should there be a link in your message maybe? > Here it is: http://www.infoq.com/presentations/Simple-Made-Easy > Thanks, I'm an idiot ___ Help-c

How easy/simple is cfengine?

2011-12-17 Thread Mark Burgess
Mikhail, one of our very brilliant developers, recently brought this talk to my attention. I just had time to look at this and it is very good. The talk is a most excellent discussion about making choices about easy versus simple in software. I recommend everyone to watch this and absorb its c

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

2011-12-16 Thread Mark Burgess
The syntax highlighting in the the docs now make this clear. Red words are CFEngine and blue words are user defined. M On 12/16/2011 12:27 PM, Erlend Leganger wrote: > And here is another thing I'd like to see: When learning cf3, I always > had problems figuring out which names were part of the

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

2011-12-16 Thread Mark Burgess
Thanks Bas, maybe submit a bug report/feature request, so we don't lose this point. M On 12/16/2011 10:29 AM, Bas van der Vlies wrote: > Just another thought or improvement is in the way cf3 parse its configuration > file. It can be stricter and warn for some typo's. For example > after the k

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

2011-12-16 Thread Mark Burgess
en my intention to challenge people to think differently and "better" about issues. This does not mean that the discussion is over, as there are plenty of things we can do to make CFEngine 3 even simpler to understand. I hope to come back with something on this in the new year. hope this explains my thinking a little better Mark ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

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

2011-12-15 Thread Mark Burgess
Please forget you ever saw this. This might look superficially attractive to a programmer but it suffers from many problems, not the least of which would be a major increase in the size and complexity of the parser. This approach does not satisfy the criteria for good knowledge management. It a

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

2011-12-15 Thread Mark Burgess
As far as I see my example is a direct translation of yours? No additional steps... What am I missing? -- Sent from my Android phone with probably ridiculous and involuntary spelling corrections Jesse Becker wrote: On Thu, Dec 15, 2011 at 03:46:40PM -0500, Mark Burgess wrote: > >

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

2011-12-15 Thread Mark Burgess
> vars: > smb_shares slist => readstringlist( > '/data/smb_shares.lst', '#', > "\n\n", > "1000", > "64000"); > files: > "/etc/samba/smb.conf" > perms => mog('644','root','root'), > create => true, > template_from => template('/templates/smb.conf'), > classes => { promise_repaired('bounce_smbd', 'b

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

2011-12-15 Thread Mark Burgess
This is not true. The file editing has been greatly simplified in appearance but it now a lot *more* powerful in cf3. It is expressed more convergently however so more consistent syntax, unlike 2. If you need some tips help us to improve the special topics guide on editing by suggesting example

Re: Is this the idiom for if...else?

2011-12-14 Thread Mark Dixon
idable"; >your_file_exists:: > "root" string => "myroot2", policy => "overridable"; ... Bingo! Thanks :) OK, so this works because of rule 5 of agent normal ordering ("The order of promises within one of the above t

Re: Is this the idiom for if...else?

2011-12-14 Thread Mark Dixon
fileexists("yourfile"); "no_file_exists" expression => !(my_file_exists|your_file_exists); vars: my_file_exists:: "root" string => "myroot1", policy => "overridable"; your_file_exists:: "root&qu

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

2011-12-14 Thread Mark Burgess
Thanks for good feedback. Can you elaborate at all on what topics you would like to see in a better tutorial? M On 12/14/2011 11:28 AM, Marco Marongiu wrote: > Hi > > I can't be as specific as lauwersw. I've been a cfengine2 user for some > time, but my experience with cfengine3 is still too sm

Re: Is this the idiom for if...else?

2011-12-14 Thread Mark Dixon
On Wed, 14 Dec 2011, Mark Burgess wrote: > > Mark, see this doc: > > http://www.cfengine.com/manuals/st-devops.html#Getting-used-to-declarative-expression > > M Thanks Mark, much appreciated: I had missed the link to the special topics guides. However, it wasn't the &qu

Is this the idiom for if...else?

2011-12-14 Thread Mark Dixon
.*"); } bundle agent foo { files: location_A:: # Stuff... location_B:: # Different stuff... location_unknown:: # Default stuff... } Thanks, Mark -- ---

Re: CFEngine Help: New Book on Cfengine

2011-12-13 Thread Mark Burgess
On 12/13/2011 03:47 PM, Christopher Browne wrote: > 2011/12/13 Ted Zlatanov: >> I reviewed some Packt books (SimpleDB, Cassandra, Perl, and other >> topics) and could not write too many positive things. Besides spelling >> and layout problems, the content was just not very good. So this is not >>

Re: CFengine3 community edition directory access modes

2011-11-28 Thread Mark Burgess
I think the option you are looking for is called rxdirs or something like that. -- Sent from my Android phone. Michael Kearey wrote: Good day all, I have a long standing oddity - first seen in cfengine 3.1.X and also seen in latest one I have running cfengine-3.2.3-14.1 .. Built from OpenSus

Re: downsizing a huge policy file, sensibly

2011-11-23 Thread Mark Burgess
Marco, try not to think modules and programming but reusable patterns. Ask yourself how you can reduce the total amount if information in the policy. If it can't be reduced then the complexity is real - and there is nothing you can do, except limit the amount of info that is useless to the indi

Re: CFEngine Help: Re: cf-agent run time limit (hanging during package installation)

2011-11-17 Thread Mark Burgess
On 11/17/2011 04:42 PM, Marco Marongiu wrote: > Il 17/11/2011 16:35, Mark Burgess ha scritto: >> body agent control >> { >> environment => { "DEBIAN_FRONTEND=noninteractive", "LANG=C" }; >> } > As said, neither expireafter nor this is worki

Re: CFEngine Help: Re: cf-agent run time limit (hanging during package installation)

2011-11-17 Thread Mark Burgess
On 11/17/2011 04:35 PM, Nick Anderson wrote: > On 11/17/2011 09:31 AM, Marco Marongiu wrote: > >> I can, of course, circumvent this specific behaviour, and I know that >> package managers may not be well suited for non interactive actions. >> Still, I find that cf-agent not being able to bail out o

Re: CFEngine Help: Re: cf-agent run time limit (hanging during package installation)

2011-11-17 Thread Mark Burgess
On 11/17/2011 04:31 PM, Marco Marongiu wrote: > Il 17/11/2011 16:22, no-re...@cfengine.com ha scritto: >> Run your promise in verbose mode and see what Cf is telling apt or >> aptitude to do. Package promises are very tricky and Cfengine is not >> really to blame. Many package managers do not beh

Re: CFEngine Help: Re: cf-agent run time limit (hanging during package installation)

2011-11-17 Thread Mark Burgess
On 11/17/2011 04:09 PM, Marco Marongiu wrote: > Il 17/11/2011 16:05, Mark Burgess ha scritto: >> If you have an interactive program waiting for input, then CFEngine's >> batch approach is not really compatible. You probably need to run >> the programs in non-interactive

Re: CFEngine Help: Re: cf-agent run time limit (hanging during package installation)

2011-11-17 Thread Mark Burgess
On 11/17/2011 04:01 PM, Marco Marongiu wrote: > Il 17/11/2011 15:25, Marco Marongiu ha scritto: >> Oh, thanks so much Neil!!! >> >> I've looked for "hang", "abort" and all possible synonyms, but of course >> I missed on "expire" :( > Unfortunately, it doesn't work :( > > I altered the "body agent c

Re: execresult

2011-11-15 Thread Mark Burgess
Why not use $(sys.host) or one of the other sys. standard variables? exec result, of course, works fine in the newest version of CFEngine. What makes you think it doesn't? On 11/15/2011 08:58 AM, Seifert, Christian wrote: > Hello everybody, > > i want to use the function “execresult” to write t

Re: Summing up: templates

2011-11-04 Thread Mark Burgess
Just want to say that I am very sorry that I have not yet had time to reply properly to the original mail, but glad that you have received more help from other sources. I still have it on my to-do list to review this thread, and hope to do so soon. best Mark On 11/04/2011 01:04 PM, Marco

Re: "real" templates

2011-10-29 Thread Mark Burgess
e.com/manuals/st-menus.html#How-do-you-create-menus-with-CFEngine Hope this helps. Mark On 10/29/2011 04:08 PM, Marco Marongiu wrote: > Hello there > > I would like to know if there is any real templating system that can be > used in cfengine3, and that is not limited to simple scalar

Re: CFEngine Help: Re: cf3 inputs, branching, selectiveness, staying sane

2011-09-10 Thread Mark Burgess
On 09/10/2011 08:28 PM, Erlend Leganger wrote: On 10 September 2011 17:39, > wrote: See: http://www.puppetcookbook.com/ http://forge.puppetlabs.com/ I enjoyed the puppetcookbook above, it was nice and too the point. But there is a very similar thing

Re: CFEngine Help: Re: CFEngine Help: Re: lex-related compilation error

2011-09-01 Thread Mark Burgess
ated compilation error > Author: sauer > Link to topic: https://cfengine.com/forum/read.php?3,23301,23303#msg-23303 > > Mark Wrote: > --- >> You should install flex - don't use lex > > Any other suggestions? :) > &g

Re: CFEngine Help: Re: lex-related compilation error

2011-09-01 Thread Mark
You should install flex - don't use lex Mark On 1 Sep 2011, at 21:20, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: lex-related compilation error > Author: Beto > Link to topic: https://cfengine.com/forum/read.php?3,23294,23298#msg-23298 > > H

Re: CFEngine Help: Re: Why does CFEngine 3.2.0 consider running a process_stop command as a promise kept?

2011-08-30 Thread Mark Burgess
Aleksey, I don't know. It sounds wrong. Would you please report in on the bug tracker so we can look into it. Don't have time to look into this right now. thanks alot On 08/30/2011 09:16 PM, Aleksey Tsalolikhin wrote: > Did not hear from anybody at CFEngine yet. > > Could you please clarify why

Re: Is it safe to bump up editfilesize? How high?

2011-08-30 Thread Mark Burgess
On 08/30/2011 06:21 PM, Paul Krizak wrote: > This sounds like a bug...shouldn't the syntax parser prevent you from > setting the value larger than an unsigned int? An arbitrary "9" > or whatever isn't very useful. > > Paul Krizak 7171 Southwest Pkwy MS B200.3A > MTS

Re: Is it safe to bump up editfilesize? How high?

2011-08-29 Thread Mark Burgess
As big as your memory allows. BUT, this is meant as a safety feature. Most of the time it only makes sense to edit relatively small files. If you picked up a huge file like a binary by mistake, you might do some damage. So think of this as an "are you sure?" dialogue On 08/30/2011 03:16 AM, Ale

Re: CFEngine Help: Re: Boomarks missing from cfengine .pdf files

2011-08-18 Thread Mark Burgess
On 08/18/2011 10:03 AM, Aleksey Tsalolikhin wrote: > On Wed, Jul 27, 2011 at 10:18 AM, wrote: >> Forum: CFEngine Help >> Subject: Re: Boomarks missing from cfengine .pdf files >> Author: mark >> Link to topic: https://cfengine.com/forum/read.php?3,22825,22931#msg-22931

Re: CFEngine Help: Incremental Software Deployment and Version Control

2011-08-12 Thread Mark
Alec, cfengine Nova can do the things you ask. This is the commercial solution which has special windows support. Best wishes Mark On 13 Aug 2011, at 07:30, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Incremental Software Deployment and Version Control > Author: A

Re: Security Tools and Root Access

2011-08-12 Thread Mark
Depends what kind of read access you want. Setuid programs like ps do essentially this on certain data. If you want access to file change info like tripwire then cfengine Nova has a portal where you can view info on the web. Mark On 13 Aug 2011, at 02:47, Tom Tucker wrote: > > My c

Re: variables changing between passes

2011-07-27 Thread Mark Burgess
Hello Simon, welcome to the wonderful world of CFEngine. I'm afraid I don't have your makekpassword function handy, but I can do this (taking away the policy statement) body common control { bundlesequence => { "check_user_files" }; inputs => { "cfengine_stdlib.cf" }; } bundle agent check_use

CFengine 3.2.0 beta 2 released

2011-07-20 Thread Mark Burgess
nitoring] $(mon.value_cpu) returns 0 when my CPU utilization is 6% (dottedmag). - 678: [Build] 3.2.0b1 build failure (dottedmag). - 605: [Monitoring] Wrong report of amount of disk space under Solaris 10 x86 (dottedmag). - 562: [Promise type: packages] Package is always installed no matte

Re: CFEngine Help: Re: ${this.promiser} in comments

2011-07-15 Thread Mark Burgess
On 07/15/2011 09:31 AM, Mikhail Gusarov wrote: > On 15.07.2011 08:56, no-re...@cfengine.com wrote: > >> right, thanks for your thoughts on this, but apparently $(this.promiser) is >> expanded all right whereas ${this.promiser} is not. > Seems to be a bug. Please open a bug in our bugtracker. > >

Re: Emacs cfengine3 mode?

2011-07-01 Thread Mark Burgess
How excellent! Thanks Ted! On 07/01/2011 03:44 PM, Ted Zlatanov wrote: I've committed a new version of cfengine.el to GNU Emacs (to be released with 24.1) which contains the new cfengine3-mode (the file begins with instructions on how to use it). The current cfengine-mode works the same way so

Re: All cfe src tarballs have same date

2011-06-28 Thread Mark Burgess
I found the originals and restored the times. On 29/06/11 06:00, Erlend Leganger wrote: > I download my cfe-sources from http://cfengine.com/pages/source_code. > Most of the tarballs listed here have a Date: field, but all the dates > are set to the same four second period (June 05 2011 10:17:14

Re: All cfe src tarballs have same date

2011-06-28 Thread Mark
I noticed this too. It must have happened while migrating the website. I'll see if we can easily reconstruct the times. Mark On 29 Jun 2011, at 06:00, Erlend Leganger wrote: > I download my cfe-sources from http://cfengine.com/pages/source_code. Most of > the tarballs listed

Re: Cfengine Help: long string format

2011-06-18 Thread Mark Burgess
This is not a bug, I think. The problem is you wrote "atftpd_conf" string => { "5.2" }; You need either "atftpd_conf" string => "5.2" ; or "atftpd_conf" slist => { "5.2" }; On 18/06/11 07:08, Aleksey Tsalolikhin wrote: > It's a bug. The policy does not pass cf-promises syntax check: > >

Re: Cfengine Help: Changes to the CFEngine website

2011-06-17 Thread Mark
Engine room Mark On 17 Jun 2011, at 23:22, Paul Krizak wrote: > Where did the cfengine 2 documentation go? The link on the resources > page says "all editions" but points to only Cf3 documentation. For us > slow adopters, we still need the Cf2 docs!! > > -Paul &

Re: LDAP Functions

2011-06-15 Thread Mark Burgess
There are no plans to put them in community. I am not aware of any change of documentation. Can you explain? On 15/06/11 17:15, Nicolas Charles wrote: > Hi, > > I noticed that the ldap functions are no longer listed as being > Nova-only in the reference manual. Does it means that they will land

Re: Cfengine Help: Re: Changes to the CFEngine website

2011-06-14 Thread Mark Burgess
t; Author: debheller > Link to topic: https://cfengine.com/forum/read.php?3,22422,22445#msg-22445 > > Hi Mark, > > The site is a nice improvement. The one thing that I think could become a > point of confusion is that the new "CFEngine" spelling is being used in code &

Re: Cfengine Help: Changes to the CFEngine website

2011-06-14 Thread Mark
Good point - we'll find the link and restore it. Our cleanup was maybe overzealous :-) Mark On 14 Jun 2011, at 20:41, Bas van der Vlies wrote: > 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 que

Re: Cfengine Help: Changes to the CFEngine website

2011-06-14 Thread Mark Burgess
Yes, ok, this kind of link we can try to do to preserve the forum links. On 14/06/11 15:46, Nicolas Charles wrote: > On 14/06/2011 13:29, Mark Burgess wrote: >> I would prefer not to get into the business of rewriting URLs, >> especially during a time where the infrastructure is

Re: Cfengine Help: Changes to the CFEngine website

2011-06-14 Thread Mark Burgess
On 14/06/11 09:32, Nicolas Charles wrote: > On 13/06/2011 22:20, no-re...@cfengine.com wrote: >> Forum: Cfengine Help >> Subject: Changes to the CFEngine website >> Author: mark >> Link to topic: https://cfengine.com/forum/read.php?3,22422,22422#msg-22422 >&

Speaking at Velocity 2011

2011-06-07 Thread Mark Burgess
Santa Clara next week! http://velocityconf.com/velocity2011/public/content/keynotes Hope to see any Cfengine enthusiasts at Velocity 2011. Mark ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help

Re: Link Recipe modules for common tasks appears broken.

2011-06-04 Thread Mark Burgess
Fixed On 03/06/11 20:07, tfernandesp wrote: > Hi, > > The link Recipe modules for common tasks > > ofKnowledge » Cfengine v3 full > documentation is broken. > > >

Re: Cfengine Help: Cannot copy files to remote host

2011-06-02 Thread Mark
s an empty config. I shall correct the example. Sorry about the confusion. Mark On 2 Jun 2011, at 00:45, Jerome Yanga wrote: > Mark, > > I am not sure which configuration you are referring to. If you are referring > to basic Cfengine install, I followed the link below. >

Re: Cfengine Help: Cannot copy files to remote host

2011-06-01 Thread Mark Burgess
Jermome, cfengine has nothing to do with ssh, so no root login is required. You don't show the server half of your configuration, but I suspect you haven't configured the server properly. Run cf-serverd -vf ./unit_server_copy_remote.cf and look at the verbose output as you connect. You should h

Maintenance over

2011-05-30 Thread Mark Burgess
Normal service has been resumed in the Twilight Zone ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Maintenance at Cfengine

2011-05-30 Thread Mark Burgess
users. Mark Burgess CTO Cfengine ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Request for patching Cfengine3 for FreeBSD

2011-05-23 Thread Mark Burgess
On 05/23/2011 01:13 PM, Marin Atanasov Nikolov wrote: >> Forum: Cfengine Help >> Subject: Re: Hostname based classes and virtual machines in Cfengine 3 >> Author: dnaeon >> Link to topic: https://cfengine.com/forum/read.php?3,22131,22147#msg-22147 > Hello guys, > > In regards to the topic below, I

Re: Need help creating class within an OS context

2011-05-20 Thread Mark Burgess
First, I would alsways use isexecutable("/path/file") over a shell command test -x, then try something like this: vars: freebsd:: "check_service" string => "/usr/local/libexec/tenant/check_mysql"; linux:: "check_service" string => "/usr/local/lib/tenant/check_mysql"; classes: "

  1   2   3   4   5   6   7   >