It seems that this works (2 ignore directives):
/usr/pkg server=master ignore=/usr/pkg/src ignore=/usr/pkg/ossrc /usr/pkg
A more 'short-hand' format would be nice - I still think
I am missing something.
Brian
==
I am trying to cop a directory tree to the clients from the master,
with 2 exceptions: /usr/pkg/src and /usr/pkg/ossrc.
This will skip /usr/pkg/ossrc...
/usr/pkg server=master ignore=/usr/pkg/ossrc /usr/pkg
... and this will skip /usr/pkg/src ...
Brett,
You're welcome, hope it's useful to you, or someone.
By the way, it's funny how superfluous stuff can go unnoticed for a
long time. It looks like the 'rpmserver' argument passed to the
wrapper script is unused, probably a relic from an earlier draft.
-Ed
[EMAIL PROTECTED] wrote:
> De
Back before the 'packages:' action had an install option (~2 years
ago), when it could only define classes, I wrote a simple[-minded?]
perl wrapper that would parse the list of defined classes and hand off
to yum. I'm still using it because it's been stable, avoids
limitations like this argume
Dear Ed,
All I can say is:
THANKS!
I may hack it around a bit but if I do that I will post it back to the
group.
Best Regards,
Brett
-Original Message-
From: Ed Brown [mailto:[EMAIL PROTECTED]
Sent: 14 July 2006 16:20
To: Brett Delle Grazie
Cc: help-cfengine@cfengine.org
Subject: Re
Dear Mark,
It's not a question of how big - someone will always exceed the limit :)
It's the technique employed. I appreciate you are trying to reuse
secure code
by enforcing an arbitrary limit on popen calls but the list itself is
internally constructed and therefore should be considered secure
[EMAIL PROTECTED] wrote:
> Dear Steve,
>
> Thanks for that. It does appear that it's cfengine imposing the limit
> way before
> it gets anywhere near yum. Looking at the source the issue is in popen.c
> where
> it imposes the limit of CF_MAXSHELLARGS (which is set to 30). I can see
> why
> this
On Fri, Jul 14, 2006 at 10:56:40AM +0100, [EMAIL PROTECTED] wrote:
>I'm using Yum so my rpm install command is:
>
>RPMInstallCommand = ( "/usr/bin/yum -y install %s" )
>
>However I'm getting the messages (in verbose mode):
>... long list of packages ...
>package inst
Dear Steve,
Thanks for that. It does appear that it's cfengine imposing the limit
way before
it gets anywhere near yum. Looking at the source the issue is in popen.c
where
it imposes the limit of CF_MAXSHELLARGS (which is set to 30). I can see
why
this is done (to limit memory/stack usage) but i
Hi,
Firstly I'd like to
say nice job on cfengine. It is an excellent tool.
I'm using cfengine
2.1.20 (DAG rpm) on CentOS 4.3.
I'm trying to
install a large number of RPMS for some 3rd party apps via the 'package'
mechanism.
I'm using Yum so my
rpm install command is:
RPMInstallCommand
10 matches
Mail list logo