Projet

Général

Profil

Révision fb65734d

IDfb65734ddb5f6bff284d024a587cd5b85111a923
Parent 83382bb5
Enfant 3a52fb41

Ajouté par Nacho Barrientos il y a plus de 4 ans

s/setname/rulename

Voir les différences:

manifests/simplerule.pp
5 5
  Enum['present','absent']
6 6
    $ensure = 'present',
7 7
  Pattern[/^[-a-zA-Z0-9_]+$/]
8
    $setname = $title,
8
    $rulename = $title,
9 9
  Pattern[/^\d\d$/]
10 10
    $order = '50',
11 11
  String
......
23 23
){
24 24

  
25 25
  if $ensure == 'present' {
26
    nftables::rule{"${chain}-${title}":
26
    nftables::rule{"${chain}-${rulename}":
27 27
      content => epp('nftables/simplerule.epp',
28 28
        {
29 29
          'action'  => $action,

Formats disponibles : Unified diff