Puppet Class: ipsec::service

Defined in:
manifests/service.pp

Summary

Service management class for IPSec

Overview

ipsec::service

Manage the service needed for ipsec operations. Do not include this class on its own.

Parameters:

  • service_name (String)
  • service_restart (String)


7
8
9
10
11
12
13
14
15
16
# File 'manifests/service.pp', line 7

class ipsec::service (
  String $service_name,
  String $service_restart,
) {
  service { $service_name:
    enable    => true,
    hasstatus => false,
    restart   => $service_restart,
  }
}