diff options
author | Thomas Doherty <tom@Thomass-MacBook-Pro-2.local> | 2018-03-01 18:35:09 +0000 |
---|---|---|
committer | Thomas Doherty <tom@Thomass-MacBook-Pro-2.local> | 2018-03-01 18:35:09 +0000 |
commit | 12a02d2206061b0a2baebad96a0e105fd242932d (patch) | |
tree | 18d0c4b70810e403cc22ca06fc023b4645fe11d0 /lib/chef/resource | |
parent | 349786463576380e12bd58478449f1d977a53e00 (diff) | |
download | chef-12a02d2206061b0a2baebad96a0e105fd242932d.tar.gz |
Allow specifying a comment for routes
Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/route.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/route.rb b/lib/chef/resource/route.rb index 63079f997a..ecec56f69a 100644 --- a/lib/chef/resource/route.rb +++ b/lib/chef/resource/route.rb @@ -28,6 +28,7 @@ class Chef description "Use the route resource to manage the system routing table in a Linux environment." property :target, String, identity: true, name_property: true + property :comment, [String, nil] property :netmask, [String, nil] property :gateway, [String, nil] property :device, [String, nil], desired_state: false # Has a partial default in the provider of eth0. |