From 5c2b9e201f65d04252a86b1ad89d756f3e73792f Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 13 Feb 2018 16:34:47 +0000 Subject: Add new introduced and description resource properties to many resource Not all of them, but a good chunk. Signed-off-by: Tim Smith --- lib/chef/resource/ifconfig.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/chef/resource/ifconfig.rb') diff --git a/lib/chef/resource/ifconfig.rb b/lib/chef/resource/ifconfig.rb index e9ef47d95b..4187c949c4 100644 --- a/lib/chef/resource/ifconfig.rb +++ b/lib/chef/resource/ifconfig.rb @@ -21,8 +21,6 @@ require "chef/resource" class Chef class Resource - # use the ifconfig resource to manage interfaces on *nix systems - # # @example set a static ip on eth1 # ifconfig '33.33.33.80' do # device 'eth1' @@ -30,6 +28,8 @@ class Chef class Ifconfig < Chef::Resource resource_name :ifconfig + description "Use the ifconfig resource to manage interfaces on *nix systems." + state_attrs :inet_addr, :mask default_action :add -- cgit v1.2.1