From c163108c0c0c7b7a4f05da411e98ac0f503e31e0 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 23 Mar 2018 06:51:23 +0100 Subject: Fix critical bug in docker provisioner, improve mysql performance, provision system users/groups to enable NFS group mapping, various minor fixes --- anslib/archive/gluster_paths.sh | 9 --------- anslib/patches/archive/gluster_paths.sh | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100755 anslib/archive/gluster_paths.sh create mode 100755 anslib/patches/archive/gluster_paths.sh (limited to 'anslib') diff --git a/anslib/archive/gluster_paths.sh b/anslib/archive/gluster_paths.sh deleted file mode 100755 index 4c3ca0b..0000000 --- a/anslib/archive/gluster_paths.sh +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/bash - -# This is not enough. We also need to separate /dev otherwise port clashes (may be cgroups). Not sure about the side effects. -function fixpath_func { - sed -i.orig -e "/ path: \"\/\(var\|etc\|run\)/ s/\//_/g ; s/\"_/\"\/var\/lib\/heketi\//" $1 -} - -export -f fixpath_func -find openshift-ansible/roles/openshift_storage_glusterfs/files/v3.7 -name glusterfs-template.yml -print0 | xargs -0 -L 1 -I {} bash -c 'fixpath_func "$@"' _ {} diff --git a/anslib/patches/archive/gluster_paths.sh b/anslib/patches/archive/gluster_paths.sh new file mode 100755 index 0000000..4c3ca0b --- /dev/null +++ b/anslib/patches/archive/gluster_paths.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +# This is not enough. We also need to separate /dev otherwise port clashes (may be cgroups). Not sure about the side effects. +function fixpath_func { + sed -i.orig -e "/ path: \"\/\(var\|etc\|run\)/ s/\//_/g ; s/\"_/\"\/var\/lib\/heketi\//" $1 +} + +export -f fixpath_func +find openshift-ansible/roles/openshift_storage_glusterfs/files/v3.7 -name glusterfs-template.yml -print0 | xargs -0 -L 1 -I {} bash -c 'fixpath_func "$@"' _ {} -- cgit v1.2.1