Projet

Général

Profil

Révision cc9fc807

IDcc9fc8070f6de59ef4260c14fa340dfc3252a23f
Parent 18ed4d80
Enfant 462a783f

Ajouté par Tim Meusel il y a presque 3 ans

systemctl: Use relative path

Voir les différences:

manifests/init.pp
177 177
    ensure     => running,
178 178
    enable     => true,
179 179
    hasrestart => true,
180
    restart    => '/usr/bin/systemctl reload nftables',
180
    restart    => 'PATH=/usr/bin:/bin systemctl reload nftables',
181 181
  }
182 182

  
183 183
  systemd::dropin_file { 'puppet_nft.conf':
spec/classes/nftables_spec.rb
85 85
          ensure: 'running',
86 86
          enable: true,
87 87
          hasrestart: true,
88
          restart: %r{/usr/bin/systemctl reload nft.*}
88
          restart: %r{PATH=/usr/bin:/bin systemctl reload nft.*}
89 89
        )
90 90
      }
91 91

  

Formats disponibles : Unified diff