example42/puppet-puppetdashboard — pull request #3 by eperdeme (2012-08-02 10:45:28+00:00)
Title: Update manifests/params.pp

Debian installs dashboard to this location by default.

The default breaks when importing the database as the rake scripts are not in the default data_dir.

exec { 'puppetdashboard_dbmigrate':
cwd => $puppetdashboard::data_dir,
command => 'rake RAILS_ENV=production db:migrate',
require => Mysql::Grant["puppetdashboard_grants_${fqdn}"],
refreshonly => true,
path => '/usr/bin:/bin:/usr/sbin:/sbin',