diff options
| author | varac <varacanero@zeromail.org> | 2013-02-07 12:32:02 +0100 | 
|---|---|---|
| committer | varac <varacanero@zeromail.org> | 2013-02-07 12:32:02 +0100 | 
| commit | 173b2dc3ecbdab2cacede4e50f6fa3f5daa3c683 (patch) | |
| tree | 37bb3f26e23060858336a5f5e38b5aac2fefc280 | |
| parent | 08720568f7c00373560379e44695b881fff18af1 (diff) | |
configure tor relay nickname
| -rw-r--r-- | puppet/modules/site_tor/manifests/init.pp | 11 | 
1 files changed, 6 insertions, 5 deletions
| diff --git a/puppet/modules/site_tor/manifests/init.pp b/puppet/modules/site_tor/manifests/init.pp index 654337c7..dc16f91a 100644 --- a/puppet/modules/site_tor/manifests/init.pp +++ b/puppet/modules/site_tor/manifests/init.pp @@ -1,15 +1,16 @@  class site_tor {    tag 'leap_service' -  $tor = hiera('tor') +  $tor            = hiera('tor')    $bandwidth_rate = $tor['bandwidth_rate'] -  $tor_type = $tor['type'] +  $tor_type       = $tor['type'] +  $nickname       = $tor['nickname'] -  $contact_email = hiera('contact_email') -  $address       = hiera('ip_address') +  $contact_email  = hiera('contact_email') +  $address        = hiera('ip_address')    class { 'tor::daemon': } -  tor::daemon::relay { $::hostname: +  tor::daemon::relay { $nickname:      port             => 9001,      address          => $address,      contact_info     => $contact_email, | 
