summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: ad9486c13e82205e68b7fe63b9f1db461967c028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# manage a strongswan
class strongswan(
  $manage_shorewall = false,
  $monkeysphere_publish_key = false
) {

  class{'monkeysphere':
    publish_key => $monkeysphere_publish_key
  } -> class{'certtool': } -> class{'strongswan::base': }

  if $manage_shorewall {
    include shorewall::rules::ipsec
  }
}