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

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

Issue 6703666383814656: Issue 2187 - Drop class rietveld::private in favor of function hiera() (Closed)
Patch Set: Created March 22, 2015, 9:25 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 | « modules/private-stub/manifests/rietveld.pp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class rietveld( 1 class rietveld(
2 $domain, 2 $domain,
3 $certificate, 3 $certificate,
4 $private_key, 4 $private_key,
5 $is_default = false, 5 $is_default = false,
6 $secret_key = hiera('rietveld::secret_key', ''),
6 $fixtures = hiera('rietveld::fixtures', {}), 7 $fixtures = hiera('rietveld::fixtures', {}),
7 ) inherits private::rietveld { 8 ) {
8 9
9 include nginx 10 include nginx
10 $django_home = '/home/rietveld/django-gae2django' 11 $django_home = '/home/rietveld/django-gae2django'
11 $rietveld_home = "${django_home}/examples/rietveld" 12 $rietveld_home = "${django_home}/examples/rietveld"
12 13
13 Exec { 14 Exec {
14 path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin', 15 path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
15 } 16 }
16 17
17 nginx::hostconfig {$domain: 18 nginx::hostconfig {$domain:
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 mode => 0640, 116 mode => 0640,
116 notify => $ensure ? { 117 notify => $ensure ? {
117 present => Exec[$destination], 118 present => Exec[$destination],
118 default => [], 119 default => [],
119 } 120 }
120 } 121 }
121 } 122 }
122 123
123 create_resources(rietveld::fixture, $fixtures) 124 create_resources(rietveld::fixture, $fixtures)
124 } 125 }
OLDNEW
« no previous file with comments | « modules/private-stub/manifests/rietveld.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld