4 package { 'onionbalance':
7 service { 'onionbalance':
9 require => Package['onionbalance'],
12 file { '/usr/local/bin/tor-onion-name':
14 source => 'puppet:///modules/onion/tor-onion-name',
17 concat::fragment { 'onion::torrc_control_header':
18 target => "/etc/tor/torrc",
20 content => "ControlPort 9051\n\n",
23 concat { '/etc/onionbalance/config':
24 notify => Service['onionbalance'],
25 require => Package['onionbalance'],
27 concat::fragment { 'onion::balance::config_header':
28 target => "/etc/onionbalance/config",
30 content => "service:\n",