2010/1/20 James Levinson
>
> Hello, first time poster, I can't seem to find the archive search
> function so hopefully this hasn't been posted before:
>
I couldn't find archive search either, so here's what I use in Google
to search the email archives:
ReplaceAll site:cfengine.org
which seems t
Hello, first time poster, I can't seem to find the archive search
function so hopefully this hasn't been posted before:
First, I am using version 2.1.22 on RHEL5. My solution may be to
upgrade, not sure?
I have a file that I want to do a Replace on and the values are unique
per host, so I thought
On Tue, Jan 19, 2010 at 02:25:24PM -0700, Justin Lloyd wrote:
>Ah, you're doing it on a per-promise basis. I may do that for specific
>promises, but I was wondering if there's any mechanism for having
>cf-agent send an alert whenever any promise is repaired. For example
AFAIK Nova has this functio
Hi,
I am having problems getting cfengine to keep promises. I admit that I am
completely new to cfengine and have only been working with it for a few
weeks now. I am using Automating Linux and Unix System Administration,
second edition as my primary reference, with a smattering of other
resources.
You might need to configure the dynamic linker.
# crle
Default configuration file (/var/ld/ld.config) not found
Default Library Path (ELF): /lib:/usr/lib (system default)
Trusted Directories (ELF):/lib/secure:/usr/lib/secure (system default)
Now you can add a new path -- for example
On 01/19/2010 01:50 PM, nwat...@symcor.com wrote:
> I've compiled cfengine on solaris with some libs in a custom location.
> When I run cf it fails unless I set LD_LIBRARY_PATH to point to the custom
>
> libs. Is there a way to build the cf binaries with a built in default
> library search path?
Ah, you're doing it on a per-promise basis. I may do that for specific
promises, but I was wondering if there's any mechanism for having cf-agent send
an alert whenever any promise is repaired. For example (not suggesting this
method, just thinking "out loud") there could be a promise attribute
Something like this:
files:
"${trg}"
perms => m( "${mod}" ),
action => warn_now, # Passive only at this point.
classes => cdefine(
"${trg}_mode_kept",
"${trg}_mode_repaired",
"${trg}_mode_failed"
I certainly understand the possibility of being overwhelmed, and how to
mitigate that, perhaps by controlling which kinds of repairs (for some
definition of "kind") might send such alerts. My biggest concern is just how to
approach this issue. I definitely want to know when systems are fixing th
You can do this. I've done it myself. However, you can overload yourself
with useless alerts. e.g. ALERT: Cfengine doing it's job! Tongue in
cheek to be sure but you get the point. It is however not a bad idea to
log the repair, quietly.
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENT
Hi all,
I'm still in my documentation and about to start our pilot phase of a
Nova implementation, but I'm thinking about how to handle certain
aspects of managing a Cfengine environment. One thing I would like to be
able to do would be to create an alerting system any time a promise is
repaire
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 Devices
What about setting links=follow ?
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of
addressee and may contain proprietary and/or confidential information. If you
are not the intended recipient, any use, co
I have a case where I need to copy the target of a symlink rather than
the symlink itself, but the copy: action in cf-2 doesn't seem to allow
this. Is there some way to get it to copy the target of the symlink
rather than the symlink itself?
As a workaround, I've updated the copy statement to
I've compiled cfengine on solaris with some libs in a custom location.
When I run cf it fails unless I set LD_LIBRARY_PATH to point to the custom
libs. Is there a way to build the cf binaries with a built in default
library search path?
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY
On 19 Jan 2010, at 4:19 pm, Guillaume Rousse wrote:
> Hello list.
>
> I'm trying to keep track of cfengine execution time, in order to
> monitor
> policy changes effect.
>
> The easiest way seems to add start/stop messages in the logs.
>
> If invocating cfagent from a cron task, it's quite simp
Hello list.
I'm trying to keep track of cfengine execution time, in order to monitor
policy changes effect.
The easiest way seems to add start/stop messages in the logs.
If invocating cfagent from a cron task, it's quite simple, but doesn't
allow to discriminate between update and main phase:
Anyone?
Sincerely,
--
Neil Watson
416-673-3465
help-cfengine-boun...@cfengine.org wrote on 2010-01-15 19:59:44:
> Greetings,
>
> I have a question about setting ifelapsed to 0 for certain promises.
> Consider this code. The goal is to repair a service config file. If
> this happens stop the s
Hello Neil
ls -l returns
ls -l /sbin/rc3.d/S998cf-serverd
lrwxr-xr-x 1 root sys 23 Jan 19 11:58
/sbin/rc3.d/S998cf-serverd -> /sbin/init.d/cf-serverd
The machine is running HP-UX hence the strange path
Regards
Mark.
/sbin/rc3.d/S998cf-serverd is a strange path to me. What
/sbin/rc3.d/S998cf-serverd is a strange path to me. What does ls -l
/sbin/rc3.d/S998cf-serverd return?
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of
addressee and may contain proprietary and/or confid
Hello
I'm trying to remove a symbolic link, my promise looks like this
files:
"/sbin/rc2.d/K001cf-serverd"
comment => "Remove /sbin/init.d/cf-serverd to
/sbin/rc3.d/S999cf-execd",
delete => "tidy";
Tidy looks like -
body delete tidy
{
dirlin
21 matches
Mail list logo