OLD | NEW |
1 node 'issues1' { | 1 node 'issues1' { |
2 | 2 |
3 include base, private::trac | 3 include 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 } |
11 | 11 |
12 trac::instance {'issues': | 12 trac::instance {'issues': |
13 config => 'trac/trac.ini.erb', | 13 config => 'trac/trac.ini.erb', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 user => trac, | 52 user => trac, |
53 minute => '*/30', | 53 minute => '*/30', |
54 command => "mysql -utrac -p'${private::trac::database_password}' trac_orders
--execute ' \ | 54 command => "mysql -utrac -p'${private::trac::database_password}' trac_orders
--execute ' \ |
55 INSERT INTO session_attribute (sid, authenticated, name, value) SELECT sid
, authenticated, name, value \ | 55 INSERT INTO session_attribute (sid, authenticated, name, value) SELECT sid
, authenticated, name, value \ |
56 FROM trac.session_attribute WHERE authenticated = 1 AND name IN (\"email\"
, \"password\") \ | 56 FROM trac.session_attribute WHERE authenticated = 1 AND name IN (\"email\"
, \"password\") \ |
57 ON DUPLICATE KEY UPDATE value=VALUES(value) ' >/dev/null | 57 ON DUPLICATE KEY UPDATE value=VALUES(value) ' >/dev/null |
58 ", | 58 ", |
59 require => Exec['trac_auth_cookie_view'], | 59 require => Exec['trac_auth_cookie_view'], |
60 } | 60 } |
61 | 61 |
62 class {'nagios::client': | |
63 server_address => 'monitoring.adblockplus.org' | |
64 } | |
65 } | 62 } |
OLD | NEW |