jhh/firewalld-cookbook

View on GitHub
resources/interface.rb

Summary

Maintainability
A
0 mins
Test Coverage
#
# Cookbook Name:: firewalld
# Provider:: source
#
# Copyright:: 2015, Johnathan Kupferer

# List of all actions supported by provider
actions :add, :change, :remove

# Make change the default action
default_action :change

# Required attributes
attribute :interface, :kind_of => String, :name_attribute => true

# Optional attributes
attribute :zone, :kind_of => String