Projet

Général

Profil

Révision 13f4e4c6

ID13f4e4c6c32f04ede16f32c4f28e0801fe32df06
Parent b3040dd8
Enfant c868cae3

Ajouté par Steve Traylen il y a plus de 4 ans

Docs for nftables::set

Voir les différences:

manifests/set.pp
1
# manage a named set
1
# @summary  manage a named set
2
#
3
# @example simple set
4
#  nftables::set{'my_set':
5
#    type       => 'ipv4_addr',
6
#    flags      => ['interval'],
7
#    elements   => ['192.168.0.1/24', '10.0.0.2'],
8
#    auto_merge => true,
9
#  }
10
#
11
# @param ensure should the set be created.
12
# @param setname name of set, equal to to title.
13
# @param order concat ordering.
14
# @param type type of set.
15
# @param table table to add set to.
16
# @param flags specify flags for set
17
# @param timeout timeout in seconds
18
# @param gc_interval garbage collection interval.
19
# @param elements initialize the set with some elements in it.
20
# @param size  limits the maximum number of elements of the set.
21
# @param policy determines set selection policy.
22
# @param auto_merge ?
23
# @param content specify content of set.
24
# @param source specify source of set.
2 25
define nftables::set (
3 26
  Enum['present','absent'] $ensure = 'present',
4 27
  Pattern[/^[-a-zA-Z0-9_]+$/] $setname = $title,

Formats disponibles : Unified diff