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

Unified Diff: modules/trac/manifests/init.pp

Issue 29337751: Issue 3676 - Install the TracXMLRPC and TracHTTPAuth plugins (Closed)
Patch Set: Created Feb. 26, 2016, 7:36 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/trac/templates/trac.ini.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | modules/trac/templates/trac.ini.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld