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

Side by Side Diff: modules/trac/manifests/init.pp

Issue 29362567: NoIssue - Using correct URL for spam filter dependency on trac system (Closed)
Patch Set: Created Nov. 15, 2016, 4:59 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 command => "pip install TracThemeEngine", 94 command => "pip install TracThemeEngine",
95 require => Package['python-pip'], 95 require => Package['python-pip'],
96 unless => "python -c 'import themeengine'", 96 unless => "python -c 'import themeengine'",
97 } 97 }
98 98
99 package { 'spambayes': 99 package { 'spambayes':
100 ensure => "installed" 100 ensure => "installed"
101 } 101 }
102 102
103 exec { 'install_TracSpamFilter': 103 exec { 'install_TracSpamFilter':
104 command => "pip install svn+http://svn.edgewall.com/repos/trac/plugins/1.0/s pam-filter", 104 command => "pip install svn+https://svn.edgewall.org/repos/trac/plugins/1.0/ spam-filter",
105 require => Package[ 105 require => Package[
106 'spambayes', 106 'spambayes',
107 'python-pip'], 107 'python-pip'],
108 unless => "python -c 'import tracspamfilter'", 108 unless => "python -c 'import tracspamfilter'",
109 } 109 }
110 110
111 exec { 'install_Tractags': 111 exec { 'install_Tractags':
112 command => "pip install svn+https://trac-hacks.org/svn/tagsplugin/tags/0.7/" , 112 command => "pip install svn+https://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'",
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 # Daily restart required for log rotation of all instances at once 272 # Daily restart required for log rotation of all instances at once
273 cron {'restart-trac-daily': 273 cron {'restart-trac-daily':
274 command => 'service spawn-fcgi restart >/tmp/spawn-fcgi-restart.log', 274 command => 'service spawn-fcgi restart >/tmp/spawn-fcgi-restart.log',
275 environment => hiera('cron::environment', []), 275 environment => hiera('cron::environment', []),
276 hour => '1', 276 hour => '1',
277 minute => '0', 277 minute => '0',
278 user => 'root', 278 user => 'root',
279 } 279 }
280 } 280 }
281 281
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld