added local puppet apply and control dir