summaryrefslogtreecommitdiffstats
path: root/encap/src/bcfg2-site
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-29 01:17:23 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-06-29 01:17:23 +0000
commit2e275d74614a040f43ad480ee698cf0d04d9ca00 (patch)
treee0853f0aa6bb1ed43ec60450fbc67ee59195fdc9 /encap/src/bcfg2-site
parent24adee614ea6d1a8d42a783c51cc40572aa4d781 (diff)
downloadbcfg2-2e275d74614a040f43ad480ee698cf0d04d9ca00.tar.gz
bcfg2-2e275d74614a040f43ad480ee698cf0d04d9ca00.tar.bz2
bcfg2-2e275d74614a040f43ad480ee698cf0d04d9ca00.zip
EncapPackages: ...
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3386 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/bcfg2-site')
-rw-r--r--encap/src/bcfg2-site/Makefile2
-rw-r--r--encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl16
2 files changed, 10 insertions, 8 deletions
diff --git a/encap/src/bcfg2-site/Makefile b/encap/src/bcfg2-site/Makefile
index 3f6547e7c..1bddfc75a 100644
--- a/encap/src/bcfg2-site/Makefile
+++ b/encap/src/bcfg2-site/Makefile
@@ -44,7 +44,7 @@ fix : copy
find $$EN -type f | xargs -n1 chmod 0644 && \
chmod 0600 $$EN/etc/ostiary.cfg && \
chmod 0600 $$EN/etc/bcfg2.conf && \
- chmod 0755 $$EN/sbin/ost-bcfg2.sh && \
+ chmod 0755 $$EN/sbin/ost-bcfg2* && \
chmod 0755 $$EN/postinstall
encap : fix
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl b/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl
index 2c98e910f..9b7e555c5 100644
--- a/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl
@@ -20,10 +20,12 @@ KILL="${OSTIARY_PASSWORD}-kill"
# Must be at least one action. Format is:
# ACTION="secret","command (with path)",["uid"[,"gid"]]
# NOTE: There is a maximum of 31 actions
-ACTION="${OSTIARY_PASSWORD}-bcfg2-dvqn","/usr/local/sbin/ost-bcfg2.sh dvqn","0","0"
-ACTION="${OSTIARY_PASSWORD}-bcfg2-dvn","/usr/local/sbin/ost-bcfg2.sh dvn","0","0"
-ACTION="${OSTIARY_PASSWORD}-bcfg2-dvq","/usr/local/sbin/ost-bcfg2.sh dvq","0","0"
-ACTION="${OSTIARY_PASSWORD}-bcfg2-dv","/usr/local/sbin/ost-bcfg2.sh dv","0","0"
-ACTION="${OSTIARY_PASSWORD}-bcfg2-vq","/usr/local/sbin/ost-bcfg2.sh vq","0","0"
-ACTION="${OSTIARY_PASSWORD}-bcfg2-v","/usr/local/sbin/ost-bcfg2.sh v","0","0"
-ACTION="${OSTIARY_PASSWORD}-bcfg2-restart","/usr/local/sbin/ost-bcfg2.sh restart","0","0"
+# IMPORTANT: Commands *CAN NOT* have any arguments -
+# on some platforms arguments are just ignored
+ACTION="${OSTIARY_PASSWORD}-bcfg2-dvqn","/usr/local/sbin/ost-bcfg2-dvqn","0","0"
+ACTION="${OSTIARY_PASSWORD}-bcfg2-dvn","/usr/local/sbin/ost-bcfg2-dvn","0","0"
+ACTION="${OSTIARY_PASSWORD}-bcfg2-dvq","/usr/local/sbin/ost-bcfg2-dvq","0","0"
+ACTION="${OSTIARY_PASSWORD}-bcfg2-dv","/usr/local/sbin/ost-bcfg2-dv","0","0"
+ACTION="${OSTIARY_PASSWORD}-bcfg2-vq","/usr/local/sbin/ost-bcfg2-vq","0","0"
+ACTION="${OSTIARY_PASSWORD}-bcfg2-v","/usr/local/sbin/ost-bcfg2-v","0","0"
+ACTION="${OSTIARY_PASSWORD}-bcfg2-restart","/usr/local/sbin/ost-bcfg2-restart","0","0"