From 21b61ddd859b7baa1bbf192084926ad9927e5092 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 27 Oct 2008 22:30:21 +0100 Subject: added condition and cleanup flag to ipaaction --- ipaaction/ipaaction.rng | 21 ++++++++++++++++++--- ipaaction/ipaaction_example_policy.xml | 4 ++++ 2 files changed, 22 insertions(+), 3 deletions(-) (limited to 'ipaaction') diff --git a/ipaaction/ipaaction.rng b/ipaaction/ipaaction.rng index 8500275..2f6fb57 100644 --- a/ipaaction/ipaaction.rng +++ b/ipaaction/ipaaction.rng @@ -39,9 +39,16 @@ xmlns:pa="http://freeipa.org/xml/rng/ns/plugable_architecture/1.0"> - - /.* - + + + /.* + + + + + + + @@ -81,6 +88,14 @@ xmlns:pa="http://freeipa.org/xml/rng/ns/plugable_architecture/1.0"> + + + + yes + no + + + diff --git a/ipaaction/ipaaction_example_policy.xml b/ipaaction/ipaaction_example_policy.xml index e545703..061bc21 100644 --- a/ipaaction/ipaaction_example_policy.xml +++ b/ipaaction/ipaaction_example_policy.xml @@ -10,6 +10,9 @@ + + test -e /etc/redhat-release + http://my.server.org/something.txt /tmp/something.txt @@ -19,6 +22,7 @@ unconfined_u:object_r:user_home_t:s0 user:dummy:rw- user:admin:rw- + no /bin/rm /tmp/something.txt -- cgit