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

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

Issue 29370642: NoIssue - Fix broken trac dependency (Closed)
Patch Set: Created Jan. 3, 2017, 3 a.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 unless => "python -c 'import trac,sys;sys.exit(0 if trac.__version__ == \"1. 0.1\" else 1)'", 50 unless => "python -c 'import trac,sys;sys.exit(0 if trac.__version__ == \"1. 0.1\" else 1)'",
51 } 51 }
52 52
53 exec { 'install_BlackMagicTicketTweaks': 53 exec { 'install_BlackMagicTicketTweaks':
54 command => "pip install svn+https://trac-hacks.org/svn/blackmagictickettweak splugin/0.12/", 54 command => "pip install svn+https://trac-hacks.org/svn/blackmagictickettweak splugin/0.12/",
55 require => Package['subversion', 'python-pip'], 55 require => Package['subversion', 'python-pip'],
56 unless => "python -c 'import blackmagic'", 56 unless => "python -c 'import blackmagic'",
57 } 57 }
58 58
59 exec { 'install_SensitiveTickets': 59 exec { 'install_SensitiveTickets':
60 command => "pip install svn+https://trac-hacks.org/svn/sensitiveticketsplugi n/trunk/", 60 command => "pip install svn+https://trac-hacks.org/svn/sensitiveticketsplugi n/0.11",
61 require => Package['subversion', 'python-pip'], 61 require => Package['subversion', 'python-pip'],
62 unless => "python -c 'import sensitivetickets'", 62 unless => "python -c 'import sensitivetickets'",
63 } 63 }
64 64
65 exec { 'install_AccountManager': 65 exec { 'install_AccountManager':
66 command => "pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/ tags/acct_mgr-0.4.4/", 66 command => "pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/ tags/acct_mgr-0.4.4/",
67 require => Package['subversion', 'python-pip'], 67 require => Package['subversion', 'python-pip'],
68 unless => "python -c 'import acct_mgr'", 68 unless => "python -c 'import acct_mgr'",
69 } 69 }
70 70
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 # Daily restart required for log rotation of all instances at once 290 # Daily restart required for log rotation of all instances at once
291 cron {'restart-trac-daily': 291 cron {'restart-trac-daily':
292 command => 'service spawn-fcgi restart >/tmp/spawn-fcgi-restart.log', 292 command => 'service spawn-fcgi restart >/tmp/spawn-fcgi-restart.log',
293 environment => hiera('cron::environment', []), 293 environment => hiera('cron::environment', []),
294 hour => '1', 294 hour => '1',
295 minute => '0', 295 minute => '0',
296 user => 'root', 296 user => 'root',
297 } 297 }
298 } 298 }
299 299
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