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

Delta Between Two Patch Sets: modules/trac/manifests/init.pp

Issue 5769066073554944: Issue 211 - [trac] Make priority/milestone/component fields visible to everybody (Closed)
Left Patch Set: Created March 25, 2014, 11:51 a.m.
Right Patch Set: Don`t hide review_url field and add missing dependency Created March 25, 2014, 3:40 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/trac/files/theme.css ('k') | modules/trac/templates/trac.ini.erb » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 class trac( 1 class trac(
2 $domain, 2 $domain,
3 $is_default = false) inherits private::trac { 3 $is_default = false) inherits private::trac {
4 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']: 4 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']:
5 ensure => present 5 ensure => present
6 } 6 }
7 7
8 include nginx, spawn-fcgi 8 include nginx, spawn-fcgi
9 9
10 file {'/etc/nginx/adblockplus.org_sslcert.key': 10 file {'/etc/nginx/adblockplus.org_sslcert.key':
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 command => "trac-admin /home/trac/environment upgrade", 146 command => "trac-admin /home/trac/environment upgrade",
147 user => trac, 147 user => trac,
148 require => [ 148 require => [
149 File['/home/trac/environment/conf/trac.ini'], 149 File['/home/trac/environment/conf/trac.ini'],
150 Exec['install_SensitiveTickets'], 150 Exec['install_SensitiveTickets'],
151 Exec['install_BlackMagicTicketTweaks'], 151 Exec['install_BlackMagicTicketTweaks'],
152 Exec['install_AccountManager'], 152 Exec['install_AccountManager'],
153 Exec['install_AutocompleteUsers'], 153 Exec['install_AutocompleteUsers'],
154 Exec['install_TicketTemplate'], 154 Exec['install_TicketTemplate'],
155 Exec['install_NeverNotifyUpdater'], 155 Exec['install_NeverNotifyUpdater'],
156 Exec['install_MasterTickets']] 156 Exec['install_MasterTickets'],
157 Exec['install_ThemeEngine']]
157 } 158 }
158 159
159 exec {"deploy": 160 exec {"deploy":
160 command => "trac-admin /home/trac/environment deploy /home/trac/htdocs && fr omdos /home/trac/htdocs/cgi-bin/trac.fcgi && chmod 755 /home/trac/htdocs/cgi-bin /trac.fcgi", 161 command => "trac-admin /home/trac/environment deploy /home/trac/htdocs && fr omdos /home/trac/htdocs/cgi-bin/trac.fcgi && chmod 755 /home/trac/htdocs/cgi-bin /trac.fcgi",
161 user => trac, 162 user => trac,
162 require => [ 163 require => [
163 Exec["update_env"], 164 Exec["update_env"],
164 Package["tofrodos"]] 165 Package["tofrodos"]]
165 } 166 }
166 167
167 spawn-fcgi::pool {"tracd": 168 spawn-fcgi::pool {"tracd":
168 ensure => present, 169 ensure => present,
169 fcgi_app => "/home/trac/htdocs/cgi-bin/trac.fcgi", 170 fcgi_app => "/home/trac/htdocs/cgi-bin/trac.fcgi",
170 socket => "/tmp/trac-fastcgi.sock", 171 socket => "/tmp/trac-fastcgi.sock",
171 mode => "0666", 172 mode => "0666",
172 user => trac, 173 user => trac,
173 children => 1, 174 children => 1,
174 require => Exec['deploy'], 175 require => Exec['deploy'],
175 } 176 }
176 177
177 file {"/home/trac/permissions.csv": 178 file {"/home/trac/permissions.csv":
178 ensure => present, 179 ensure => present,
179 owner => trac, 180 owner => trac,
180 source => 'puppet:///modules/trac/permissions.csv' 181 source => 'puppet:///modules/trac/permissions.csv'
181 } 182 }
182 183
183 } 184 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld