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

Delta Between Two Patch Sets: modules/rietveld/manifests/init.pp

Issue 6651739155464192: Issue 2185 - Migrate Rieveld superuser creation to fixture (Closed)
Left Patch Set: Created March 20, 2015, 11:33 a.m.
Right Patch Set: Issue Issue 2185 - Migrate Rieveld superuser creation to fixture Created March 20, 2015, 12:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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 $fixtures = hiera('rietveld::fixtures', {}),
6 ) inherits private::rietveld { 7 ) inherits private::rietveld {
7 8
8 include nginx 9 include nginx
9 $django_home = '/home/rietveld/django-gae2django' 10 $django_home = '/home/rietveld/django-gae2django'
10 $rietveld_home = "${django_home}/examples/rietveld" 11 $rietveld_home = "${django_home}/examples/rietveld"
11 12
12 Exec { 13 Exec {
13 path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin', 14 path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
14 } 15 }
15 16
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 source => $source, 113 source => $source,
113 owner => 'rietveld', 114 owner => 'rietveld',
114 mode => 0640, 115 mode => 0640,
115 notify => $ensure ? { 116 notify => $ensure ? {
116 present => Exec[$destination], 117 present => Exec[$destination],
117 default => [], 118 default => [],
118 } 119 }
119 } 120 }
120 } 121 }
121 122
122 $fixtures = hiera('rietveld_fixtures', {})
123 create_resources(rietveld::fixture, $fixtures) 123 create_resources(rietveld::fixture, $fixtures)
124 } 124 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld