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

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

Issue 6389439060246528: Issue 2186 - Integrate Django fixture upload with Rietveld (Closed)
Left Patch Set: Created March 20, 2015, 11:28 a.m.
Right Patch Set: Issue 2186 - Integrate Django fixture upload with Rietveld Created March 20, 2015, 12:43 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
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 user => 'rietveld', 113 user => 'rietveld',
113 } 114 }
114 115
115 file {$destination: 116 file {$destination:
116 ensure => $ensure, 117 ensure => $ensure,
117 content => $content, 118 content => $content,
118 source => $source, 119 source => $source,
119 owner => 'rietveld', 120 owner => 'rietveld',
120 mode => 0640, 121 mode => 0640,
121 notify => $ensure ? { 122 notify => $ensure ? {
122 present => Exec[$destination], 123 present => Exec[$destination],
Felix Dahlke 2015/03/21 21:08:52 So, when the fixture changes, the loaddata call is
mathias 2015/03/21 23:16:47 Indeed it does. Of course this is still not meant
123 default => [], 124 default => [],
124 } 125 }
125 } 126 }
126 } 127 }
127 128
128 $fixtures = hiera('rietveld_fixtures', {})
129 create_resources(rietveld::fixture, $fixtures) 129 create_resources(rietveld::fixture, $fixtures)
130 } 130 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld