5
export PATH=$PATH:/usr/local/rvm/bin
6
source /usr/local/rvm/scripts/rvm
8
hook_name=$(basename $0)
10
if [[ "$hook_name" == *-relation-* ]]; then
11
cookbook_name="${hook_name%-relation*}-relation"
12
recipe_name=${hook_name#*relation-}
15
recipe_name=$hook_name
18
juju_chef-solo -o "recipe[juju::bootstrap],recipe[$cookbook_name::$recipe_name]"
b'\\ No newline at end of file'