LEFT | RIGHT |
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 Loading... |
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 } |
LEFT | RIGHT |