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

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

Issue 9431166: Make sure to populate post_action_types table (Closed)
Patch Set: Created Feb. 27, 2013, 5:01 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 | modules/discourse/manifests/postactiontype.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 => 'vagrant', 7 password_hash => 'vagrant',
8 db => 'discourse', 8 db => 'discourse',
9 login => true, 9 login => true,
10 superuser => true 10 superuser => true
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 type => 1, 135 type => 1,
136 value => '' 136 value => ''
137 } 137 }
138 138
139 discourse::sitesetting {'use_ssl': 139 discourse::sitesetting {'use_ssl':
140 ensure => present, 140 ensure => present,
141 type => 5, 141 type => 5,
142 value => 't' 142 value => 't'
143 } 143 }
144 144
145 Discourse::Postactiontype <| |> {
146 require => Exec['/usr/local/bin/init-discourse']
147 }
148
149 discourse::postactiontype {'bookmark':
150 ensure => present,
151 id => 1,
152 position => 1
153 }
154
155 discourse::postactiontype {'like':
156 ensure => present,
157 id => 2,
158 position => 2,
159 icon => 'heart'
160 }
161
162 discourse::postactiontype {'off_topic':
163 ensure => present,
164 id => 3,
165 position => 3,
166 is_flag => true
167 }
168
169 discourse::postactiontype {'inappropriate':
170 ensure => present,
171 id => 4,
172 position => 4,
173 is_flag => true
174 }
175
176 discourse::postactiontype {'vote':
177 ensure => present,
178 position => 0,
179 id => 5
180 }
181
182 discourse::postactiontype {'custom_flag':
183 ensure => present,
184 id => 6,
185 position => 7,
186 is_flag => true
187 }
188
189 discourse::postactiontype {'illegal':
190 ensure => present,
191 id => 7,
192 position => 5,
193 is_flag => true
194 }
195
196 discourse::postactiontype {'spam':
197 ensure => present,
198 id => 8,
199 position => 6,
200 is_flag => true
201 }
202
145 discourse::admin {$admins: 203 discourse::admin {$admins:
146 ensure => present, 204 ensure => present,
147 require => Exec['/usr/local/bin/init-discourse'] 205 require => Exec['/usr/local/bin/init-discourse']
148 } 206 }
149 207
150 Discourse::Customservice <| |> { 208 Discourse::Customservice <| |> {
151 user => 'discourse', 209 user => 'discourse',
152 workdir => '/opt/discourse', 210 workdir => '/opt/discourse',
153 env => ['GEM_HOME=~discourse/.gems', 'RAILS_ENV=production'], 211 env => ['GEM_HOME=~discourse/.gems', 'RAILS_ENV=production'],
154 require => Exec['/usr/local/bin/init-discourse'] 212 require => Exec['/usr/local/bin/init-discourse']
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 source => 'puppet:///modules/discourse/intraforum.adblockplus.org', 250 source => 'puppet:///modules/discourse/intraforum.adblockplus.org',
193 enabled => true 251 enabled => true
194 } 252 }
195 253
196 file {'/etc/logrotate.d/nginx_intraforum.adblockplus.org': 254 file {'/etc/logrotate.d/nginx_intraforum.adblockplus.org':
197 ensure => file, 255 ensure => file,
198 require => Nginx::Hostconfig['intraforum.adblockplus.org'], 256 require => Nginx::Hostconfig['intraforum.adblockplus.org'],
199 source => 'puppet:///modules/discourse/logrotate' 257 source => 'puppet:///modules/discourse/logrotate'
200 } 258 }
201 } 259 }
OLDNEW
« no previous file with comments | « no previous file | modules/discourse/manifests/postactiontype.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld