aboutsummaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
AgeCommit message (Collapse)Author
2013-01-02manage a dedicated control port for muninmh
2013-01-02refactor daemon and main class for better designmh
By extracting the resources to their own class we can avoid a bug in puppet that makes it hard to deal with inherited parametrized classes.
2013-01-02split out defines into their own filesmh
2013-01-02make it working on 2.6 - can't end with a , on 2.6mh
2013-01-02Linting.intrigeri
2012-11-11Cleanup: remove now useless variable.intrigeri
2012-11-11Specify file modes as single-quoted strings.intrigeri
Puppet style guide "9.6. File Modes" reads: In addition, file modes should be specified as single-quoted strings instead of bare word numbers.
2012-11-11Move ensure attributes to the first place.intrigeri
Puppet style guide "9.3. Attribute Ordering" reads: If a resource declaration includes an ensure attribute, it should be the first attribute specified.
2012-11-11Use the concat module instead of the obsolete concatenated_file define.intrigeri
... and cleanup the now unused spool_dir.
2012-11-11Give the debian-tor user /bin/false as a shell.intrigeri
This is the Debian package default, and I've never seen the need to give it a real shell.
2012-11-11Indentation fixes.intrigeri
2012-11-11Quote and enclose in braces variables in strings.intrigeri
Puppet style guide "8. Quoting" reads: "Double quotes should be used when variable interpolation is required. [...] All variables should be enclosed in braces when interpolated in a string."
2012-11-11Use single-quotes for strings that do not contain variables.intrigeri
Puppet style guide, section "8. Quoting", reads: "All strings that do not contain variables should be enclosed in single quotes."
2012-11-11Get a lost part of the fix for outbound_bindaddresses back.intrigeri
The fix was implemented in 8e0dbb0, but apparently I've managed to lose it as part of one of the numerous merge conflicts I've dealt with when merging everyone's branch.
2012-11-11Migrate to parameterized classes, drop global variables.intrigeri
2012-11-09Remove useless comment.intrigeri
2012-08-29Add support for including arbitrary snippet into torrc.intrigeri
2012-08-04Merge remote-tracking branch 'shared/master'intrigeri
Conflicts: manifests/daemon.pp
2012-08-04Merge remote-tracking branch 'riseup/master' into shared-masterintrigeri
2012-08-03add $cookie_authentication, $cookie_auth_file and ↵Micah Anderson
$cookie_auth_file_group_readable variables
2012-07-30switch bandwidth_rate and bandwidth_burst to be relay_bandwidth_rate andMicah Anderson
relay_bandwidth_burst so we can use those variables for their proper tor configuration variables
2012-07-07Remove trailing whitespace from newly added lines.intrigeri
2012-07-07Adding support for MapAddress tor optionSilvio Rhatto
2012-06-19Add support for AutomapHostsOnResolve.intrigeri
2012-06-19Add support for using bridges.intrigeri
2012-06-19Add support for TransPort and TransListenAddress.intrigeri
2012-06-19Add support for DNSPort and DNSListenAddress.intrigeri
2012-06-08The torsocks package does not need the Tor data directory.intrigeri
2012-04-26Fix the relay define's outbound_bindaddresses default value setting.intrigeri
Apparently, we have no guarantee $outbound_bindaddresses's value is set *after* $listen_addresses is, so (at least on my setup) it ends up being undef, and then the template parsing fails: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template tor/torrc.relay.erb: undefined method `each' for :undef:Symbol at /etc/puppet/modules/tor/manifests/daemon.pp:117 So, let's set $real_outbound_bindaddresses to $listen_addresses in the define body, as needed.
2012-03-14outbound_bindaddress should be outbound_bindaddresses and ↵Micah Anderson
$outbound_bindaddresses = $listen_addresses
2012-03-14add ExitPolicyRejectPrivate option to exit_policy defineMicah Anderson
2012-03-14add OutboundBindAddress, default set to $listen_addressMicah Anderson
2012-03-14make sure that the control port's hashed password is not emptyMicah Anderson
2012-03-14minor formatting standardizingMicah Anderson
2012-01-27Use data_dir variable instead of hard-coded path.intrigeri
2012-01-26Use /var/lib/tor as the default Tor data directory.intrigeri
This is the default upstream and Debian one, and I don't see why we would want to diverge.
2012-01-26Make the relay address configurable.intrigeri
2012-01-26Use /bin/sh as a shell for the debian-tor user.intrigeri
The Debian package ships like this, and unless we have a pretty good reason to diverge, we'd better make sure we don't blindly break things.
2012-01-26Replace puppet://$server/... with puppet:///...intrigeri
Rationale: https://labs.riseup.net/code/issues/2460
2012-01-13Fixing dependency on tor serviceSilvio Rhatto
2012-01-11service subscribes to config filedrebs
2012-01-11using concatenated_file_partdrebs
2012-01-11Merge branch 'master' of ssh://git.sarava.org/puppet-tordrebs
2012-01-11socks is always presentdrebs
2012-01-11changing data dir modedrebs
2012-01-11adding htm pagedrebs
2012-01-11fixing parameter pathdrebs
2012-01-11fixing parameter pathdrebs
2012-01-11fixing parameter pathdrebs
2012-01-11fixing parameter pathdrebs