Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/trac/manifests/init.pp

Issue 5769066073554944: Issue 211 - [trac] Make priority/milestone/component fields visible to everybody (Closed)
Patch Set: Fixed ThemeEngine configuration Created March 25, 2014, 12:20 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/trac/files/theme.css ('k') | modules/trac/templates/trac.ini.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'],
« no previous file with comments | « modules/trac/files/theme.css ('k') | modules/trac/templates/trac.ini.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld