country switch with puppet apply