summaryrefslogtreecommitdiffstats
path: root/ipaaction/ipaaction_example_policy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ipaaction/ipaaction_example_policy.xml')
-rw-r--r--ipaaction/ipaaction_example_policy.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/ipaaction/ipaaction_example_policy.xml b/ipaaction/ipaaction_example_policy.xml
new file mode 100644
index 0000000..7198992
--- /dev/null
+++ b/ipaaction/ipaaction_example_policy.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ipa xmlns="http://freeipa.org/xml/rng/ipaaction/1.0">
+ <metadata>
+ <name>simple ipaaction example</name>
+ <author>sbose@redhat.com</author>
+ <version>0.7071</version>
+ <RNGfile>ipaaction.rng</RNGfile>
+ <XSLTfile>ipaaction.xslt</XSLTfile>
+ <app>ipaaction</app>
+ </metadata>
+
+ <ipaaction>
+ <file>
+ <url>http://my.server.org/something.txt</url>
+ <path>/tmp/something.txt</path>
+ <owner>nobody</owner>
+ <group>nogroup</group>
+ <access>0444</access>
+ </file>
+ <run>
+ <command>/bin/rm /tmp/something.txt</command>
+ <user>admin</user>
+ </run>
+ <file>
+ <data>VGhpcyBpcyBhIHRlc3QK</data>
+ <path>/tmp/something_other.txt</path>
+ <owner>nobody</owner>
+ <group>nogroup</group>
+ <access>0444</access>
+ </file>
+ </ipaaction>
+
+</ipa>