[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feedback class fails to run
From: |
Akop Pogosian |
Subject: |
feedback class fails to run |
Date: |
Mon, 24 Mar 2003 19:47:20 -0800 |
User-agent: |
Mutt/1.4i |
I would like to define a feedback class whenever a certain directory
is created in order to run a command after that. However, it doesn't
seem to work. Below is a simple configuration file to reproduce this
problem.
control:
actionsequence = ( directories
shellcommands.cfsadmin )
addinstallable = ( needs_cfsadmin )
directories:
/cache mode=755
owner=root
group=other
inform=true
define=needs_cfsadmin
shellcommands:
cfsadmin.needs_cfsadmin::
"/usr/sbin/cfsadmin -c /cache/local"
cfsadmin::
"/usr/bin/touch /foo"
After running this, /foo's timestamp has been updated, /cache has been
created but /usr/sbin/cfsadmin has not been run. If I replace the
compound class "cfsadmin.needs_cfsadmin" with just "needs_cfsadmin"
and add "shellcommands" to actionsequence, it works. However, I'd like
to be able to use the compound class.
-akop
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feedback class fails to run,
Akop Pogosian <=