Index: modules/rietveld/manifests/init.pp |
diff --git a/modules/rietveld/manifests/init.pp b/modules/rietveld/manifests/init.pp |
index ce597b6cb43a20079e98c040b213ef2ef5b28d03..d1dfc8b3ffb4d4f9ce56b8f48f7bb1ff369127a2 100644 |
--- a/modules/rietveld/manifests/init.pp |
+++ b/modules/rietveld/manifests/init.pp |
@@ -1,29 +1,16 @@ |
class rietveld( |
- $domain, |
- $certificate, |
- $private_key, |
- $is_default = false, |
$secret_key = hiera('rietveld::secret_key', ''), |
$admins = hiera('rietveld::admins', []), |
$oauth2_client_id = hiera('rietveld::oauth2_client_id', ''), |
$oauth2_client_secret = hiera('rietveld::oauth2_client_secret', ''), |
) { |
- include nginx |
$rietveld_home = '/opt/rietveld' |
Exec { |
path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin', |
} |
- nginx::hostconfig {$domain: |
- source => 'puppet:///modules/rietveld/site.conf', |
- is_default => $is_default, |
- certificate => $certificate, |
- private_key => $private_key, |
- log => 'access_log_codereview' |
- } |
- |
package {['wget', 'unzip', 'git', 'make', 'patch', 'subversion']: ensure => present} |
user {'rietveld': |