summaryrefslogtreecommitdiff
path: root/lib/chef/resource/route.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/route.rb')
-rw-r--r--lib/chef/resource/route.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/route.rb b/lib/chef/resource/route.rb
index 922535f885..63079f997a 100644
--- a/lib/chef/resource/route.rb
+++ b/lib/chef/resource/route.rb
@@ -21,11 +21,12 @@ require "chef/resource"
class Chef
class Resource
- # Use the route resource to manage the system routing table in a Linux environment.
class Route < Chef::Resource
default_action :add
allowed_actions :add, :delete
+ description "Use the route resource to manage the system routing table in a Linux environment."
+
property :target, String, identity: true, name_property: true
property :netmask, [String, nil]
property :gateway, [String, nil]