Index: modules/roundup/manifests/init.pp |
=================================================================== |
--- a/modules/roundup/manifests/init.pp |
+++ b/modules/roundup/manifests/init.pp |
@@ -46,11 +46,96 @@ |
notify => Service['roundup'] |
} |
+ file {"${tracker_home}/schema.py": |
+ ensure => present, |
+ content => template('roundup/schema.py.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/initial_data.py": |
+ ensure => present, |
+ content => template('roundup/initial_data.py.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/html/issue.item.html": |
+ ensure => present, |
+ content => template('roundup/issue.item.html.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/html/issue.index.html": |
+ ensure => present, |
+ content => template('roundup/issue.index.html.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/html/issue.search.html": |
+ ensure => present, |
+ content => template('roundup/issue.search.html.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/html/style.css": |
+ ensure => present, |
+ content => template('roundup/style.css.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/html/confidential.index.html": |
+ ensure => present, |
+ content => template('roundup/confidential.index.html.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ |
+ file {"${tracker_home}/html/confidential.item.html": |
+ ensure => present, |
+ content => template('roundup/confidential.item.html.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/html/confidential.search.html": |
+ ensure => present, |
+ content => template('roundup/confidential.search.html.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
service {'roundup': |
ensure => running, |
hasstatus => false |
} |
+ file {"${tracker_home}/detectors/statusauditor.py": |
+ ensure => present, |
+ content => template('roundup/statusauditor.py.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/detectors/nosyreaction.py": |
+ ensure => present, |
+ content => template('roundup/nosyreaction.py.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
+ file {"${tracker_home}/html/page.html": |
+ ensure => present, |
+ content => template('roundup/page.html.erb'), |
+ require => Exec['install'], |
+ notify => Service['roundup'] |
+ } |
+ |
$db_path = "${tracker_home}/db" |
exec {'initialise': |