Sha256: f915c144277a035f19a600c9c20ba93b71808d9e040fb16f863a21462a4d6429

Contents?: true

Size: 379 Bytes

Versions: 3

Compression:

Stored size: 379 Bytes

Contents

unified_mode true

provides :firewalld,
         os: 'linux'

action :install do
  chef_gem 'ruby-dbus'
  require 'dbus'
  package 'firewalld'
end

action :reload do
  service 'firewalld' do
    action :reload
  end
end

action :restart do
  service 'firewalld' do
    action :restart
  end
end

action :disable do
  service 'firewalld' do
    action [:disable, :stop]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cloud-mu-3.6.5 cookbooks/firewall/resources/firewalld.rb
cloud-mu-3.6.4 cookbooks/firewall/resources/firewalld.rb
cloud-mu-3.6.3 cookbooks/firewall/resources/firewalld.rb