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

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

Issue 9495010: Don`t set unused secret_token site setting, set access password (Closed)
Patch Set: Created March 1, 2013, 10:26 a.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 | modules/private-stub/manifests/discourse.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 => $database_password, 7 password_hash => $database_password,
8 db => 'discourse', 8 db => 'discourse',
9 login => true, 9 login => true,
10 superuser => true 10 superuser => true
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 type => 1, 155 type => 1,
156 value => 'Eyeo' 156 value => 'Eyeo'
157 } 157 }
158 158
159 discourse::sitesetting {'company_domain': 159 discourse::sitesetting {'company_domain':
160 ensure => present, 160 ensure => present,
161 type => 1, 161 type => 1,
162 value => 'eyeo.com' 162 value => 'eyeo.com'
163 } 163 }
164 164
165 discourse::sitesetting {'secret_token': 165 discourse::sitesetting {'restrict_access':
166 ensure => present,
167 type => 5,
168 value => 't'
169 }
170
171 discourse::sitesetting {'access_password':
166 ensure => present, 172 ensure => present,
167 type => 1, 173 type => 1,
168 value => $cookie_secret 174 value => $access_password
169 } 175 }
170 176
171 Discourse::Postactiontype <| |> { 177 Discourse::Postactiontype <| |> {
172 require => Exec['/usr/local/bin/init-discourse'] 178 require => Exec['/usr/local/bin/init-discourse']
173 } 179 }
174 180
175 discourse::postactiontype {'bookmark': 181 discourse::postactiontype {'bookmark':
176 ensure => present, 182 ensure => present,
177 id => 1, 183 id => 1,
178 position => 1 184 position => 1
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 source => 'puppet:///modules/discourse/intraforum.adblockplus.org', 282 source => 'puppet:///modules/discourse/intraforum.adblockplus.org',
277 enabled => true 283 enabled => true
278 } 284 }
279 285
280 file {'/etc/logrotate.d/nginx_intraforum.adblockplus.org': 286 file {'/etc/logrotate.d/nginx_intraforum.adblockplus.org':
281 ensure => file, 287 ensure => file,
282 require => Nginx::Hostconfig['intraforum.adblockplus.org'], 288 require => Nginx::Hostconfig['intraforum.adblockplus.org'],
283 source => 'puppet:///modules/discourse/logrotate' 289 source => 'puppet:///modules/discourse/logrotate'
284 } 290 }
285 } 291 }
OLDNEW
« no previous file with comments | « no previous file | modules/private-stub/manifests/discourse.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld