Commit 80343b16 authored by Anton Agapov's avatar Anton Agapov

Quotes are very important, changed in glusterupdate.sh

parent c3ccbed2
......@@ -24,7 +24,7 @@ do
}
gfs_stop(){
run_on_hosts umount /var/ftp/*; killall glusterfs
run_on_hosts 'umount /var/ftp/*; killall glusterfs'
run_on_hosts monit stop glusterd
run_on_hosts killall glusterd
run_on_hosts killall glusterfsd
......@@ -76,7 +76,7 @@ case $1 in
gfs_stop
gfs_start
run_on_hosts mount -a
run_on_clients umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/*
run_on_clients 'umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/*'
gfs_mount_plus
exit 0
;;
......@@ -116,11 +116,11 @@ case $1 in
exit 0
;;
policy)
run_on_hosts apt-get update; apt-get policy glusterfs3-server
run_on_hosts 'apt-get update; apt-cache policy glusterfs3-server'
exit 0
;;
client)
run_on_clients umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/*
run_on_clients 'umount /var/ftp/*; killall glusterfs; epmi glusterfs3-client; mount /var/ftp/*'
exit 0
;;
*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment