| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |