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,27459#msg-27459
>>
>> Have you t
Forum: CFEngine Help
Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31.
cfengine-3.2.4
Author: Beto
Link to topic: https://cfengine.com/forum/read.php?3,27200,27476#msg-27476
That's what I use. If you're still having problems please post config.log.
___
Forum: CFEngine Help
Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31.
cfengine-3.2.4
Author: cfengine2o12
Link to topic: https://cfengine.com/forum/read.php?3,27200,27477#msg-27477
However now getting error even PCRE is installed...
checking for pcre_exec in -lpcre...
Forum: CFEngine Help
Subject: Managing Booleans
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,27478,27478#msg-27478
I need to manage SElinux contexts on my systems. With that, I need to set
booleans either on or off with setsebool. It there an efficient way to manage
bool
On Tue, 18 Sep 2012 23:05:13 +0200 (CEST) neilhwatson wrote:
n> I could kick whoever decided to use version numbers that are not
n> numbers. This is a number 2.334. This is not a number 3.4.3.
Please note 2.334 means a different number in many locales! This is
*not* a simple problem!
(relate
On Thu, 13 Sep 2012 19:39:30 -0500 Diego Zamboni wrote:
DZ> I think this might be a better fit for the Design Center than to the
DZ> COPBL, given that it performs a specific, higher-level task (rather
DZ> than a generic, lower-level task, which is what we try to keep in the
DZ> stdlib).
DZ> We
Forum: CFEngine Help
Subject: Re: CFEngine Help: SELinux experience
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,27024,27481#msg-27481
Hi Aleksey,
I'm trying to find your examples. Can you give a link or tell me where in the
git repo they are? All I see is
encfs_dropb
Forum: CFEngine Help
Subject: Re: CFEngine Help: SELinux experience
Author: nickanderson
Link to topic: https://cfengine.com/forum/read.php?3,27024,27482#msg-27482
Your looking for verticalsysadmin_training_examples
___
Help-cfengine mailing list
Help-c
You can find some experimental support for JSON in my fork of the core
CFEngine here:
https://github.com/tzz/core/tree/feature/json
This is rough undocumented code intended as a proof of concept, written
in my spare time. It's not officially supported by CFEngine!
It provides three things (the
Forum: CFEngine Help
Subject: Re: CFEngine Help: SELinux experience
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,27024,27483#msg-27483
Thanks Nick. I did grep around in there, but didn't find anything to do with
SElinux or setsebool.
_
Forum: CFEngine Help
Subject: Re: RFC: JSON support for CFEngine
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27484,27485#msg-27485
Ted,
I like the idea of abstracting data structures. Sadly, Cf3's current crop of
data structure is limited such that JSON is overkill.
Ted, this is awesome and really should make it into the main trunk.
Having JSON support would rock. YAML would also rock. Both data formats
are used all over the place, and we would have a ton of use cases for this.
Please target this for inclusion in the next version of the community
version.
On Fri, 21 Sep 2012 18:29:52 +0200 (CEST) neilhwatson wrote:
n> Still I'd like to see some more complex examples of what you had
n> mind.
The Design Center sketch parameters are good examples of the JSON data
I'd like to handle, and you can see in all the test.cf files how the
JSON parameters cu
Forum: CFEngine Help
Subject: Re: RFC: JSON support for CFEngine
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27484,27488#msg-27488
I think I see where you are going. More ways to abstract data are a good thing.
___
Help-cfe
On Fri, 21 Sep 2012 17:24:50 + Mike Svoboda wrote:
MS> Ted, this is awesome and really should make it into the main trunk.
MS> Having JSON support would rock. YAML would also rock. Both data formats
MS> are used all over the place, and we would have a ton of use cases for this.
MS> Please
Forum: CFEngine Help
Subject: Trying to use a variable inside a regex
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,27490,27490#msg-27490
bundle agent set_selinux_boolean(s, i){
classes:
"sebooloff" expression => regcmp(".*$(i)$", execresult("/usr/sbin/getsebool
$(s)
Forum: CFEngine Help
Subject: Re: Trying to use a variable inside a regex
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27490,27491#msg-27491
What does getsebool return? The following works in 3.4.0b1.
body common control {
bundlesequence => {
"main",
};
inputs => {
Forum: CFEngine Help
Subject: Re: Trying to use a variable inside a regex
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,27490,27492#msg-27492
# getsebool virt_use_nfs
virt_use_nfs --> off
I'm using 3.3.5
___
Help-cfengine mail
Forum: CFEngine Help
Subject: Re: Trying to use a variable inside a regex
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,27490,27493#msg-27493
It's odd Neil, If I copy/paste your code it works fine.
Here is my code as a whole:
bundle agent security
{
vars:
packages:
Forum: CFEngine Help
Subject: Re: Trying to use a variable inside a regex
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,27490,27494#msg-27494
What's even more strange, is if I take your example, and use my bundle it
prints both reports:
# REgex test
body common control {
Forum: CFEngine Help
Subject: Re: Trying to use a variable inside a regex
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27490,27495#msg-27495
You might have a bug here. Can you duplicate my results below? Made a wrapper
to simulate getsebool.
#!/bin/sh
STRING=$*
pri
Forum: CFEngine Help
Subject: Re: Trying to use a variable inside a regex
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27490,27496#msg-27496
"sebooloff" expression => regcmp(".*$(i)$", execresult("/usr/sbin/getsebool
$(s)", "noshell"));
"seboolon" expression => r
My bad. I'll add it tonight. Sorry.
Aleksey
On Fri, Sep 21, 2012 at 8:55 AM, wrote:
> Forum: CFEngine Help
> Subject: Re: CFEngine Help: SELinux experience
> Author: daveseff
> Link to topic: https://cfengine.com/forum/read.php?3,27024,27483#msg-27483
>
> Thanks Nick. I did grep around in the
Aye. The trouble with using tidy and warn_only with a repair_denied
class is it wold pollute the clarity of intention.
We want the code to embody the intention. We want the intention to
"shine through" the code. If we have to jump through syntactical
hoops in order to get system administration
24 matches
Mail list logo