Index: modules/trac/manifests/init.pp |
=================================================================== |
--- a/modules/trac/manifests/init.pp |
+++ b/modules/trac/manifests/init.pp |
@@ -110,30 +110,43 @@ class trac( |
} |
exec { 'install_NeverNotifyUpdater': |
command => "pip install svn+http://trac-hacks.org/svn/nevernotifyupdaterplugin/1.0/", |
require => Package['subversion', 'python-pip'], |
unless => "python -c 'import nevernotifyupdaterplugin'", |
} |
+ exec { 'install_ThemeEngine': |
+ command => "pip install TracThemeEngine", |
+ require => Package['python-pip'], |
+ unless => "python -c 'import themeengine'", |
+ } |
+ |
file {"/home/trac/environment/conf/trac.ini": |
ensure => present, |
content => template('trac/trac.ini.erb'), |
owner => trac, |
require => Exec['trac_env'] |
} |
file {"/home/trac/htdocs/htdocs/common/adblockplus_logo.png": |
ensure => present, |
source => 'puppet:///modules/trac/adblockplus_logo.png', |
owner => trac, |
require => Exec['deploy'] |
} |
+ file {"/home/trac/environment/htdocs/theme.css": |
+ ensure => present, |
+ source => 'puppet:///modules/trac/theme.css', |
+ owner => trac, |
+ require => Exec['trac_env'] |
+ } |
+ |
exec {"update_env": |
command => "trac-admin /home/trac/environment upgrade", |
user => trac, |
require => [ |
File['/home/trac/environment/conf/trac.ini'], |
Exec['install_SensitiveTickets'], |
Exec['install_BlackMagicTicketTweaks'], |
Exec['install_AccountManager'], |