Re: Build a file with serveral time the same sequence

2006-02-12 Thread Tim Nelson
On Fri, 10 Feb 2006, Etienne Chove wrote: On Fri, Feb 10, 2006 at 04:25:20PM +1100, Tim Nelson wrote: We'll need a little more information before we can help, such as: - Do you want to generate this on the server, or on each client - Assuming you want it on the serve

Re: Build a file with serveral time the same sequence

2006-02-09 Thread Tim Nelson
ks, -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including all attachments) is intended

Re: cfservd under Solaris 10 SMF

2006-02-09 Thread Tim Nelson
Mark, can we get Kurt's files put in the cfengine distribution? Thanks, -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 10

Re: Another clue, if anyone has any suggestions

2006-02-06 Thread Tim Nelson
nd Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including all attachments) is intended solely for

Re: copy directive doesn't work: what am I missing?

2006-02-06 Thread Tim Nelson
ith cfengine #" copy: /var/cfengine/inputs/etc/hosts dest=/etc/hosts Insufficient data to solve problem :). What does your actionsequence say (in the control section). :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTE

Re: [Cfengine] Cfengine for Monitoring ????

2006-01-26 Thread Tim Nelson
On Thu, 26 Jan 2006, Jason Martin wrote: On Fri, Jan 27, 2006 at 10:28:55AM +1100, Tim Nelson wrote: http://madstop.com/svn/libmetrics/ I'm getting a 404 from that page, are you sure it is correct? Sorry: http://reductivelabs.com/svn/libmetrics/ http://reductivelabs.com/down

Re: [Cfengine] Cfengine for Monitoring ????

2006-01-26 Thread Tim Nelson
On Wed, 25 Jan 2006, Bas van der Vlies wrote: Tim Nelson wrote: On Sat, 7 Jan 2006, Mark Burgess wrote: On Sat, 2006-01-07 at 09:12 -0500, Jason Edgecombe wrote: Hi Mark, I would be interested in being able to add arbitrary metrics to cfenv in a way similar to gmetric for ganglia. For

Re: Cfengine for Monitoring ????

2006-01-24 Thread Tim Nelson
of ganglia. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including all attachments) i

Re: [OT] Re: cfengine Mac packages, universal binaries, and mass deployment

2006-01-24 Thread Tim Nelson
re installer/uninstaller). :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (

Re: Unknown edit action "BeginGroupIfLineMatching"

2006-01-24 Thread Tim Nelson
ngine::/var/cfengine/inputs/cf.fstab:11: EndGroup without Begin cf:cfengine::/var/cfengine/inputs/cf.fstab:12: Editfiles Begin/End mismatch before or at line Is your version of cfengine the same version as the documentation is written for? -- Kind Regards,   Tim Nelson Server Administrator   P: 03

Re: editfiles template; multiple edits; setting a class on update

2006-01-24 Thread Tim Nelson
ailman/listinfo/help-cfengine -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including

Re: Determining user ID

2005-12-21 Thread Tim Nelson
fengine-masterconf :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including all

Re: using cfrun to only take action on hosts in defined group

2005-12-14 Thread Tim Nelson
dependency resolution and repository management (although again, I've tried to make it easy to add more) iii)The stuff for setting up staging servers is still definately in beta (or maybe even alpha) So, you could do it that way, but it would require some codi

Re: Querying clients

2005-12-08 Thread Tim Nelson
don't need to get the system state information back to the central location. If you still think you do, then give us an example problem, and see if we can think of a better way to solve it :). Hope this helps, -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888

Re: Updating configs on changes.....

2005-12-04 Thread Tim Nelson
.specifically, defining a class on copy, and running shellcommands if the class is true. -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010

Re: NAT, and appliances...

2005-11-27 Thread Tim Nelson
ow best to avoid probs? Well, it would probably be a good idea to ask the same question on the network-automation list :). -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Bui

Re: will cfengine work if the "master" is behind a firewall?

2005-11-24 Thread Tim Nelson
That way you only have one push in the network, and it reduces the problems associated with push documented in the links supplied by others in this thread. -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Te

RE: Cfshow and version of cfengine

2005-11-08 Thread Tim Nelson
:). -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including all attachments) is intended

Re: Need 'UncommentAndSetValue' or some such

2005-11-01 Thread Tim Nelson
ff is cfengine-masterconf (and if you want a packaging database, arpmats). cfperl is something entirely different, and is by Ted Zlatanov. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technol

Re: Need for the same set of commands for Insert as well as Append

2005-10-30 Thread Tim Nelson
ving an InsertIf.. set of commands may be a worthy addition to CFEngine. Just don't ask me to write it, I wouldn't know where to start. ;) Everyone agrees editfiles needs work. But the only plans afoot are for cfengine 3, unless someone volunteers :). -- Kind Regards,   Tim Nelson

Re: Need 'UncommentAndSetValue' or some such

2005-10-27 Thread Tim Nelson
ose who are willing to do the extra work of adding another layer of programming to their cfengine system (ie m4, perl, etc). This would also be me, at least at the moment. -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W

Re: Need 'UncommentAndSetValue' or some such

2005-10-26 Thread Tim Nelson
t;otherwhatever" CatchAbort # Catches abort from LocateLineMatching, so you # can put other editfiles stuff after But I'm never sure, because I just write ...and my perl templating does the rest. :) -- Kind Regards,  

Re: Need 'UncommentAndSetValue' or some such

2005-10-25 Thread Tim Nelson
wishlist on the wiki. The editfiles section of the wishlist got so large that I moved it to a separate page. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Buil

Re: Cfengine and Webmin

2005-10-25 Thread Tim Nelson
ever discovered, there isn't one. Feel free to update it though. -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourn

Re: A good location for flag files & on-demand per-user apps

2005-10-18 Thread Tim Nelson
t which has the name of the executeable that they want. 2. how to do it immediately upon login. sudo cfagent -q :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1,

Re: No reliable outputs in 2.1.15 ?

2005-10-13 Thread Tim Nelson
uilding on a system from scratch? Only the usual which apply to any software. * Where in the documentation is the "outputs" directory discussed and when output is created? I'd suggest searching for "outputs" in the reference manual. What about email to

Re: Cfagent 'module-mode' suggestion

2005-10-10 Thread Tim Nelson
You can now run cfengine in classes mode. You invoke it from the command line thusly: cat /etc/cfengineclasses :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Lev

RE: import a whole directory of files?

2005-10-09 Thread Tim Nelson
more packaging-friendly and automation friendly. I use cfengine-masterconf for this: http://arpmats.sourceforge.net/ and click on the cfengine-masterconf link. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: w

Re: User management

2005-09-27 Thread Tim Nelson
love with queries like "cfengine create user" and "cfengine manage users". In a perfect world, this idiom would turn into a users: section, but alas I've not yet had the time to write a patch. You may both want to check out cfperl from Ted Zlatanov (sp?).

Re: Determining Solaris patch revisions

2005-09-22 Thread Tim Nelson
've left in the database table, etc, for dealing with the patch stuff, so it should be easy to implement in Arpmats if someone wants to take the time to do it. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.weba

Re: schedule parameter?

2005-09-22 Thread Tim Nelson
submit a doco patch; the Reference is in the source (I believe it's in info format; someone will correct me if I'm wrong). :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Lev

Re: Binaries

2005-09-22 Thread Tim Nelson
/whatever to do eg. up2date cfengine (or you could just grab the package from the DAG repo yourself). :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital

Re: Possible bug: parsing/scheduling of editfiles sections in multiple cfengine scripts

2005-09-12 Thread Tim Nelson
won't run the same thing twice in the same minute, as a protection device; I think you'd have to define the same command twice to get it to run twice. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.

Re: problems with trust

2005-09-11 Thread Tim Nelson
server and client on different sides of a NAT? What's your TrustKeysFrom line? :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010

Re: Language functionality (was: Re: another mysterious segfault)

2005-08-31 Thread Tim Nelson
st want to understand criticisms of Perl, because they may point out better ways of doing things that I will run into in the future. -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innov

RE: Copy command copies directories I don't want

2005-08-30 Thread Tim Nelson
On Tue, 30 Aug 2005, Ed Brown wrote: On Mon, 2005-08-29 at 19:34, Tim Nelson wrote: He's adding stuff to the end of the filename. So, for example, say we want file foo on servers that are both mail servers and web servers, we get this: Mark (msa) solution: .../usr/local/bi

Language functionality (was: Re: another mysterious segfault)

2005-08-30 Thread Tim Nelson
re expressive (ie. less code = more functionality) than any other language in this problem domain. I use Perl for the same reason elsewhere. I'm just wondering if I've missed something, which is why I'm asking if Mark (B) could take a moment to indicate which of the four options

RE: Copy command copies directories I don't want

2005-08-29 Thread Tim Nelson
;d have to modify the templating code to get it to do that, instead of just downloading and using it. The only problem with his is if he ever wants a file that's actually named t.__class__ and it strips the stuff off the end. But now he knows why I like "find . -name 'foo*

RE: Copy command copies directories I don't want

2005-08-29 Thread Tim Nelson
ur files end up in an RPM, and get rolled out via a different method (see http://arpmats.sourceforge.net/ ). But yes, you end up with a new branch for every combination of classes that you want to copy files for. I use find a lot :). -- Kind Regards,   Tim Nelson Server Administrator   P: 03

Re: Copy command copies directories I don't want

2005-08-24 Thread Tim Nelson
://arpmats.sourceforge.net/cfengine-masterconf/ -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email

Re: gathering reports

2005-08-16 Thread Tim Nelson
to the central machine; just specify the source and destination the other way around (and get your cfservd to allow uploads for that directory). HTH, -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAl

Re: deleting symlinks

2005-08-15 Thread Tim Nelson
# * Set Classes to decide whether to do this # * Copy files (ignore this) # * Kill modules link # * Links (create one lot of new links) # * Links (create the other lot of new links) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webal

Re: v2.1.13 not sending out e-mail, now at v2.1.15

2005-08-04 Thread Tim Nelson
man page), or to use -vv instead of --verbose (I know -vv gives more info than -v, but not sure how the long option fits). That might give you a little more info. If it makes you feel better, I occasionally get that message too, but I probably just need to upgrade :). -- Kind Regards,   Tim

Re: v2.1.13 not sending out e-mail

2005-08-03 Thread Tim Nelson
eceived 310 bytes from 149.174.213.151#53 in 267 ms -- I notice you don't have any A records for web.turner.com. I believe this makes a difference. Or are the A records just not public? :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 088

Re: cfengine on OS X

2005-07-18 Thread Tim Nelson
ly be able to perform actions that that user can perform. To my mind, this wouldn't be very practical. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Buildi

Re: Cant Launch

2005-07-10 Thread Tim Nelson
start" on the server 3. Run "service cfexecd start" on the client (which can be the same machine) You may find it helpful to look at the draft Quick Start guide: http://cfwiki.org/cfwiki/index.php/QuickStart Thanks, -- Kind Regards,   Tim Nelson

Re: how to configure syslog-ng to push log to log server

2005-07-03 Thread Tim Nelson
still produces duplicates. Let us know the results of this, and we'll see if we can help. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digita

Re: Commenting Files Managed via Cfengine

2005-06-29 Thread Tim Nelson
l... The cfengine-masterconf stuff has embedded documentation stuff (like Perl POD), and it would be easy to add the stuff you mention to it, I think. http://arpmats.sourceforge.net/cfengine-masterconf/ :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03

Re: Segmentation Fault in cfagent on RH EL-3.0 updates 3,5

2005-06-28 Thread Tim Nelson
what kind of values are being passed to the readlink/symlink/etc? (I'm wondering about buffer overflows or something here). -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innov

Re: MacOS X tiger compile files w/ 'SIOCADDRT' undeclared

2005-06-19 Thread Tim Nelson
__ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harb

Re: Not technical: strategy against competition ?

2005-06-19 Thread Tim Nelson
uot;. :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Level 1, Innovation Building Digital Harbour 1010 La Trobe Street Docklands Melbourne VIC 3008 This email (including all atta

RE: Install problems

2005-06-19 Thread Tim Nelson
, but unfortunately, cfengine is a little too complicated to learn that way. You just have to start with a minimal config and do a lot of RTFM. Sorry, I've been off work sick, but there is a draft QuickStart guide. http://cfwiki.org/cfwiki/index.php/QuickStart :) -- Kind Rega

RE: Copy to multiple destinations

2005-06-08 Thread Tim Nelson
ld be helped along by the use of the Perl templating stuff in cfengine-masterconf. http://arpmats.sourceforge.net/cfengine-masterconf/ :) -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz   WebAlive Technologies Le

Re: loops in editfiles

2005-06-02 Thread Tim Nelson
xtSQL (see links below) would probably enable you to do that kind of thing. http://cfwiki.org/cfwiki/index.php/Editfiles http://cfwiki.org/cfwiki/index.php/TextSQL -- Kind Regards,   Tim Nelson Server Administrator   P: 03 9934 0888 F: 03 9934 0899 E: [EMAIL PROTECTED] W: www.webalive.biz

RE: server iteration

2005-05-25 Thread Tim Nelson
py and PreRun, I can't see a specific use for them, but they have potential. :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899

Re: server iteration

2005-05-25 Thread Tim Nelson
On Wed, 25 May 2005, Tod Oace wrote: On May 24, 2005, at 21:01, Tim Nelson wrote: An interesting idea, but I would still have to double my quantity of copy statements, yes? One set for the primary server and a second for the alternate. Or am I misunderstanding? That's why we

Re: server iteration

2005-05-24 Thread Tim Nelson
t's why we need Templating in the next version of cfengine: http://cfwiki.org/cfwiki/index.php/Templating_Ideas Warning; the above documents a number of different templating ideas. Naturally, I like the Action Templating one, as that's my idea :). -- Tim Nelson Server Ad

Re: Newbie help with how to implement update and cfagent.conffiles (fwd)

2005-05-24 Thread Tim Nelson
m/gnu/docs/cfengine/cfengine-Anomalies_2.html So, it basically collects data on your system, and when something statistically unusual happens, cfagent will define extra classes. I'd always wondered a bit about this, and now I know. I'll link to it from the wiki to make it easier to fin

Re: update.conf not copying cfagent.conf?

2005-05-19 Thread Tim Nelson
On Wed, 18 May 2005, PAUL WILLIAMSON wrote: "Tim Nelson" <[EMAIL PROTECTED]> 05/18/05 4:50 AM >>> On Tue, 17 May 2005, Kelly Brown wrote: Hi Paul: Try this the first time you run it... cfagent -f /etc/cfengine/update.conf Just a clarifying note that /etc/cfengine/updat

Re: update.conf not copying cfagent.conf?

2005-05-18 Thread Tim Nelson
/inputs on each new machine, so I never have to specify the -f option. Sure it gets overwritten on the first run, but that doesn't bother me :). :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Dock

Re: update.conf not copying cfagent.conf?

2005-05-18 Thread Tim Nelson
On Sun, 15 May 2005, PAUL WILLIAMSON wrote: Does this make sense? Any help is appreciated... Try this: cfagent -q -vv 2>&1 | tee ~/cf01.log Then look at cf01.log, and see what's being copied, and if cfagent.conf isn't, see what the error is :). -- Tim Nelson Server Admin

Re: Newbie help with how to implement update and cfagent.conf files

2005-05-18 Thread Tim Nelson
/usr/etc/cfengine, as per cfengine-masterconf (cf. http://arpmats.sourceforge.net/)). HTH, -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3

Re: Is this quirky for a simple copy, editfiles operation?

2005-05-12 Thread Tim Nelson
Maybe instead I should be asking, is there a summary of the features we'll be looking at for cfengine 3 that I can read (which might answer these questions)? :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrob

Re: Is this quirky for a simple copy, editfiles operation?

2005-05-11 Thread Tim Nelson
On Tue, 10 May 2005, Brendan Strejcek wrote: I really hope the actionsequence goes away in cfengine 3. I didn't see anything about it on the Wishlist on cfwiki :). What would you replace it with? :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innov

Re: cfrun question

2005-05-05 Thread Tim Nelson
OS are we talking about? Can you su to root on that server? :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL PROTE

Re: logwatch scripts for cfengine

2005-05-04 Thread Tim Nelson
On Tue, 3 May 2005, nathan r. hruby wrote: On Tue, 3 May 2005, Tim Nelson wrote: On Mon, 2 May 2005, Yaroslav Halchenko wrote: Dear Cfengineers, Did anyone create logwatch scripts for cfengine? I would bet they can be useful - I'm using logwatch to keep an eye on a few hosts. What do you

Re: logwatch scripts for cfengine

2005-05-03 Thread Tim Nelson
ts in syslog? I use Logwatch, but as soon as I have the resources, I'll get it rewritten to deal with multiple hosts logging to a central server to cut down on the number of e-mails we receive. Kirk (Logwatch lead) has agreed to this in principle, but this was a few years back.

Re: simply, yet elusive import: question

2005-04-28 Thread Tim Nelson
er files are inherited by later includes, but not vice-versa." :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL P

Re: TextSQL?

2005-04-27 Thread Tim Nelson
On Thu, 28 Apr 2005, Jamie Wilkinson wrote: This one time, at band camp, Tim Nelson wrote: - WHERE CurrentBlock = "service amanda" AND Field(0) = "disable" DO Field(1) = yes -

TextSQL?

2005-04-27 Thread Tim Nelson
e above would be pretty convergent, I'd hope. Obviously not until cfengine 3.0, though :). Yes, there are problems with the above approach, but I think it would help us to think convergently about things. What do you think? :) -- Tim Nelson Server Administrator WebAlive Tech

Re: List in copy and cross-action communication

2005-04-26 Thread Tim Nelson
on of Templating ideas (see link to Wiki below, and scroll to bottom of page). http://cfwiki.org/cfwiki/index.php/Templating_Ideas In fact, what would be cool is triggering off templating both before and after the copy, so that stuff could be done depending on the server config, and on the

Re: Cfengine questionnaire

2005-04-20 Thread Tim Nelson
ough I'd be guessing that improved packaging support would be popular (I'm working on it myself :) ). -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 081

Re: touble importing groups file

2005-04-20 Thread Tim Nelson
e inherited by later includes, but not vice-versa." :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL PROTECTED] http://ww

Re: using cfkey to create remote keys

2005-04-06 Thread Tim Nelson
olves one problem. Of course, there are other ways. :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL PROTECTED]

Re: Time based classes ie later than date

2005-04-06 Thread Tim Nelson
ng obvious? shellcommands + date +'%s' ? :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL PROTECTED] http://www.

Re: Glob hard class names?

2005-04-05 Thread Tim Nelson
lems. But I've been distracted from working on it for the last week, and may be for the next week or two as well. :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008

Re: webmin and cfengine

2005-04-05 Thread Tim Nelson
tp://cfwiki.org/cfwiki/index.php/Wishlist ). However, I'd suggest that you either ask the Webmin community, or contact the person who originally wrote the webmin module for cfengine. Thanks, -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building,

Re: cfengine as a package distributor? (fwd)

2005-03-30 Thread Tim Nelson
perl template (a la cfengine-masterconf-pt) which installs whichever packages he wants. :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +6

Re: Defining classes in update.conf that are seen by cfagent.conf?

2005-03-29 Thread Tim Nelson
very start)? :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL PROTECTED] http://www.webalive.biz/ "Your Business, Your We

Re: Patches vs. Packages

2005-03-20 Thread Tim Nelson
/Perl scripts to real packages. Then, by definition, there is no way to automate these, right? So they'd have to be managed manually from something like cfengine. :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010

Patches vs. Packages

2005-03-17 Thread Tim Nelson
have dependencies - Would it be reasonable to treat patches as a case of packages? Can I have some input from someone who knows about patches? (Chip? :) ). :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe S

Re: importing files

2005-03-16 Thread Tim Nelson
On Wed, 16 Mar 2005, Ed Brown wrote: On Tue, 2005-03-15 at 21:53, Tim Nelson wrote: I've only been skimming, and I thought that someone had already explained, but in double-checking, they haven't. The relevant

Re: Too many cfagents running. Was: Load problem with cfservd

2005-03-15 Thread Tim Nelson
yours does what it does, but I know the above works for me, and I'm guessing that that's essentially what you're trying to do. As to my guess as to what it's doing now, that's based on a gut feeling, not a rational explanation. :) -- Tim Nelson Server Administ

Re: importing files

2005-03-15 Thread Tim Nelson
or macros defined in imported files are only defined after the main program. Variables from earlier files are inherited by later includes, but not vice-versa. --- Hopefully that answers your question; if not, please write back.

Re: Number of files in a directory?

2005-03-15 Thread Tim Nelson
ulated with the others). That leaves: < > Or if you prefer named operators: le ge Or using Nathan's suggestion: LessThan, GreaterThan I prefer the symbolic ones (being a Perl-type guy), but Nathan's operators look more cfenginely. :) -- Tim Nelson Server

Re: Number of files in a directory?

2005-03-14 Thread Tim Nelson
On Thu, 10 Mar 2005, nathan r. hruby wrote: On Fri, 11 Mar 2005, Tim Nelson wrote: BEGIN SNIP classes: # See if we're overlimt MailqueOverLimit = ( ReturnsZero(/bin/sh -c "expr `ls /var/spool/mqueue/ | grep q.*| wc -l` \> 12 > /dev/null") )

Re: Ways to manage passwd/shadow files?

2005-03-10 Thread Tim Nelson
nsswitch.conf can do this (yes? no?). :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL PROTECTED] http://www.webalive

Re: Number of files in a directory?

2005-03-10 Thread Tim Nelson
suggestions for monitoring the number of files in a directory? Hmm. If I were doing it, I'd make a shell script. Of course, that would mean that alerts wouldn't work. I might also try a cfengine method. -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innov

RE: Ways to manage passwd/shadow files?

2005-03-10 Thread Tim Nelson
tionality. Alternatively, you could write a method that performs various operations on users, eg. create (if not existing), delete, modify, and the like, and then call them from your other cfengine scripts. If you do that, we'd be interested in seeing them. :) -- Tim Nelson Server

Re: Patch to add install action to packages:

2005-03-03 Thread Tim Nelson
to find specifically what you are dealing with. Perhaps the module previously put up for Scientific Linux would work in a more general fashion? I'd be in favour, but I don't know how others would feel about perl :). -- Tim Nelson Server Administrator WebAlive Technologies Global Level

Re: hard class to distinguish between RHEL 32bit and 64bit

2005-03-01 Thread Tim Nelson
hat way do the classes listed above not fulfil your requirements? -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: [EMAIL PROTE

Re: editfile question

2005-02-28 Thread Tim Nelson
any:: "diff ..." You'd need to put in the full path for diff, and you'd need to fill in the ... options appropriately, but the other two lines are fine. :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Buildi

Re: Patch to add install action to packages:

2005-02-27 Thread Tim Nelson
the like could use it), so if there were such a project, we'd presumably have more people working on it than just the cfengine coders, contributing things for various package formats. Now the question for Mark: if such a library existed, would cfengine use it? (A similar library fo

Beta of cfengine-masterconf

2005-02-24 Thread Tim Nelson
ve too much fun with it. It will also, when it gets to release quality, make it much easier to write a Quick Reference guide. Thanks, -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic,

Re: tidy - hitting too many directories

2005-02-24 Thread Tim Nelson
- No home patterns to search Purging private classes from context update $$ * (Changing context state to: main) * $$ ... -- Tim Nelson Server Administrator WebAlive Technologies Global Level

Bouncebacks

2005-02-23 Thread Tim Nelson
Can someone unsubscribe "[EMAIL PROTECTED]" from the cfengine lists, because every time I send in an e-mail, I get an "Unknown user" bounceback. Thanks, -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour

Re: segmentation fault in InitializeLocks (fwd)

2005-02-23 Thread Tim Nelson
On Wed, 23 Feb 2005, Lars Damerow wrote: From Tim Nelson <[EMAIL PROTECTED]>, Thu, Feb 24, 2005 at 12:32:57PM +1100: On Wed, 23 Feb 2005, Lars Damerow wrote: What everyone else seems to do is: 1. Add something like "cfagent -q -Dkickstart" to /etc/rc.local 2.

Re: Feature request: Ability to parse files with a custom parser

2005-02-23 Thread Tim Nelson
On Thu, 24 Feb 2005, Knut Auvor Grythe wrote: On Thu, Feb 24, 2005 at 12:25:25PM +1100, Tim Nelson wrote: Is there a reason you define "generate_sshd_config" twice? As a more general question, which condition do you want the class defined on? Yes, as I wrote in an earlie

Re: segmentation fault in InitializeLocks

2005-02-23 Thread Tim Nelson
On Thu, 24 Feb 2005, Knut Auvor Grythe wrote: On Thu, Feb 24, 2005 at 12:32:57PM +1100, Tim Nelson wrote: What everyone else seems to do is: 1. Add something like "cfagent -q -Dkickstart" to /etc/rc.local 2. Add something to cfengine which removes the above lin

Re: Feature request: Ability to parse files with a custom parser

2005-02-23 Thread Tim Nelson
the end of the method (unless returned). If this isn't what happens, I'd like someone to let me know. :) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe Street Docklands, Melbourne, Vic, 3008 Phone: +61

  1   2   >