| OLD | NEW |
| 1 class discourse inherits private::discourse { | 1 class discourse inherits private::discourse { |
| 2 include postgresql::server | 2 include postgresql::server |
| 3 | 3 |
| 4 postgresql::database {'discourse':} | 4 postgresql::database {'discourse':} |
| 5 | 5 |
| 6 postgresql::role {'discourse': | 6 postgresql::role {'discourse': |
| 7 password_hash => 'vagrant', | 7 password_hash => 'vagrant', |
| 8 db => 'discourse', | 8 db => 'discourse', |
| 9 login => true, | 9 login => true, |
| 10 superuser => true | 10 superuser => true |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 type => 1, | 153 type => 1, |
| 154 value => 'Eyeo' | 154 value => 'Eyeo' |
| 155 } | 155 } |
| 156 | 156 |
| 157 discourse::sitesetting {'company_domain': | 157 discourse::sitesetting {'company_domain': |
| 158 ensure => present, | 158 ensure => present, |
| 159 type => 1, | 159 type => 1, |
| 160 value => 'eyeo.com' | 160 value => 'eyeo.com' |
| 161 } | 161 } |
| 162 | 162 |
| 163 discourse::sitesetting {'secret_token': |
| 164 ensure => present, |
| 165 type => 1, |
| 166 value => $cookie_secret |
| 167 } |
| 168 |
| 163 Discourse::Postactiontype <| |> { | 169 Discourse::Postactiontype <| |> { |
| 164 require => Exec['/usr/local/bin/init-discourse'] | 170 require => Exec['/usr/local/bin/init-discourse'] |
| 165 } | 171 } |
| 166 | 172 |
| 167 discourse::postactiontype {'bookmark': | 173 discourse::postactiontype {'bookmark': |
| 168 ensure => present, | 174 ensure => present, |
| 169 id => 1, | 175 id => 1, |
| 170 position => 1 | 176 position => 1 |
| 171 } | 177 } |
| 172 | 178 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 source => 'puppet:///modules/discourse/intraforum.adblockplus.org', | 274 source => 'puppet:///modules/discourse/intraforum.adblockplus.org', |
| 269 enabled => true | 275 enabled => true |
| 270 } | 276 } |
| 271 | 277 |
| 272 file {'/etc/logrotate.d/nginx_intraforum.adblockplus.org': | 278 file {'/etc/logrotate.d/nginx_intraforum.adblockplus.org': |
| 273 ensure => file, | 279 ensure => file, |
| 274 require => Nginx::Hostconfig['intraforum.adblockplus.org'], | 280 require => Nginx::Hostconfig['intraforum.adblockplus.org'], |
| 275 source => 'puppet:///modules/discourse/logrotate' | 281 source => 'puppet:///modules/discourse/logrotate' |
| 276 } | 282 } |
| 277 } | 283 } |
| OLD | NEW |