Revision 8d773e2a
Added by Ohad Levy over 14 years ago
- ID 8d773e2a3e88d1bd4e190878ed5bf9b8281bcb9b
extras/puppet/foreman/manifests/init.pp | ||
---|---|---|
}
|
||
# Initial Foreman Install
|
||
exec{"install_foreman":
|
||
command => "wget -q http://theforeman.org/attachments/download/27/foreman-0.1-2.tar.bz2 -O - | tar xjf -",
|
||
command => "wget -q http://theforeman.org/attachments/download/53/foreman-0.1-3.tar.bz2 -O - | tar xjf -",
|
||
cwd => $railspath,
|
||
creates => "$foreman_dir/public",
|
||
notify => Exec["db_migrate"],
|
||
... | ... | |
hour => "23",
|
||
}
|
||
|
||
cron{"daily summary":
|
||
command => "(cd $foreman_dir && rake reports:summarize)",
|
||
environment => "RAILS_ENV=production",
|
||
user => $foreman_user,
|
||
minute => "30",
|
||
hour => "07",
|
||
}
|
||
}
|
Also available in: Unified diff
updated link to new version and added daily summary email cronjob