415a71dd59
r10k generates a .r10k-deploy.json file since version 2.1.0 which was released on October 28, 2015. New users of the control-repo are not likely to have a so old version of r10k, so remove this dead code.
15 lines
299 B
Bash
Executable File
15 lines
299 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ $# -ne 2 -o ! -d "$1" -o ! -d "$1/$2" ]; then
|
|
echo "usage: $0 <environmentpath> <environment>" >&2
|
|
exit 1
|
|
fi
|
|
|
|
ruby=ruby
|
|
|
|
if [ -x /opt/puppetlabs/puppet/bin/ruby ]; then
|
|
ruby=/opt/puppetlabs/puppet/bin/ruby
|
|
fi
|
|
|
|
"${ruby}" "$1/$2/scripts/code_manager_config_version.rb" "$1" "$2"
|