diff options
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/exceptions.rb | 2 | ||||
-rw-r--r-- | lib/chef/shell/ext.rb | 4 | ||||
-rw-r--r-- | lib/chef/version.rb | 2 | ||||
-rw-r--r-- | lib/chef/win32/api/security.rb | 24 |
4 files changed, 16 insertions, 16 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index 7126323ff7..c933841726 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -262,7 +262,7 @@ class Chef class ChildConvergeError < RuntimeError; end - class DeprecatedFeatureError < RuntimeError; + class DeprecatedFeatureError < RuntimeError def initalize(message) super("#{message} (raising error due to treat_deprecation_warnings_as_errors being set)") end diff --git a/lib/chef/shell/ext.rb b/lib/chef/shell/ext.rb index 0c10309521..9e0c3a749c 100644 --- a/lib/chef/shell/ext.rb +++ b/lib/chef/shell/ext.rb @@ -211,8 +211,8 @@ module Shell def version puts "This is the chef-shell.\n" + " Chef Version: #{::Chef::VERSION}\n" + - " http://www.chef.io/\n" + - " http://docs.chef.io/" + " https://www.chef.io/\n" + + " https://docs.chef.io/" :ucanhaz_automation end alias :shell :version diff --git a/lib/chef/version.rb b/lib/chef/version.rb index a7ce6e5361..4e5ac91eb3 100644 --- a/lib/chef/version.rb +++ b/lib/chef/version.rb @@ -21,7 +21,7 @@ class Chef CHEF_ROOT = File.expand_path("../..", __FILE__) - VERSION = "12.17.6" + VERSION = "12.17.8" end # diff --git a/lib/chef/win32/api/security.rb b/lib/chef/win32/api/security.rb index 64df077686..a2cfe35dad 100644 --- a/lib/chef/win32/api/security.rb +++ b/lib/chef/win32/api/security.rb @@ -182,18 +182,18 @@ class Chef MAXDWORD = 0xffffffff # LOGON32 constants for LogonUser - LOGON32_LOGON_INTERACTIVE = 2; - LOGON32_LOGON_NETWORK = 3; - LOGON32_LOGON_BATCH = 4; - LOGON32_LOGON_SERVICE = 5; - LOGON32_LOGON_UNLOCK = 7; - LOGON32_LOGON_NETWORK_CLEARTEXT = 8; - LOGON32_LOGON_NEW_CREDENTIALS = 9; - - LOGON32_PROVIDER_DEFAULT = 0; - LOGON32_PROVIDER_WINNT35 = 1; - LOGON32_PROVIDER_WINNT40 = 2; - LOGON32_PROVIDER_WINNT50 = 3; + LOGON32_LOGON_INTERACTIVE = 2 + LOGON32_LOGON_NETWORK = 3 + LOGON32_LOGON_BATCH = 4 + LOGON32_LOGON_SERVICE = 5 + LOGON32_LOGON_UNLOCK = 7 + LOGON32_LOGON_NETWORK_CLEARTEXT = 8 + LOGON32_LOGON_NEW_CREDENTIALS = 9 + + LOGON32_PROVIDER_DEFAULT = 0 + LOGON32_PROVIDER_WINNT35 = 1 + LOGON32_PROVIDER_WINNT40 = 2 + LOGON32_PROVIDER_WINNT50 = 3 # LSA access policy POLICY_VIEW_LOCAL_INFORMATION = 0x00000001 |