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

Delta Between Two Patch Sets: manifests/issuesserver.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, 4:25 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 | « no previous file | modules/trac/files/eyeo_logo.png » ('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 node 'issues1' { 1 node 'issues1' {
2 2
3 include base, private::trac 3 include base, private::trac
4 4
5 class {'trac': 5 class {'trac':
6 domain => 'issues.adblockplus.org', 6 domain => 'issues.adblockplus.org',
7 certificate => 'issues.adblockplus.org_sslcert.pem', 7 certificate => 'issues.adblockplus.org_sslcert.pem',
8 private_key => 'issues.adblockplus.org_sslcert.key', 8 private_key => 'issues.adblockplus.org_sslcert.key',
9 is_default => true, 9 is_default => true,
10 } 10 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 # Unfortunately, the spawn-fcgi module is not capable of stopping the 73 # Unfortunately, the spawn-fcgi module is not capable of stopping the
74 # processes of pools that are changed to absent - simply because it removes 74 # processes of pools that are changed to absent - simply because it removes
75 # the configuration file and the subsequent reload or restart does not 75 # the configuration file and the subsequent reload or restart does not
76 # recognize the pool any more. Thus, we have to ensure that the service is 76 # recognize the pool any more. Thus, we have to ensure that the service is
77 # stopped before: 77 # stopped before:
78 exec { 'tracd_kludge': 78 exec { 'tracd_kludge':
79 command => 'service spawn-fcgi stop', 79 command => 'service spawn-fcgi stop',
80 onlyif => 'service spawn-fcgi status', 80 onlyif => 'service spawn-fcgi status',
81 path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 81 path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
82 notify => Service['spawn-fcgi'],
82 } 83 }
83 84
84 # Pretty similar to the "tracd" pool issue above: The trac-admin initenv 85 # Pretty similar to the "tracd" pool issue above: The trac-admin initenv
85 # command would fail for environment-issues after creation of the directory 86 # command would fail for environment-issues after creation of the directory
86 # structure, when it comes to the database setup (which already exists), 87 # structure, when it comes to the database setup (which already exists),
87 # if we do not handle the existing resources manually.. 88 # if we do not handle the existing resources manually..
88 exec { 'trac_env_issues_kludge': 89 exec { 'trac_env_issues_kludge':
89 command => 'ln -s environment /home/trac/environment-issues', 90 command => 'ln -s environment /home/trac/environment-issues',
90 before => Exec['trac_env_issues'], 91 before => Exec['trac_env_issues'],
91 path => "/usr/bin:/bin", 92 path => "/usr/bin:/bin",
92 user => trac, 93 user => trac,
93 onlyif => 'test -d /home/trac/environment', 94 onlyif => 'test -d /home/trac/environment && \
95 test ! -e /home/trac/environment-issues',
94 require => User['trac'], 96 require => User['trac'],
95 } 97 }
96 98
97 class {'nagios::client': 99 class {'nagios::client':
98 server_address => 'monitoring.adblockplus.org' 100 server_address => 'monitoring.adblockplus.org'
99 } 101 }
100 } 102 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld