diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chef-apply | 4 | ||||
-rwxr-xr-x | bin/chef-client | 6 | ||||
-rwxr-xr-x | bin/chef-service-manager | 10 | ||||
-rwxr-xr-x | bin/chef-shell | 2 | ||||
-rwxr-xr-x | bin/chef-solo | 4 | ||||
-rwxr-xr-x | bin/chef-windows-service | 6 | ||||
-rwxr-xr-x | bin/knife | 4 |
7 files changed, 18 insertions, 18 deletions
diff --git a/bin/chef-apply b/bin/chef-apply index c617129aa3..5d857167ae 100755 --- a/bin/chef-apply +++ b/bin/chef-apply @@ -18,8 +18,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'rubygems' +require "rubygems" $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -require 'chef/application/apply' +require "chef/application/apply" Chef::Application::Apply.new.run diff --git a/bin/chef-client b/bin/chef-client index 5b2b058f91..6f4f4d8b04 100755 --- a/bin/chef-client +++ b/bin/chef-client @@ -18,9 +18,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'rubygems' +require "rubygems" $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -require 'chef' -require 'chef/application/client' +require "chef" +require "chef/application/client" Chef::Application::Client.new.run diff --git a/bin/chef-service-manager b/bin/chef-service-manager index 43d9c8a933..9bdd244e1d 100755 --- a/bin/chef-service-manager +++ b/bin/chef-service-manager @@ -18,19 +18,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'rubygems' +require "rubygems" $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -require 'chef' -require 'chef/application/windows_service_manager' +require "chef" +require "chef/application/windows_service_manager" if Chef::Platform.windows? chef_client_service = { :service_name => "chef-client", :service_display_name => "Chef Client Service", :service_description => "Runs Chef Client on regular, configurable intervals.", - :service_file_path => File.expand_path('../chef-windows-service', $PROGRAM_NAME), + :service_file_path => File.expand_path("../chef-windows-service", $PROGRAM_NAME), :delayed_start => true, - :dependencies => ['Winmgmt'], + :dependencies => ["Winmgmt"], } Chef::Application::WindowsServiceManager.new(chef_client_service).run else diff --git a/bin/chef-shell b/bin/chef-shell index f334635742..9cc7651c70 100755 --- a/bin/chef-shell +++ b/bin/chef-shell @@ -25,7 +25,7 @@ end require "irb" require "irb/completion" -require 'irb/ext/save-history' +require "irb/ext/save-history" $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))) diff --git a/bin/chef-solo b/bin/chef-solo index 958ab21a41..11961f810d 100755 --- a/bin/chef-solo +++ b/bin/chef-solo @@ -18,8 +18,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'rubygems' +require "rubygems" $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -require 'chef/application/solo' +require "chef/application/solo" Chef::Application::Solo.new.run diff --git a/bin/chef-windows-service b/bin/chef-windows-service index 292d5651fc..ffc4676fda 100755 --- a/bin/chef-windows-service +++ b/bin/chef-windows-service @@ -23,10 +23,10 @@ # generate will call that file, and will be registered as # a windows service. -require 'rubygems' +require "rubygems" $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -require 'chef' -require 'chef/application/windows_service' +require "chef" +require "chef/application/windows_service" if Chef::Platform.windows? Chef::Application::WindowsService.mainloop @@ -18,9 +18,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'rubygems' +require "rubygems" $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))) -require 'chef/application/knife' +require "chef/application/knife" Chef::Application::Knife.new.run |