diff options
author | Micah Anderson <micah@riseup.net> | 2013-04-04 12:36:24 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-04-04 12:36:24 -0400 |
commit | dc367e53b45349ef849247fc93c664c548c90359 (patch) | |
tree | 14531add8c5bf7ac20f66c9dff0262319b7b0133 /manifests/params.pp | |
parent | 66d918ddb6454fd4a30baed9b49baad98e274243 (diff) |
clean-up commit: lint, standardize spacing, properly enclose variables, etc
Diffstat (limited to 'manifests/params.pp')
-rw-r--r-- | manifests/params.pp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index 8993282..02d5f02 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,23 +1,23 @@ class couchdb::params { - $bind_address = $couchdb_bind_address ? { + $bind_address = $::couchdb_bind_address ? { '' => '127.0.0.1', - default => $couchdb_bind_address, + default => $::couchdb_bind_address, } - $port = $couchdb_port ? { + $port = $::couchdb_port ? { '' => '5984', - default => $couchdb_port, + default => $::couchdb_port, } - $backupdir = $couchdb_backupdir ? { + $backupdir = $::couchdb_backupdir ? { '' => '/var/backups/couchdb', - default => $couchdb_backupdir, + default => $::couchdb_backupdir, } - $cert_path = $couchdb_cert_path ? { - "" => "/etc/couchdb", - default => $couchdb_cert_path, + $cert_path = $::couchdb_cert_path ? { + "" => '/etc/couchdb', + default => $::couchdb_cert_path, } } |