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

Delta Between Two Patch Sets: modules/trac/manifests/init.pp

Issue 5777328449781760: Concept for Trac as issue tracker. (Closed)
Left Patch Set: Adressed typo forgotten in former patch. Created March 6, 2014, 2:49 p.m.
Right Patch Set: Cleaned my working branch and adressed remarks from patch 3. Created March 6, 2014, 5:51 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 | « modules/trac/files/permissions.csv ('k') | modules/trac/templates/site.erb » ('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 class trac( 1 class trac(
2 $domain, 2 $domain,
3 $is_default = false) inherits private::trac { 3 $is_default = false) inherits private::trac {
4 package {['python-mysqldb','python-pip','subversion', 'tofrodos']: 4 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']:
5 ensure => present 5 ensure => present
6 } 6 }
7 7
8 include nginx, spawn-fcgi 8 include nginx, spawn-fcgi
9 9
10 nginx::hostconfig {$domain: 10 nginx::hostconfig {$domain:
11 content => template('trac/site.erb'), 11 content => template('trac/site.erb'),
12 enabled => true 12 enabled => true
13 } 13 }
14 14
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 require => Package['subversion', 'python-pip'], 76 require => Package['subversion', 'python-pip'],
77 unless => "python -c 'import tickettemplate'", 77 unless => "python -c 'import tickettemplate'",
78 } 78 }
79 79
80 exec { 'install_AutocompleteUsers': 80 exec { 'install_AutocompleteUsers':
81 command => "pip install svn+http://trac-hacks.org/svn/autocompleteusersplugi n/trunk/", 81 command => "pip install svn+http://trac-hacks.org/svn/autocompleteusersplugi n/trunk/",
82 require => Package['subversion', 'python-pip'], 82 require => Package['subversion', 'python-pip'],
83 unless => "python -c 'import autocompleteusers'", 83 unless => "python -c 'import autocompleteusers'",
84 } 84 }
85 85
86 package { "graphviz":
87 ensure => "installed"
88 }
Wladimir Palant 2014/03/06 16:01:24 Add this to the list of packages on line 4?
89
90 exec { 'install_MasterTickets': 86 exec { 'install_MasterTickets':
91 command => "pip install svn+http://trac-hacks.org/svn/masterticketsplugin/tr unk/", 87 command => "pip install svn+http://trac-hacks.org/svn/masterticketsplugin/tr unk/",
92 require => Package['subversion', 'python-pip', 'graphviz'], 88 require => Package['subversion', 'python-pip', 'graphviz'],
93 unless => "python -c 'import mastertickets'", 89 unless => "python -c 'import mastertickets'",
94 } 90 }
95 91
96 file {"/home/trac/environment/conf/trac.ini": 92 file {"/home/trac/environment/conf/trac.ini":
97 ensure => present, 93 ensure => present,
98 content => template('trac/trac.ini.erb'), 94 content => template('trac/trac.ini.erb'),
99 owner => trac, 95 owner => trac,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 require => Exec['deploy'], 134 require => Exec['deploy'],
139 } 135 }
140 136
141 file {"/home/trac/permissions.csv": 137 file {"/home/trac/permissions.csv":
142 ensure => present, 138 ensure => present,
143 owner => trac, 139 owner => trac,
144 source => 'puppet:///modules/trac/permissions.csv' 140 source => 'puppet:///modules/trac/permissions.csv'
145 } 141 }
146 142
147 } 143 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld