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

Side by Side Diff: modules/trac/manifests/init.pp

Issue 5656503721656320: Issue #614 Avoid tags plugin in Trac being reinstalled every provision time. (Closed)
Patch Set: Created June 3, 2014, 4:31 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 file {"/home/trac/environment/conf/trac.ini": 121 file {"/home/trac/environment/conf/trac.ini":
122 ensure => present, 122 ensure => present,
123 content => template('trac/trac.ini.erb'), 123 content => template('trac/trac.ini.erb'),
124 owner => trac, 124 owner => trac,
125 require => Exec['trac_env'] 125 require => Exec['trac_env']
126 } 126 }
127 127
128 exec { 'install_Tractags': 128 exec { 'install_Tractags':
129 command => "pip install svn+http://trac-hacks.org/svn/tagsplugin/tags/0.7/", 129 command => "pip install svn+http://trac-hacks.org/svn/tagsplugin/tags/0.7/",
130 require => Package['python-pip'], 130 require => Package['python-pip'],
131 unless => "python -c 'import tagsplugin'", 131 unless => "python -c 'import tractags'",
132 } 132 }
133 133
134 file {"/home/trac/htdocs/htdocs/common/adblockplus_logo.png": 134 file {"/home/trac/htdocs/htdocs/common/adblockplus_logo.png":
135 ensure => present, 135 ensure => present,
136 source => 'puppet:///modules/trac/adblockplus_logo.png', 136 source => 'puppet:///modules/trac/adblockplus_logo.png',
137 owner => trac, 137 owner => trac,
138 require => Exec['deploy'] 138 require => Exec['deploy']
139 } 139 }
140 140
141 file {"/home/trac/environment/htdocs/theme.css": 141 file {"/home/trac/environment/htdocs/theme.css":
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 require => Exec['deploy'], 180 require => Exec['deploy'],
181 } 181 }
182 182
183 file {"/home/trac/permissions.csv": 183 file {"/home/trac/permissions.csv":
184 ensure => present, 184 ensure => present,
185 owner => trac, 185 owner => trac,
186 source => 'puppet:///modules/trac/permissions.csv' 186 source => 'puppet:///modules/trac/permissions.csv'
187 } 187 }
188 188
189 } 189 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld