diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-09 21:09:55 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-09 21:09:55 -0700 |
commit | 5b2fd637fde5c3b893db3b76a2e1ce4f2deed80a (patch) | |
tree | 880fb8a9dd9b5cac5bd0c35c88b9016d26ed2419 /lib/chef/resource/hostname.rb | |
parent | 23d33adf3d4c879a67067e52f0850bb510571f28 (diff) | |
download | chef-5b2fd637fde5c3b893db3b76a2e1ce4f2deed80a.tar.gz |
Add missing periods in descriptions
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/hostname.rb')
-rw-r--r-- | lib/chef/resource/hostname.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/resource/hostname.rb b/lib/chef/resource/hostname.rb index f213ae47ad..d4b977bb78 100644 --- a/lib/chef/resource/hostname.rb +++ b/lib/chef/resource/hostname.rb @@ -27,7 +27,7 @@ class Chef introduced "14.0" property :hostname, String, - description: "The hostname if different than the resource's name", + description: "The hostname if different than the resource's name.", name_property: true property :compile_time, [ TrueClass, FalseClass ], @@ -35,15 +35,15 @@ class Chef default: true property :ipaddress, String, - description: "The ip address to use when configuring the hosts file", + description: "The ip address to use when configuring the hosts file.", default: lazy { node["ipaddress"] } property :aliases, [ Array, nil ], - description: "An array of hostname aliases to use when configuring the hosts file", + description: "An array of hostname aliases to use when configuring the hosts file.", default: nil property :windows_reboot, [ TrueClass, FalseClass ], - description: "Should Windows nodes be rebooted upon changing the name so it can take effect", + description: "Should Windows nodes be rebooted upon changing the name so it can take effect.", default: true action_class do @@ -80,7 +80,7 @@ class Chef end action :set do - description "Sets the node's hostname" + description "Sets the node's hostname." if node["platform_family"] != "windows" ohai "reload hostname" do |