Index: modules/trac/manifests/init.pp |
=================================================================== |
--- a/modules/trac/manifests/init.pp |
+++ b/modules/trac/manifests/init.pp |
@@ -115,16 +115,28 @@ |
} |
exec { 'install_PrivateTickets': |
command => "pip install svn+https://trac-hacks.org/svn/privateticketsplugin/tags/2.0.2/", |
require => Package['subversion', 'python-pip'], |
unless => "python -c 'import privatetickets'", |
} |
+ exec { 'install_TracXMLRPC': |
+ command => 'pip install svn+https://trac-hacks.org/svn/xmlrpcplugin/trunk/', |
+ require => Package['subversion', 'python-pip'], |
+ unless => "python -c 'import tracrpc'", |
+ } |
+ |
+ exec { 'install_TracHTTPAuth': |
+ command => 'pip install svn+https://trac-hacks.org/svn/httpauthplugin/trunk/', |
+ require => Package['subversion', 'python-pip'], |
+ unless => "python -c 'import httpauth'", |
+ } |
+ |
file { '/home/trac/trac.ini': |
ensure => present, |
source => 'puppet:///modules/trac/trac.ini', |
owner => 'trac', |
mode => 644, |
} |
define instance ( |
@@ -205,17 +217,19 @@ |
Exec['install_AccountManager'], |
Exec['install_AutocompleteUsers'], |
Exec['install_TicketTemplate'], |
Exec['install_NeverNotifyUpdater'], |
Exec['install_MasterTickets'], |
Exec['install_ThemeEngine'], |
Exec['install_Tractags'], |
Exec['install_TracSpamFilter'], |
- Exec['install_PrivateTickets']], |
+ Exec['install_PrivateTickets'], |
+ Exec['install_TracXMLRPC'], |
+ Exec['install_TracHTTPAuth']], |
} |
exec {"deploy_$name": |
command => "trac-admin /home/trac/$environment \ |
deploy /home/trac/htdocs-$name \ |
&& fromdos /home/trac/htdocs-$name/cgi-bin/trac.fcgi \ |
&& chmod 755 /home/trac/htdocs-$name/cgi-bin/trac.fcgi", |
user => trac, |