summaryrefslogtreecommitdiff
path: root/puppet/modules/tor/manifests/daemon/snippet.pp
blob: 7e1494c540c69bb38c8a293f84e18a9741226087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Arbitrary torrc snippet definition
define tor::daemon::snippet(
  $content = '',
  $ensure  = present ) {

  concat::fragment { "99.snippet.${name}":
    ensure  => $ensure,
    content => $content,
    order   => 99,
    target  => $tor::daemon::config_file,
  }
}