Merge pull request #48 from Azure/ryhamel/avoid-writing-to-scripts
avoid writing to cluster-init scripts folder
This commit is contained in:
Коммит
a75a6b40ba
|
@ -1,3 +1,3 @@
|
|||
[project]
|
||||
version = 3.3.1
|
||||
version = 3.3.2
|
||||
name = lsf
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[project]
|
||||
version = 3.3.1
|
||||
version = 3.3.2
|
||||
name = lsf
|
||||
|
||||
[blobs]
|
||||
|
|
|
@ -4,5 +4,5 @@ maintainer_email 'you@example.com'
|
|||
license 'All Rights Reserved'
|
||||
description 'Installs/Configures lsf'
|
||||
long_description 'Installs/Configures lsf'
|
||||
version '0.1.0'
|
||||
version '3.3.2'
|
||||
chef_version '>= 12.1' if respond_to?(:chef_version)
|
||||
|
|
|
@ -14,6 +14,7 @@ if [ $custom_script_uri == 0 ]; then
|
|||
fi
|
||||
|
||||
echo running $custom_script_uri...
|
||||
curl -L $custom_script_uri > custom_script_uri_tmp.sh
|
||||
chmod +x custom_script_uri_tmp.sh
|
||||
./custom_script_uri_tmp.sh
|
||||
curl -L $custom_script_uri > /tmp/custom_script_uri_tmp.sh
|
||||
chmod +x /tmp/custom_script_uri_tmp.sh
|
||||
/tmp/./custom_script_uri_tmp.sh
|
||||
rm -f /tmp/custom_script_uri_tmp.sh
|
Загрузка…
Ссылка в новой задаче