summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguido <guido@bruo.org>2014-12-02 11:41:46 -0300
committerguido <guido@bruo.org>2014-12-02 13:12:58 -0300
commit8578cf78aca62636cd80bf1302d2946f2d62dbfe (patch)
treeb76e72c14f837d4eca427a9b6f43ad006b323b9c
parent172ad4bc7dd5b82629bfa776ec4164f902569fdb (diff)
Use include to avoid redeclaration of class { 'tor::daemon': }. Fixes #6479
Change-Id: Ibd1b1eef7afca10cf2a2d56a24e703636d6a52c6
-rw-r--r--puppet/modules/site_tor/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_tor/manifests/init.pp b/puppet/modules/site_tor/manifests/init.pp
index d14e813d..80ccc5d3 100644
--- a/puppet/modules/site_tor/manifests/init.pp
+++ b/puppet/modules/site_tor/manifests/init.pp
@@ -18,8 +18,8 @@ class site_tor {
else {
$openvpn_ports = []
}
-
- class { 'tor::daemon': }
+
+ include tor::daemon
tor::daemon::relay { $nickname:
port => 9001,
address => $address,