Puppet Class: firewalld::reload

Defined in:
manifests/reload.pp

Summary

A common point for triggering an intermediary firewalld reload using firewall-cmd

Overview



3
4
5
6
7
8
9
10
11
12
# File 'manifests/reload.pp', line 3

class firewalld::reload {
  assert_private()

  exec { 'firewalld::reload':
    path        => '/usr/bin:/bin',
    command     => 'firewall-cmd --reload',
    onlyif      => 'firewall-cmd --state',
    refreshonly => true,
  }
}