diff options
author | Tim Smith <tsmith@chef.io> | 2018-09-14 18:07:09 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-09-14 18:07:09 -0700 |
commit | d5fbb32b16e8999ffd7d41c1e078452bd563e5fe (patch) | |
tree | a5243d72cba684cbaf096af83b14c4f5c8e3000e | |
parent | 5334ea0b583755178d82512c88f922cbb0d0588f (diff) | |
download | chef-d5fbb32b16e8999ffd7d41c1e078452bd563e5fe.tar.gz |
Update wording in the locale resource
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/locale.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/resource/locale.rb b/lib/chef/resource/locale.rb index 01a4577c43..bde1ee704e 100644 --- a/lib/chef/resource/locale.rb +++ b/lib/chef/resource/locale.rb @@ -23,7 +23,7 @@ class Chef preview_resource true resource_name :locale - description "Use the locale resource to set the system's locale" + description "Use the locale resource to set the system's locale." introduced "14.5" property :lang, String, @@ -34,7 +34,8 @@ class Chef description: "Sets the fallback system language." action :update do - description "Updates the system locale" + description "Update the system's locale." + if node["init_package"] == "systemd" # on systemd settings LC_ALL is (correctly) reserved only for testing and cannot be set globally execute "localectl set-locale LANG=#{new_resource.lang}" do |