2016-01-27 23:08:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
##############################################################
|
|
|
|
### Customizations start here ################################
|
|
|
|
##############################################################
|
|
|
|
|
|
|
|
# Barebones cookbook that accepts args to run single recipes
|
|
|
|
|
|
|
|
# Get current directory for future use in links
|
|
|
|
cd $(dirname $0)
|
|
|
|
PROJECT_DIR=$(pwd)
|
|
|
|
|
2016-08-05 20:28:54 +00:00
|
|
|
# Initialization - DO NOT REMOVE
|
|
|
|
. helpers/initialize
|
|
|
|
|
2016-01-27 23:08:44 +00:00
|
|
|
detect_package_manager
|
|
|
|
|
|
|
|
init_paths_and_vars
|
|
|
|
|
|
|
|
# Get params
|
|
|
|
COOKBOOK_NAME=$1
|
|
|
|
RECIPIE=$2
|
|
|
|
# SET_INSTALLED=$3
|
|
|
|
|
|
|
|
recipe $RECIPIE
|
|
|
|
# set_installed $SET_INSTALLED
|