Add migration to Puppet

For puppet-dashboard
Add onlyif to rake task