Restart apache or nginx after puppet master stops