Sha256: bd7ef65054ddeabc52eac4c7ec0be157ff275b41463b1b8beb7d608df2a2c199
Contents?: true
Size: 514 Bytes
Versions: 20
Compression:
Stored size: 514 Bytes
Contents
#!/bin/bash HIERA_BASE="/etc/freighthop/hiera_data" APP_HIERA_DATA_SOURCE="${1}/.freighthop.json" APP_HIERA_DATA_TARGET="${HIERA_BASE}/app.json" VAGRANT_HIERA_DATA_SOURCE="/vagrant/data" VAGRANT_HIERA_DATA_TARGET="${HIERA_BASE}/vagrant" if [ ! -d "$HIERA_BASE" ]; then mkdir -p $HIERA_BASE fi if [ ! -h "$VAGRANT_HIERA_DATA_TARGET" ]; then ln -s $VAGRANT_HIERA_DATA_SOURCE $VAGRANT_HIERA_DATA_TARGET fi if [ ! -h "$APP_HIERA_DATA_TARGET" ]; then ln -s $APP_HIERA_DATA_SOURCE $APP_HIERA_DATA_TARGET fi
Version data entries
20 entries across 20 versions & 1 rubygems