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: Don`t hide review_url field and add missing dependency Created March 25, 2014, 3:40 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,42 +110,56 @@ 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'],
Exec['install_AutocompleteUsers'],
Exec['install_TicketTemplate'],
Exec['install_NeverNotifyUpdater'],
- Exec['install_MasterTickets']]
+ Exec['install_MasterTickets'],
+ Exec['install_ThemeEngine']]
}
exec {"deploy":
command => "trac-admin /home/trac/environment deploy /home/trac/htdocs && fromdos /home/trac/htdocs/cgi-bin/trac.fcgi && chmod 755 /home/trac/htdocs/cgi-bin/trac.fcgi",
user => trac,
require => [
Exec["update_env"],
Package["tofrodos"]]
« 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