adding mkdir_p function // puppet-rspec coverage