aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-11Align all fat arrows in resource’s attribute/value list.intrigeri
Puppet style guide "9.2. Arrow Alignment" reads: "All of the fat comma arrows (=>) in a resource’s attribute/value list should be aligned. The arrows should be placed one space ahead of the longest attribute name."
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-11-09Merge remote-tracking branch 'immerda/master'intrigeri
Conflicts: manifests/init.pp manifests/polipo.pp manifests/polipo/base.pp manifests/torsocks.pp
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-03fix template syntax errorMicah Anderson
2012-08-03add $cookie_authentication, $cookie_auth_file and ↵Micah Anderson
$cookie_auth_file_group_readable variables
2012-08-03change location of control port in munin graphs, now thatMicah Anderson
/usr/share/tor/tor-service-defaults-torrc exists and contains: CookieAuthentication 1 CookieAuthFileGroupReadable 1 CookieAuthFile /var/run/tor/control.authcookie
2012-07-30add README, including information about the transition information regarding ↵Micah Anderson
the bandwidth parameters
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-06-08add a compact classmh
mainly to give a way to have the old behavior
2012-06-08Move Polipo configuration files to a dedicated directory.intrigeri
2012-06-08Factor out Polipo into base and Debian -specific classes.intrigeri
2012-06-08Decouple torsocks into its own class.intrigeri
immerda's big decoupling commit (8f1d1c4) is too hard to apply in one shot in the current state of the shared branch, so let's pick bits of it one after the other.
2012-06-05new style for 2.7mh
2012-04-26Merge branch 'bugfix/outbound_bindaddresses-default'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-04-11enable service on bootmh
Conflicts: manifests/init.pp
2012-04-11this file should be deployed after the package have been installed, as it ↵mh
replaces the file from the cronjob Conflicts: manifests/init.pp
2012-04-11Don't manage /etc/polipo: it's shipped by the polipo package.intrigeri
2012-04-11Do not ensure the privoxy package is uninstalled.mh
this should be done in a seperate module and is not really needed here Conflicts: manifests/init.pp
2012-03-14Merge remote-tracking branch 'riseup/master'intrigeri
2012-03-14fix torc.relay.erb outboundaddress/outboundaddresses confusionMicah Anderson
2012-03-14fix duplicate definition of torssocksMicah Anderson
2012-03-14outbound_bindaddress should be outbound_bindaddresses and ↵Micah Anderson
$outbound_bindaddresses = $listen_addresses
2012-03-14enable different version ensure for torssocks, it doesn't share the same ↵Micah Anderson
version number as tor and tor-geoipdb, so if you set $tor_ensure_version, you will have an error with torsocks
2012-03-14fix package name for tor-geoipdbMicah Anderson
2012-03-14add missing munin plugins that should have been added when the munin.pp was ↵Micah Anderson
created