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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/private-stub/manifests/discourse.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/discourse/manifests/init.pp
===================================================================
--- a/modules/discourse/manifests/init.pp
+++ b/modules/discourse/manifests/init.pp
@@ -157,20 +157,26 @@ class discourse inherits private::discou
}
discourse::sitesetting {'company_domain':
ensure => present,
type => 1,
value => 'eyeo.com'
}
- discourse::sitesetting {'secret_token':
+ discourse::sitesetting {'restrict_access':
+ ensure => present,
+ type => 5,
+ value => 't'
+ }
+
+ discourse::sitesetting {'access_password':
ensure => present,
type => 1,
- value => $cookie_secret
+ value => $access_password
}
Discourse::Postactiontype <| |> {
require => Exec['/usr/local/bin/init-discourse']
}
discourse::postactiontype {'bookmark':
ensure => present,
« 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