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

2011-12-20 Thread Paul Krizak
then I suggest just enforcing coding standards at your organization to avoid using "." as "and"...a simple shell script with grep could find these cases and (for example) prevent code from being checked into your version control system. Paul Krizak

Re: CFEngine Help: Meet CFEngine at LISA 11

2011-10-18 Thread Paul Krizak
I'll be there! I also registered for the configuration management workshop. -Paul On 10/18/2011 12:42 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Meet CFEngine at LISA 11 > Author: mark > Link to topic: https://cfengine.com/forum/read.php?3,23774,23774#msg-23774 > > CFEngi

Re: OS patch management -- how to deploy the same patch set to production as you did to testing 3 weeks ago? (How to "take a snapshot" of an OS patch set)

2011-09-21 Thread Paul Krizak
We use rPath for this: http://www.rpath.com As with Satellite, not free. But an exceptionally powerful tool that lets you build and manage an entire set of appliances (OS + application) and supports nifty things like rollback, migration, and development staging. Paul Krizak

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

2011-08-30 Thread Paul Krizak
promises based on overflowing variables. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Systems Engineering Cell: (512) 791-0686 Global IT Infr

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

2011-08-30 Thread Paul Krizak
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 Systems Engineer

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

2011-08-29 Thread Paul Krizak
Well since cfengine edits the file in memory and then does a comparison to the on-disk version before making commits, presumably you should be careful to not edit any files larger than the free memory on your system. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS

Re: CFEngine Help: Cfengine performing system shutdown/restart

2011-08-11 Thread Paul Krizak
You could make the command set an at job instead of calling shutdown directly, but that's a bit hackish. There must be a way to make the command run in the background, but I don't know the trick offhand. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS System

Re: [CF2] Cfagent stuck at startup on Solaris 10 x86?

2011-06-23 Thread Paul Krizak
Nevermind...NIS was fubar on the machine, and I guess Solaris has an unhealthy obsession with NIS services... Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux

[CF2] Cfagent stuck at startup on Solaris 10 x86?

2011-06-23 Thread Paul Krizak
, June 23, 2011 9:40:34 PM IST Why would cfagent think the date is the epoch, even though the system clearly has the right date? And why would such an anomaly cause cfagent to fail to run? Note this is cfengine 2.1.21... -- Paul Krizak 7171 Southwest Pkwy MS B200.3A

Re: Cfengine Help: Changes to the CFEngine website

2011-06-17 Thread Paul Krizak
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 On 06/13/11 13:20, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Changes to the CFEngin

Re: Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread Paul Krizak
That's the whole problem. If you can't rename across filesystems then you can't use that feature to create backups. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk:

Re: Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread Paul Krizak
e the filename of the backup file -- how do you write the promise so that it is able to keep multiple backups over time, the way the cf2 repository does? Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro De

Re: Cfengine Help: Re: [CF2] Saving backup copies of tidied files?

2011-05-03 Thread Paul Krizak
Yeah, that's kind of what I was hoping to avoid. I presume CF3 is extensible enough that this functionality can be achieved with it? Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices

[CF2] Saving backup copies of tidied files?

2011-05-02 Thread Paul Krizak
ss filesystems (so I can't just force the disable action to move the file into the repository). Any suggestions for how to make backups of files that get deleted when tidy: runs? Does CF3 support this? -- Paul Krizak 7171 Southwest Pkwy MS B200.3A

Cfengine 2 regex tester?

2011-04-06 Thread Paul Krizak
There used to be a Cf2 regex tester on cfengine.org, as referenced here: http://cfwiki.org/cfwiki/index.php/Wishlist#RegExp_Testing But it seems to have vanished. Could it be restored? It would be handy to have around for those of us (cough) still using Cfengine 2... -- Paul Krizak

[Cf2] Saving copies of files erased with tidy?

2011-02-02 Thread Paul Krizak
e. I know that there is a "disable" action that will do something like this -- but I'm a little nervous about converting the hundreds of different tidy actions we've got into disables. -- Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems Engine

Re: Cfengine Help: Re: Persistent classes

2010-09-13 Thread Paul Krizak
I think the value in this case is less in the simplicity of the code, and more in the fact that it allows you to fully document the intentions/behavior of a given promise without having to resort to 3rd party code, i.e. the promise becomes self-documenting. Paul Krizak

Re: Cfengine Help: Re: Persistent classes

2010-09-13 Thread Paul Krizak
t; class may have a persistence of several hours (and maybe a splayclass as well) to prevent hammering the target server. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512) 602-877

Re: Linux CPU speed

2010-08-31 Thread Paul Krizak
You could try disabling cpuspeed before taking the measurement, then re-enabling it... kind of kludgey, but it would work... Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512

Re: Super-scaled cfengine server?

2010-04-30 Thread Paul Krizak
processes on a single server saturating a 2Gbit link. It worked fine. What happens when I kick up all of the variables by 2-5x? Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512)

Re: Super-scaled cfengine server?

2010-04-30 Thread Paul Krizak
and 10Gbit network already, not a load balancer). The main thing I'm asking is if anybody has had any experience scaling up a cfservd to this much work, and whether or not it fell over. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems Engineer

Re: Super-scaled cfengine server?

2010-04-30 Thread Paul Krizak
I'm talking about 5,000 systems each updating about 50MB of policy data over a 1-2 hour span. Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Sy

Super-scaled cfengine server?

2010-04-30 Thread Paul Krizak
l over or thrash on internal locks trying to run that many threads? -- Paul Krizak 7171 Southwest Pkwy MS B200.3A MTS Systems EngineerAustin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Systems Engineering Cell: (512

Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: Possible bug in cfengine 2

2010-04-13 Thread Paul Krizak
MakePath(/tmp/foobarbaz) cfengine:becker: Unknown user bar cfengine:becker: touching /tmp/foobarbaz cfengine:becker: Owner of /tmp/foobarbaz was 0, setting to -1 So it looks like it's dereferencing the variable properly... Paul Krizak 7171 Southwest Pkwy MS B

Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: Possible bug in cfengine 2

2010-04-13 Thread Paul Krizak
ve to use the macro for something? Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior 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: Possible bug in cfengine 2

2010-04-12 Thread Paul Krizak
I'm not intimately familiar with the cfengine source code, but would it be more appropriate to modify the hashing function rather than catch the case of a zero-hash and return a "not found"? Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior S

Re: Cfengine Help: Possible bug in cfengine 2

2010-04-12 Thread Paul Krizak
zero-hashed" macro name exists? Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior Systems Engineer Austin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Systems Engineering Cell: (512) 791-0686 Global IT Infrastructu

Re: cf2: Mysterious Syntax error

2010-02-26 Thread Paul Krizak
That's not how I've ever used PrepModule (with quotes) -- here's what my syntax looks like: loaded_cfengine_version = ( PrepModule(cfengine_version, "") ) I also don't name my modules with colons in the filename... Paul Krizak 7171 So

Re: Good organizational practices

2010-02-18 Thread Paul Krizak
odule in cf.classes we don't want to run at a certain site. cf.sitecontrol comes *after* cf.control so that some global macros can be overridden by a site. For example, the root password may be different at one site but the same at all the others. Paul Krizak

Re: Team-based Cfengine Management

2010-02-01 Thread Paul Krizak
a cfengine-maintained file, but which policy file makes the modifications. Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior Systems Engineer Austin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Systems Engineering Cell: (

Re: Team-based Cfengine Management

2010-02-01 Thread Paul Krizak
ystem is in the "interactive" class?" -- so look up the "interactive" class in the knowledge map, then follow its connections to the various promises that it implies. Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior Systems Engineer

Re: Team-based Cfengine Management

2010-02-01 Thread Paul Krizak
own cfengine's awareness of certain services. That way, we can keep cfengine enabled, but have it ignore certain "chunks" of policy to allow for some degree of local autonomy on one-off boxes. It's certainly not a perfect solution, but it's the best we could com

Re: wish list

2010-01-22 Thread Paul Krizak
inful (and reducing the duration of downtimes in some cases). Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior Systems Engineer Austin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Systems Engineering Cell: (512) 791-0686 Silic

Re: wish list

2010-01-22 Thread Paul Krizak
wow, I've been using cfengine for almost 5 years and I had no idea that existed. So many things I can do with that. Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior Systems Engineer Austin, TX 78735 Advanced Micro Devices Desk: (512) 602

Re: wish list

2010-01-22 Thread Paul Krizak
This is a great list. I have some comments inline below... Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior Systems Engineer Austin, TX 78735 Advanced Micro Devices Desk: (512) 602-8775 Linux/Unix Systems Engineering Cell: (512) 791-0686

Re: [cf-2] Copying symlink targets?

2010-01-19 Thread Paul Krizak
The documentation seems to suggest that's just for recursion (i.e. recurse into directories pointed to by symlinks), not copying of individual files. Paul Krizak 7171 Southwest Pkwy MS B200.3A Senior Systems Engineer Austin, TX 78735 Advanced Micro De

[cf-2] Copying symlink targets?

2010-01-19 Thread Paul Krizak
o: ./ ./script.v6.1 ./script.v6.2 ./script.v7.0 ./script.current -> script.v7.0 This script needs to be copied to the local filesystem, so I'm using a copy: statement that copies "script.current" to a destination in the local filesystem. But it's literally copying the symlink,

Re: program structuring

2006-04-10 Thread Paul Krizak
Simply putting a shebang on the file doesn't fix the issue of importing a "cf.common" of some sort *before* running the script in question. The quickie bash script that Brendan suggests addresses that problem. Paul Krizak 5900 E. Ben White Blvd. MS 625

Re: Large installs of cfengine?

2006-03-23 Thread Paul Krizak
Unfortunately our legal department would have a fit if I were to reveal something like this, especially to somebody planning on using it for a public presentation. Let's just say that one of the problems I've had to deal with cfengine was handling over 10,000 connections on the serv