#!/usr/bin/bash # open a subshell and pull enc data ( cd /opt/puppetlabs/enc/ git reset --hard master git clean -fd git pull )