| OLD | NEW |
| 1 class trac( | 1 class trac( |
| 2 $domain, | 2 $domain, |
| 3 $certificate, | 3 $certificate, |
| 4 $private_key, | 4 $private_key, |
| 5 $is_default = false) inherits private::trac { | 5 $is_default = false) inherits private::trac { |
| 6 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']: | 6 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']: |
| 7 ensure => present | 7 ensure => present |
| 8 } | 8 } |
| 9 | 9 |
| 10 include nginx, spawn-fcgi | 10 include nginx, spawn-fcgi |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 unless => "python -c 'import blackmagic'", | 64 unless => "python -c 'import blackmagic'", |
| 65 } | 65 } |
| 66 | 66 |
| 67 exec { 'install_SensitiveTickets': | 67 exec { 'install_SensitiveTickets': |
| 68 command => "pip install svn+http://trac-hacks.org/svn/sensitiveticketsplugin
/trunk/", | 68 command => "pip install svn+http://trac-hacks.org/svn/sensitiveticketsplugin
/trunk/", |
| 69 require => Package['subversion', 'python-pip'], | 69 require => Package['subversion', 'python-pip'], |
| 70 unless => "python -c 'import sensitivetickets'", | 70 unless => "python -c 'import sensitivetickets'", |
| 71 } | 71 } |
| 72 | 72 |
| 73 exec { 'install_AccountManager': | 73 exec { 'install_AccountManager': |
| 74 command => "pip install svn+http://trac-hacks.org/svn/accountmanagerplugin/t
ags/acct_mgr-0.4.3/", | 74 command => "pip install svn+http://trac-hacks.org/svn/accountmanagerplugin/t
ags/acct_mgr-0.4.4/", |
| 75 require => Package['subversion', 'python-pip'], | 75 require => Package['subversion', 'python-pip'], |
| 76 unless => "python -c 'import acct_mgr'", | 76 unless => "python -c 'import acct_mgr'", |
| 77 } | 77 } |
| 78 | 78 |
| 79 exec { 'install_TicketTemplate': | 79 exec { 'install_TicketTemplate': |
| 80 command => "pip install svn+http://trac-hacks.org/svn/tractickettemplateplug
in/0.11/", | 80 command => "pip install svn+http://trac-hacks.org/svn/tractickettemplateplug
in/0.11/", |
| 81 require => Package['subversion', 'python-pip'], | 81 require => Package['subversion', 'python-pip'], |
| 82 unless => "python -c 'import tickettemplate'", | 82 unless => "python -c 'import tickettemplate'", |
| 83 } | 83 } |
| 84 | 84 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 require => Exec['deploy'], | 160 require => Exec['deploy'], |
| 161 } | 161 } |
| 162 | 162 |
| 163 file {"/home/trac/permissions.csv": | 163 file {"/home/trac/permissions.csv": |
| 164 ensure => present, | 164 ensure => present, |
| 165 owner => trac, | 165 owner => trac, |
| 166 source => 'puppet:///modules/trac/permissions.csv' | 166 source => 'puppet:///modules/trac/permissions.csv' |
| 167 } | 167 } |
| 168 | 168 |
| 169 } | 169 } |
| OLD | NEW |