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

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

Issue 5735669590654976: #753 - set up an order system to let eyeo employees file order requests (Closed)
Left Patch Set: #753 - set up an order system to let eyeo employees file order requests Created Aug. 1, 2014, 1:40 p.m.
Right Patch Set: #753 - set up an order system to let eyeo employees file order requests Created Aug. 6, 2014, 12:38 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/trac.ini ('k') | modules/trac/templates/fcgi.conf.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 $certificate, 3 $certificate,
4 $private_key, 4 $private_key,
5 $fcgi_config_dir = '/etc/nginx/trac.d', 5 $fcgi_config_dir = '/etc/nginx/trac.d',
6 $is_default = false) inherits private::trac { 6 $is_default = false) inherits private::trac {
7 7
8 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']: 8 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']:
9 ensure => present 9 ensure => present
10 } 10 }
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 exec { 'install_Tractags': 111 exec { 'install_Tractags':
112 command => "pip install svn+http://trac-hacks.org/svn/tagsplugin/tags/0.7/", 112 command => "pip install svn+http://trac-hacks.org/svn/tagsplugin/tags/0.7/",
113 require => Package['python-pip'], 113 require => Package['python-pip'],
114 unless => "python -c 'import tractags'", 114 unless => "python -c 'import tractags'",
115 } 115 }
116 116
117 exec { 'install_PrivateTickets': 117 exec { 'install_PrivateTickets':
118 command => "pip install svn+http://trac-hacks.org/svn/privateticketsplugin/t ags/2.0.2/", 118 command => "pip install svn+http://trac-hacks.org/svn/privateticketsplugin/t ags/2.0.2/",
119 require => Package['subversion', 'python-pip'], 119 require => Package['subversion', 'python-pip'],
120 unless => "python -c 'import privateticketsplugin'", 120 unless => "python -c 'import privatetickets'",
121 } 121 }
122 122
123 file { '/home/trac/trac.ini': 123 file { '/home/trac/trac.ini':
124 ensure => present, 124 ensure => present,
125 source => 'puppet:///modules/trac/trac.ini', 125 source => 'puppet:///modules/trac/trac.ini',
126 owner => 'trac', 126 owner => 'trac',
127 mode => 644, 127 mode => 644,
128 } 128 }
129 129
130 define instance ( 130 define instance (
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 } 233 }
234 234
235 spawn-fcgi::pool {"tracd_${name}": 235 spawn-fcgi::pool {"tracd_${name}":
236 ensure => present, 236 ensure => present,
237 fcgi_app => "/home/trac/htdocs-$name/cgi-bin/trac.fcgi", 237 fcgi_app => "/home/trac/htdocs-$name/cgi-bin/trac.fcgi",
238 socket => "/tmp/${name}-fastcgi.sock", 238 socket => "/tmp/${name}-fastcgi.sock",
239 mode => "0666", 239 mode => "0666",
240 user => trac, 240 user => trac,
241 children => 1, 241 children => 1,
242 require => Exec["deploy_$name"], 242 require => Exec["deploy_$name"],
243 notify => Service['nginx'],
Wladimir Palant 2014/08/01 13:56:08 Not addressed: On 2014/07/31 09:46:53, Wladimir P
244 } 243 }
245 } 244 }
246 } 245 }
247 246
LEFTRIGHT

Powered by Google App Engine
This is Rietveld