diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-05-30 14:31:15 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-05-30 14:31:15 -0700 |
commit | d9924be2a17e2592c58655830d4e9038db27d887 (patch) | |
tree | 324508b11fd834143f5e0ddd1fa24aef1507c669 /lib/chef/provider/service/simple.rb | |
parent | c80702c741232a5da0d410d4b8770137690430aa (diff) | |
download | chef-d9924be2a17e2592c58655830d4e9038db27d887.tar.gz |
convert shell_out_with_systems_locale to `default_env: true`lcg/remove-shell-out-with-systems-locale
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/service/simple.rb')
-rw-r--r-- | lib/chef/provider/service/simple.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/provider/service/simple.rb b/lib/chef/provider/service/simple.rb index 7b5f75c4b3..3270deb781 100644 --- a/lib/chef/provider/service/simple.rb +++ b/lib/chef/provider/service/simple.rb @@ -83,16 +83,16 @@ class Chef end def start_service - shell_out_with_systems_locale!(@new_resource.start_command) + shell_out!(@new_resource.start_command, default_env: false) end def stop_service - shell_out_with_systems_locale!(@new_resource.stop_command) + shell_out!(@new_resource.stop_command, default_env: false) end def restart_service if @new_resource.restart_command - shell_out_with_systems_locale!(@new_resource.restart_command) + shell_out!(@new_resource.restart_command, default_env: false) else stop_service sleep 1 @@ -101,7 +101,7 @@ class Chef end def reload_service - shell_out_with_systems_locale!(@new_resource.reload_command) + shell_out!(@new_resource.reload_command, default_env: false) end protected |