| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |