Class: Chef::Resource::LWRPBase

Inherits:
Chef::Resource show all
Extended by:
Mixin::ConvertToClassName, Mixin::FromFile
Defined in:
lib/chef/resource/lwrp_base.rb

Overview

== Chef::Resource::LWRPBase Base class for LWRP resources. Adds DSL sugar on top of Chef::Resource, so attributes, default action, etc. can be defined with pleasing syntax.

Constant Summary

Constants inherited from Chef::Resource

FORBIDDEN_IVARS, HIDDEN_IVARS

Constants included from Chef::ReservedNames::Win32::API::Error

Chef::ReservedNames::Win32::API::Error::EPT_S_CANT_CREATE, Chef::ReservedNames::Win32::API::Error::EPT_S_CANT_PERFORM_OP, Chef::ReservedNames::Win32::API::Error::EPT_S_INVALID_ENTRY, Chef::ReservedNames::Win32::API::Error::EPT_S_NOT_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCESS_DENIED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCESS_DISABLED_BY_POLICY, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_EXPIRED, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_LOCKED_OUT, Chef::ReservedNames::Win32::API::Error::ERROR_ACCOUNT_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_ACTIVE_CONNECTIONS, Chef::ReservedNames::Win32::API::Error::ERROR_ADAP_HDW_ERR, Chef::ReservedNames::Win32::API::Error::ERROR_ADDRESS_ALREADY_ASSOCIATED, Chef::ReservedNames::Win32::API::Error::ERROR_ADDRESS_NOT_ASSOCIATED, Chef::ReservedNames::Win32::API::Error::ERROR_ALIAS_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_ALLOTTED_SPACE_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_ASSIGNED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_INITIALIZED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_RUNNING_LKG, Chef::ReservedNames::Win32::API::Error::ERROR_ALREADY_WAITING, Chef::ReservedNames::Win32::API::Error::ERROR_APP_WRONG_OS, Chef::ReservedNames::Win32::API::Error::ERROR_ARENA_TRASHED, Chef::ReservedNames::Win32::API::Error::ERROR_ARITHMETIC_OVERFLOW, Chef::ReservedNames::Win32::API::Error::ERROR_ATOMIC_LOCKS_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_AUTHENTICATION_FIREWALL_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_AUTODATASEG_EXCEEDS_64k, Chef::ReservedNames::Win32::API::Error::ERROR_BADDB, Chef::ReservedNames::Win32::API::Error::ERROR_BADKEY, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_ARGUMENTS, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_CONFIGURATION, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DESCRIPTOR_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DEV_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DRIVER, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DRIVER_LEVEL, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_DYNALINK, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_ENVIRONMENT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_EXE_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_IMPERSONATION_LEVEL, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_INHERITANCE_ACL, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_LENGTH, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_LOGON_SESSION_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_NETPATH, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_NET_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_NET_RESP, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PATHNAME, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PIPE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_PROVIDER, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_QUERY_SYNTAX, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_REM_ADAP, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_THREADID_ADDR, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_TOKEN_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_UNIT, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_USERNAME, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_USER_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_BAD_VALIDATION_CLASS, Chef::ReservedNames::Win32::API::Error::ERROR_BEGINNING_OF_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_BOOT_ALREADY_ACCEPTED, Chef::ReservedNames::Win32::API::Error::ERROR_BROKEN_PIPE, Chef::ReservedNames::Win32::API::Error::ERROR_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_BUSY_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_BUS_RESET, Chef::ReservedNames::Win32::API::Error::ERROR_CALLBACK_SUPPLIED_INVALID_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_CALL_NOT_IMPLEMENTED, Chef::ReservedNames::Win32::API::Error::ERROR_CANCELLED, Chef::ReservedNames::Win32::API::Error::ERROR_CANCEL_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_COPY, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_DETECT_DRIVER_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_DETECT_PROCESS_ABORT, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_FIND_WND_CLASS, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_IMPERSONATE, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_MAKE, Chef::ReservedNames::Win32::API::Error::ERROR_CANNOT_OPEN_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_CANTOPEN, Chef::ReservedNames::Win32::API::Error::ERROR_CANTREAD, Chef::ReservedNames::Win32::API::Error::ERROR_CANTWRITE, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_ACCESS_DOMAIN_INFO, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_ACCESS_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_DISABLE_MANDATORY, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_OPEN_ANONYMOUS, Chef::ReservedNames::Win32::API::Error::ERROR_CANT_RESOLVE_FILENAME, Chef::ReservedNames::Win32::API::Error::ERROR_CAN_NOT_COMPLETE, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_ALIVE_NOWAIT, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_MUST_BE_VOLATILE, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_NOT_COMPLETE, Chef::ReservedNames::Win32::API::Error::ERROR_CHILD_WINDOW_MENU, Chef::ReservedNames::Win32::API::Error::ERROR_CIRCULAR_DEPENDENCY, Chef::ReservedNames::Win32::API::Error::ERROR_CLASS_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_CLASS_DOES_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_CLASS_HAS_WINDOWS, Chef::ReservedNames::Win32::API::Error::ERROR_CLIPBOARD_NOT_OPEN, Chef::ReservedNames::Win32::API::Error::ERROR_CLIPPING_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_COLORSPACE_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_COMMITMENT_LIMIT, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTED_OTHER_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_COUNT_LIMIT, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_REFUSED, Chef::ReservedNames::Win32::API::Error::ERROR_CONNECTION_UNAVAIL, Chef::ReservedNames::Win32::API::Error::ERROR_CONTEXT_EXPIRED, Chef::ReservedNames::Win32::API::Error::ERROR_CONTINUE, Chef::ReservedNames::Win32::API::Error::ERROR_CONTROL_ID_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_COUNTER_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_CRC, Chef::ReservedNames::Win32::API::Error::ERROR_CREATE_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_CURRENT_DIRECTORY, Chef::ReservedNames::Win32::API::Error::ERROR_CURRENT_DOMAIN_NOT_ALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_DATABASE_DOES_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_DATATYPE_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_DC_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_DDE_FAIL, Chef::ReservedNames::Win32::API::Error::ERROR_DELETING_ICM_XFORM, Chef::ReservedNames::Win32::API::Error::ERROR_DEPENDENT_SERVICES_RUNNING, Chef::ReservedNames::Win32::API::Error::ERROR_DESTINATION_ELEMENT_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_DESTROY_OBJECT_OF_OTHER_THREAD, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_ALREADY_REMEMBERED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_DOOR_OPEN, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_IN_USE, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_NOT_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_NOT_PARTITIONED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_REINITIALIZATION_NEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_REMOVED, Chef::ReservedNames::Win32::API::Error::ERROR_DEVICE_REQUIRES_CLEANING, Chef::ReservedNames::Win32::API::Error::ERROR_DEV_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_DIFFERENT_SERVICE_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_DIRECTORY, Chef::ReservedNames::Win32::API::Error::ERROR_DIRECT_ACCESS_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_DIR_NOT_EMPTY, Chef::ReservedNames::Win32::API::Error::ERROR_DIR_NOT_ROOT, Chef::ReservedNames::Win32::API::Error::ERROR_DISCARDED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_CHANGE, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_OPERATION_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_RECALIBRATE_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_RESET_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DISK_TOO_FRAGMENTED, Chef::ReservedNames::Win32::API::Error::ERROR_DLL_INIT_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_DLL_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_CONTROLLER_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_CONTROLLER_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_LIMIT_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_DOMAIN_TRUST_INCONSISTENT, Chef::ReservedNames::Win32::API::Error::ERROR_DOWNGRADE_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_DRIVER_BLOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_DRIVE_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_DUPLICATE_SERVICE_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_DUPLICATE_TAG, Chef::ReservedNames::Win32::API::Error::ERROR_DUP_DOMAINNAME, Chef::ReservedNames::Win32::API::Error::ERROR_DUP_FCB, Chef::ReservedNames::Win32::API::Error::ERROR_DUP_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_DYNLINK_FROM_INVALID_RING, Chef::ReservedNames::Win32::API::Error::ERROR_EAS_DIDNT_FIT, Chef::ReservedNames::Win32::API::Error::ERROR_EAS_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_EA_ACCESS_DENIED, Chef::ReservedNames::Win32::API::Error::ERROR_EA_FILE_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_EA_LIST_INCONSISTENT, Chef::ReservedNames::Win32::API::Error::ERROR_EA_TABLE_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_END_OF_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_ENVVAR_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_EOM_OVERFLOW, Chef::ReservedNames::Win32::API::Error::ERROR_EVENTLOG_CANT_START, Chef::ReservedNames::Win32::API::Error::ERROR_EVENTLOG_FILE_CHANGED, Chef::ReservedNames::Win32::API::Error::ERROR_EVENTLOG_FILE_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_EXCEPTION_IN_SERVICE, Chef::ReservedNames::Win32::API::Error::ERROR_EXCL_SEM_ALREADY_OWNED, Chef::ReservedNames::Win32::API::Error::ERROR_EXE_MACHINE_TYPE_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_EXE_MARKED_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_EXTENDED_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_FAILED_SERVICE_CONTROLLER_CONNECT, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_I24, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_NOACTION_REBOOT, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_RESTART, Chef::ReservedNames::Win32::API::Error::ERROR_FAIL_SHUTDOWN, Chef::ReservedNames::Win32::API::Error::ERROR_FCB_UNAVAILABLE, Chef::ReservedNames::Win32::API::Error::ERROR_FILEMARK_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_FILENAME_EXCED_RANGE, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_FILE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_BAD_REGISTERS, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_ID_MARK_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_UNKNOWN_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_FLOPPY_WRONG_CYLINDER, Chef::ReservedNames::Win32::API::Error::ERROR_FULLSCREEN_MODE, Chef::ReservedNames::Win32::API::Error::ERROR_FUNCTION_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_FUNCTION_NOT_CALLED, Chef::ReservedNames::Win32::API::Error::ERROR_GENERIC_NOT_MAPPED, Chef::ReservedNames::Win32::API::Error::ERROR_GEN_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_GLOBAL_ONLY_HOOK, Chef::ReservedNames::Win32::API::Error::ERROR_GRACEFUL_DISCONNECT, Chef::ReservedNames::Win32::API::Error::ERROR_GROUP_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_HANDLE_DISK_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_HANDLE_EOF, Chef::ReservedNames::Win32::API::Error::ERROR_HOOK_NEEDS_HMOD, Chef::ReservedNames::Win32::API::Error::ERROR_HOOK_NOT_INSTALLED, Chef::ReservedNames::Win32::API::Error::ERROR_HOOK_TYPE_NOT_ALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_HOST_DOWN, Chef::ReservedNames::Win32::API::Error::ERROR_HOST_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_HOTKEY_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_HOTKEY_NOT_REGISTERED, Chef::ReservedNames::Win32::API::Error::ERROR_HWNDS_HAVE_DIFF_PARENT, Chef::ReservedNames::Win32::API::Error::ERROR_ICM_NOT_ENABLED, Chef::ReservedNames::Win32::API::Error::ERROR_ILLEGAL_ELEMENT_ADDRESS, Chef::ReservedNames::Win32::API::Error::ERROR_ILL_FORMED_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_INCORRECT_ADDRESS, Chef::ReservedNames::Win32::API::Error::ERROR_INDEX_ABSENT, Chef::ReservedNames::Win32::API::Error::ERROR_INFLOOP_IN_RELOC_CHAIN, Chef::ReservedNames::Win32::API::Error::ERROR_INFO_NOT_AVAIL, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_ALREADY_RUNNING, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_LANGUAGE_UNSUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_LOG_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_NOTUSED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_OPEN_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_REJECTED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PACKAGE_VERSION, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_PLATFORM_UNSUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_REMOTE_DISALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_SERVICE_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_SOURCE_ABSENT, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_SUSPEND, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_TEMP_UNWRITABLE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_TRANSFORM_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_UI_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_INSTALL_USEREXIT, Chef::ReservedNames::Win32::API::Error::ERROR_INSUFFICIENT_BUFFER, Chef::ReservedNames::Win32::API::Error::ERROR_INTERNAL_DB_CORRUPTION, Chef::ReservedNames::Win32::API::Error::ERROR_INTERNAL_DB_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_INTERNAL_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_INTERRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACCEL_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACCESS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACCOUNT_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ACL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ADDRESS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_AT_INTERRUPT_TIME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_BLOCK, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_BLOCK_LENGTH, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CALLGATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CATEGORY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CMM, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COLORINDEX, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COLORSPACE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COMBOBOX_MESSAGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COMMAND_LINE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_COMPUTERNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_CURSOR_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DATATYPE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DLL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DOMAINNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DOMAIN_ROLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DOMAIN_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_DWP_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EA_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EA_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EDIT_HEIGHT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ENVIRONMENT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EVENTNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EVENT_COUNT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_EXE_SIGNATURE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FIELD, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FILTER_PROC, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FLAGS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FLAG_NUMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FORM_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FORM_SIZE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_FUNCTION, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_GROUPNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_GROUP_ATTRIBUTES, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_GW_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HANDLE_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HOOK_FILTER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_HOOK_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ICON_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ID_AUTHORITY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_IMPORT_OF_NON_DLL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_INDEX, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_KEYBOARD_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LB_MESSAGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LEVEL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LIST_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LOGON_HOURS, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_LOGON_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MEMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MENU_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MESSAGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MESSAGEDEST, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MESSAGENAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MINALLOCSIZE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MODULETYPE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MONITOR_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_MSGBOX_STYLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_NETNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_OPLOCK_PROTOCOL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_ORDINAL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_OWNER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PARAMETER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PASSWORDNAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PIXEL_FORMAT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRIMARY_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRINTER_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRINTER_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRINTER_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PRIORITY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_PROFILE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SCROLLBAR_RANGE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SECURITY_DESCR, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SEGDPL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SEGMENT_NUMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SEPARATOR_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVER_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICENAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICE_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICE_CONTROL, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SERVICE_LOCK, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SHARENAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SHOWWIN_COMMAND, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SID, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SIGNAL_NUMBER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SPI_VALUE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_STACKSEG, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_STARTING_CODESEG, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_SUB_AUTHORITY, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TABLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TARGET_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TASK_INDEX, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TASK_NAME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_THREAD_ID, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TIME, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_TRANSFORM, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_USER_BUFFER, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_VERIFY_SWITCH, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_WINDOW_HANDLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_WINDOW_STYLE, Chef::ReservedNames::Win32::API::Error::ERROR_INVALID_WORKSTATION, Chef::ReservedNames::Win32::API::Error::ERROR_IOPL_NOT_ENABLED, Chef::ReservedNames::Win32::API::Error::ERROR_IO_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_IO_INCOMPLETE, Chef::ReservedNames::Win32::API::Error::ERROR_IO_PENDING, Chef::ReservedNames::Win32::API::Error::ERROR_IRQ_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_IS_JOINED, Chef::ReservedNames::Win32::API::Error::ERROR_IS_JOIN_PATH, Chef::ReservedNames::Win32::API::Error::ERROR_IS_JOIN_TARGET, Chef::ReservedNames::Win32::API::Error::ERROR_IS_SUBSTED, Chef::ReservedNames::Win32::API::Error::ERROR_IS_SUBST_PATH, Chef::ReservedNames::Win32::API::Error::ERROR_IS_SUBST_TARGET, Chef::ReservedNames::Win32::API::Error::ERROR_ITERATED_DATA_EXCEEDS_64k, Chef::ReservedNames::Win32::API::Error::ERROR_JOIN_TO_JOIN, Chef::ReservedNames::Win32::API::Error::ERROR_JOIN_TO_SUBST, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_DELETE_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_ENTRY_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_HOOK_SET, Chef::ReservedNames::Win32::API::Error::ERROR_JOURNAL_NOT_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_KEY_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_KEY_HAS_CHILDREN, Chef::ReservedNames::Win32::API::Error::ERROR_KM_DRIVER_BLOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_LABEL_TOO_LONG, Chef::ReservedNames::Win32::API::Error::ERROR_LAST_ADMIN, Chef::ReservedNames::Win32::API::Error::ERROR_LB_WITHOUT_TABSTOPS, Chef::ReservedNames::Win32::API::Error::ERROR_LICENSE_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_LISTBOX_ID_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_LM_CROSS_ENCRYPTION_REQUIRED, Chef::ReservedNames::Win32::API::Error::ERROR_LOCAL_USER_SESSION_KEY, Chef::ReservedNames::Win32::API::Error::ERROR_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_LOCK_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_LOCK_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGIN_TIME_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGIN_WKSTA_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_NOT_GRANTED, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_SESSION_COLLISION, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_SESSION_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_LOGON_TYPE_NOT_GRANTED, Chef::ReservedNames::Win32::API::Error::ERROR_LOG_FILE_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_LUIDS_EXHAUSTED, Chef::ReservedNames::Win32::API::Error::ERROR_MACHINE_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_MAGAZINE_NOT_PRESENT, Chef::ReservedNames::Win32::API::Error::ERROR_MAPPED_ALIGNMENT, Chef::ReservedNames::Win32::API::Error::ERROR_MAX_SESSIONS_REACHED, Chef::ReservedNames::Win32::API::Error::ERROR_MAX_THRDS_REACHED, Chef::ReservedNames::Win32::API::Error::ERROR_MEDIA_CHANGED, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBERS_PRIMARY_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_IN_ALIAS, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_IN_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_NOT_IN_ALIAS, Chef::ReservedNames::Win32::API::Error::ERROR_MEMBER_NOT_IN_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_MENU_ITEM_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_MESSAGE_SYNC_ONLY, Chef::ReservedNames::Win32::API::Error::ERROR_METAFILE_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_META_EXPANSION_TOO_LONG, Chef::ReservedNames::Win32::API::Error::ERROR_MOD_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_MONITORS_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_MORE_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_MORE_WRITES, Chef::ReservedNames::Win32::API::Error::ERROR_MR_MID_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_MUTUAL_AUTH_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_NEGATIVE_SEEK, Chef::ReservedNames::Win32::API::Error::ERROR_NESTING_NOT_ALLOWED, Chef::ReservedNames::Win32::API::Error::ERROR_NETLOGON_NOT_STARTED, Chef::ReservedNames::Win32::API::Error::ERROR_NETNAME_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_NETWORK_ACCESS_DENIED, Chef::ReservedNames::Win32::API::Error::ERROR_NETWORK_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_NETWORK_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_NET_WRITE_FAULT, Chef::ReservedNames::Win32::API::Error::ERROR_NOACCESS, Chef::ReservedNames::Win32::API::Error::ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NOLOGON_SERVER_TRUST_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NONE_MAPPED, Chef::ReservedNames::Win32::API::Error::ERROR_NONPAGED_SYSTEM_RESOURCES, Chef::ReservedNames::Win32::API::Error::ERROR_NON_MDICHILD_WINDOW, Chef::ReservedNames::Win32::API::Error::ERROR_NOTIFY_ENUM_DIR, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ALL_ASSIGNED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_AUTHENTICATED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CHILD_WINDOW, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CONTAINER, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_CURRENT_CTRY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_DOS_DISK, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ENOUGH_MEMORY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ENOUGH_QUOTA, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_ENOUGH_SERVER_MEMORY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_FROZEN, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_JOINED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_LOGGED_ON, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_LOGON_PROCESS, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_OWNER, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_READY, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_REGISTRY_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SAME_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SUBSTED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_NOT_SUPPORTED_ON_SBS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_ASSOCIATION, Chef::ReservedNames::Win32::API::Error::ERROR_NO_CHILD_PROCESS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_DATA, Chef::ReservedNames::Win32::API::Error::ERROR_NO_DATA_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_NO_IMPERSONATION_TOKEN, Chef::ReservedNames::Win32::API::Error::ERROR_NO_INHERITANCE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_ITEMS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_LOGON_SERVERS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_LOG_SPACE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MATCH, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MEDIA_IN_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_DEVICES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_FILES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_ITEMS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_SEARCH_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_MORE_USER_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_NETWORK, Chef::ReservedNames::Win32::API::Error::ERROR_NO_NET_OR_BAD_PATH, Chef::ReservedNames::Win32::API::Error::ERROR_NO_PROC_SLOTS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_QUOTAS_FOR_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_RECOVERY_PROGRAM, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SCROLLBARS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SECURITY_ON_OBJECT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SHUTDOWN_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SIGNAL_SENT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SITENAME, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SPOOL_SPACE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_ALIAS, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_DOMAIN, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_LOGON_SESSION, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_MEMBER, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_PACKAGE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_PRIVILEGE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_SITE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SUCH_USER, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SYSTEM_MENU, Chef::ReservedNames::Win32::API::Error::ERROR_NO_SYSTEM_RESOURCES, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TOKEN, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TRACKING_SERVICE, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TRUST_LSA_SECRET, Chef::ReservedNames::Win32::API::Error::ERROR_NO_TRUST_SAM_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_NO_UNICODE_TRANSLATION, Chef::ReservedNames::Win32::API::Error::ERROR_NO_USER_SESSION_KEY, Chef::ReservedNames::Win32::API::Error::ERROR_NO_VOLUME_ID, Chef::ReservedNames::Win32::API::Error::ERROR_NO_VOLUME_LABEL, Chef::ReservedNames::Win32::API::Error::ERROR_NO_WILDCARD_CHARACTERS, Chef::ReservedNames::Win32::API::Error::ERROR_NT_CROSS_ENCRYPTION_REQUIRED, Chef::ReservedNames::Win32::API::Error::ERROR_NULL_LM_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_OLD_WIN_VERSION, Chef::ReservedNames::Win32::API::Error::ERROR_ONLY_IF_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_OPEN_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_OPEN_FILES, Chef::ReservedNames::Win32::API::Error::ERROR_OPERATION_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_OPLOCK_NOT_GRANTED, Chef::ReservedNames::Win32::API::Error::ERROR_OUT_OF_PAPER, Chef::ReservedNames::Win32::API::Error::ERROR_OUT_OF_STRUCTURES, Chef::ReservedNames::Win32::API::Error::ERROR_OVERRIDE_NOCHANGES, Chef::ReservedNames::Win32::API::Error::ERROR_PAGED_SYSTEM_RESOURCES, Chef::ReservedNames::Win32::API::Error::ERROR_PAGEFILE_QUOTA, Chef::ReservedNames::Win32::API::Error::ERROR_PARTIAL_COPY, Chef::ReservedNames::Win32::API::Error::ERROR_PARTITION_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_PASSWORD_EXPIRED, Chef::ReservedNames::Win32::API::Error::ERROR_PASSWORD_MUST_CHANGE, Chef::ReservedNames::Win32::API::Error::ERROR_PASSWORD_RESTRICTION, Chef::ReservedNames::Win32::API::Error::ERROR_PATCH_PACKAGE_INVALID, Chef::ReservedNames::Win32::API::Error::ERROR_PATCH_PACKAGE_OPEN_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_PATCH_PACKAGE_UNSUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_PATH_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_PATH_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PER_USER_TRUST_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_BUSY, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_LISTENING, Chef::ReservedNames::Win32::API::Error::ERROR_PIPE_NOT_CONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_PKINIT_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_POINT_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_POPUP_ALREADY_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_PORT_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_POSSIBLE_DEADLOCK, Chef::ReservedNames::Win32::API::Error::ERROR_POTENTIAL_FILE_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTER_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTER_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTER_DRIVER_ALREADY_INSTALLED, Chef::ReservedNames::Win32::API::Error::ERROR_PRINTQ_FULL, Chef::ReservedNames::Win32::API::Error::ERROR_PRINT_CANCELLED, Chef::ReservedNames::Win32::API::Error::ERROR_PRIVATE_DIALOG_INDEX, Chef::ReservedNames::Win32::API::Error::ERROR_PRIVILEGE_NOT_HELD, Chef::ReservedNames::Win32::API::Error::ERROR_PROCESS_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_PROC_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PRODUCT_UNINSTALLED, Chef::ReservedNames::Win32::API::Error::ERROR_PRODUCT_VERSION, Chef::ReservedNames::Win32::API::Error::ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_PROFILE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_PROTECTION_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_PROTOCOL_UNREACHABLE, Chef::ReservedNames::Win32::API::Error::ERROR_READ_FAULT, Chef::ReservedNames::Win32::API::Error::ERROR_REDIRECTOR_HAS_OPEN_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_REDIR_PAUSED, Chef::ReservedNames::Win32::API::Error::ERROR_REGISTRY_CORRUPT, Chef::ReservedNames::Win32::API::Error::ERROR_REGISTRY_IO_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_REGISTRY_RECOVERED, Chef::ReservedNames::Win32::API::Error::ERROR_REG_NAT_CONSUMPTION, Chef::ReservedNames::Win32::API::Error::ERROR_RELOC_CHAIN_XEEDS_SEGLIM, Chef::ReservedNames::Win32::API::Error::ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_REMOTE_SESSION_LIMIT_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_REM_NOT_LIST, Chef::ReservedNames::Win32::API::Error::ERROR_REQUEST_ABORTED, Chef::ReservedNames::Win32::API::Error::ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION, Chef::ReservedNames::Win32::API::Error::ERROR_REQ_NOT_ACCEP, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_DATA_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_LANG_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_NAME_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RESOURCE_TYPE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_RETRY, Chef::ReservedNames::Win32::API::Error::ERROR_REVISION_MISMATCH, Chef::ReservedNames::Win32::API::Error::ERROR_RING2SEG_MUST_BE_MOVABLE, Chef::ReservedNames::Win32::API::Error::ERROR_RING2_STACK_IN_USE, Chef::ReservedNames::Win32::API::Error::ERROR_RMODE_APP, Chef::ReservedNames::Win32::API::Error::ERROR_RXACT_COMMIT_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_RXACT_INVALID_STATE, Chef::ReservedNames::Win32::API::Error::ERROR_SAME_DRIVE, Chef::ReservedNames::Win32::API::Error::ERROR_SCOPE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SCREEN_ALREADY_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_SECRET_TOO_LONG, Chef::ReservedNames::Win32::API::Error::ERROR_SECTOR_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SEEK, Chef::ReservedNames::Win32::API::Error::ERROR_SEEK_ON_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_IS_SET, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_OWNER_DIED, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_SEM_USER_LIMIT, Chef::ReservedNames::Win32::API::Error::ERROR_SERIAL_NO_DEVICE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_HAS_OPEN_HANDLES, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_NOT_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVER_SHUTDOWN_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_ALREADY_RUNNING, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_CANNOT_ACCEPT_CTRL, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DATABASE_LOCKED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DEPENDENCY_DELETED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DEPENDENCY_FAIL, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DISABLED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_DOES_NOT_EXIST, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_LOGON_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_MARKED_FOR_DELETE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NEVER_STARTED, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NOT_ACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NOT_IN_EXE, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_NO_THREAD, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_REQUEST_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_SPECIFIC_ERROR, Chef::ReservedNames::Win32::API::Error::ERROR_SERVICE_START_HANG, Chef::ReservedNames::Win32::API::Error::ERROR_SESSION_CREDENTIAL_CONFLICT, Chef::ReservedNames::Win32::API::Error::ERROR_SETCOUNT_ON_BAD_LB, Chef::ReservedNames::Win32::API::Error::ERROR_SETMARK_DETECTED, Chef::ReservedNames::Win32::API::Error::ERROR_SET_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_SET_POWER_STATE_FAILED, Chef::ReservedNames::Win32::API::Error::ERROR_SET_POWER_STATE_VETOED, Chef::ReservedNames::Win32::API::Error::ERROR_SHARING_BUFFER_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_SHARING_PAUSED, Chef::ReservedNames::Win32::API::Error::ERROR_SHARING_VIOLATION, Chef::ReservedNames::Win32::API::Error::ERROR_SHUTDOWN_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::ERROR_SIGNAL_PENDING, Chef::ReservedNames::Win32::API::Error::ERROR_SIGNAL_REFUSED, Chef::ReservedNames::Win32::API::Error::ERROR_SINGLE_INSTANCE_APP, Chef::ReservedNames::Win32::API::Error::ERROR_SMARTCARD_SUBSYSTEM_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_SOME_NOT_MAPPED, Chef::ReservedNames::Win32::API::Error::ERROR_SOURCE_ELEMENT_EMPTY, Chef::ReservedNames::Win32::API::Error::ERROR_SPECIAL_ACCOUNT, Chef::ReservedNames::Win32::API::Error::ERROR_SPECIAL_GROUP, Chef::ReservedNames::Win32::API::Error::ERROR_SPECIAL_USER, Chef::ReservedNames::Win32::API::Error::ERROR_STACK_OVERFLOW, Chef::ReservedNames::Win32::API::Error::ERROR_SUBST_TO_JOIN, Chef::ReservedNames::Win32::API::Error::ERROR_SUBST_TO_SUBST, Chef::ReservedNames::Win32::API::Error::ERROR_SUCCESS, Chef::ReservedNames::Win32::API::Error::ERROR_SUCCESS_REBOOT_INITIATED, Chef::ReservedNames::Win32::API::Error::ERROR_SWAPERROR, Chef::ReservedNames::Win32::API::Error::ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED, Chef::ReservedNames::Win32::API::Error::ERROR_SYSTEM_TRACE, Chef::ReservedNames::Win32::API::Error::ERROR_TAG_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::ERROR_TAG_NOT_PRESENT, Chef::ReservedNames::Win32::API::Error::ERROR_THREAD_1_INACTIVE, Chef::ReservedNames::Win32::API::Error::ERROR_THREAD_ALREADY_IN_TASK, Chef::ReservedNames::Win32::API::Error::ERROR_TIMEOUT, Chef::ReservedNames::Win32::API::Error::ERROR_TIME_SKEW, Chef::ReservedNames::Win32::API::Error::ERROR_TLW_WITH_WSCHILD, Chef::ReservedNames::Win32::API::Error::ERROR_TOKEN_ALREADY_IN_USE, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_CMDS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_CONTEXT_IDS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_LINKS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_LUIDS_REQUESTED, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_MODULES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_MUXWAITERS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_NAMES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_OPEN_FILES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_POSTS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SECRETS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SEMAPHORES, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SEM_REQUESTS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SESS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_SIDS, Chef::ReservedNames::Win32::API::Error::ERROR_TOO_MANY_TCBS, Chef::ReservedNames::Win32::API::Error::ERROR_TRANSFORM_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::ERROR_TRUSTED_DOMAIN_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_TRUSTED_RELATIONSHIP_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_TRUST_FAILURE, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_LOCK_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_MOVE_REPLACEMENT, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_MOVE_REPLACEMENT_2, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_REMOVE_REPLACED, Chef::ReservedNames::Win32::API::Error::ERROR_UNABLE_TO_UNLOAD_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNCERTAIN_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNEXP_NET_ERR, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_COMPONENT, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_FEATURE, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PATCH, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PORT, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRINTER_DRIVER, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRINTPROCESSOR, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRINT_MONITOR, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PRODUCT, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_PROPERTY, Chef::ReservedNames::Win32::API::Error::ERROR_UNKNOWN_REVISION, Chef::ReservedNames::Win32::API::Error::ERROR_UNRECOGNIZED_MEDIA, Chef::ReservedNames::Win32::API::Error::ERROR_UNRECOGNIZED_VOLUME, Chef::ReservedNames::Win32::API::Error::ERROR_UNSUPPORTED_TYPE, Chef::ReservedNames::Win32::API::Error::ERROR_USER_DEFINED_BASE, Chef::ReservedNames::Win32::API::Error::ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED, Chef::ReservedNames::Win32::API::Error::ERROR_USER_EXISTS, Chef::ReservedNames::Win32::API::Error::ERROR_USER_MAPPED_FILE, Chef::ReservedNames::Win32::API::Error::ERROR_USER_PROFILE_LOAD, Chef::ReservedNames::Win32::API::Error::ERROR_VC_DISCONNECTED, Chef::ReservedNames::Win32::API::Error::ERROR_VIOKBD_REQUEST, Chef::ReservedNames::Win32::API::Error::ERROR_WAIT_NO_CHILDREN, Chef::ReservedNames::Win32::API::Error::ERROR_WINDOW_NOT_COMBOBOX, Chef::ReservedNames::Win32::API::Error::ERROR_WINDOW_NOT_DIALOG, Chef::ReservedNames::Win32::API::Error::ERROR_WINDOW_OF_OTHER_THREAD, Chef::ReservedNames::Win32::API::Error::ERROR_WORKING_SET_QUOTA, Chef::ReservedNames::Win32::API::Error::ERROR_WRITE_FAULT, Chef::ReservedNames::Win32::API::Error::ERROR_WRITE_PROTECT, Chef::ReservedNames::Win32::API::Error::ERROR_WRONG_DISK, Chef::ReservedNames::Win32::API::Error::ERROR_WRONG_PASSWORD, Chef::ReservedNames::Win32::API::Error::ERROR_WRONG_TARGET_NAME, Chef::ReservedNames::Win32::API::Error::ERR_TSTDUP, Chef::ReservedNames::Win32::API::Error::ERR_TSTOVFL, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_ALLOCATE_BUFFER, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_ARGUMENT_ARRAY, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_FROM_HMODULE, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_FROM_STRING, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_FROM_SYSTEM, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_IGNORE_INSERTS, Chef::ReservedNames::Win32::API::Error::FORMAT_MESSAGE_MAX_WIDTH_MASK, Chef::ReservedNames::Win32::API::Error::NO_ERROR, Chef::ReservedNames::Win32::API::Error::OR_INVALID_OID, Chef::ReservedNames::Win32::API::Error::OR_INVALID_OXID, Chef::ReservedNames::Win32::API::Error::OR_INVALID_SET, Chef::ReservedNames::Win32::API::Error::RPC_S_ADDRESS_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_ALREADY_LISTENING, Chef::ReservedNames::Win32::API::Error::RPC_S_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::RPC_S_BINDING_HAS_NO_AUTH, Chef::ReservedNames::Win32::API::Error::RPC_S_BINDING_INCOMPLETE, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_CANCELLED, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_FAILED, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_FAILED_DNE, Chef::ReservedNames::Win32::API::Error::RPC_S_CALL_IN_PROGRESS, Chef::ReservedNames::Win32::API::Error::RPC_S_CANNOT_SUPPORT, Chef::ReservedNames::Win32::API::Error::RPC_S_CANT_CREATE_ENDPOINT, Chef::ReservedNames::Win32::API::Error::RPC_S_COMM_FAILURE, Chef::ReservedNames::Win32::API::Error::RPC_S_DUPLICATE_ENDPOINT, Chef::ReservedNames::Win32::API::Error::RPC_S_ENTRY_ALREADY_EXISTS, Chef::ReservedNames::Win32::API::Error::RPC_S_ENTRY_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_ENTRY_TYPE_MISMATCH, Chef::ReservedNames::Win32::API::Error::RPC_S_FP_DIV_ZERO, Chef::ReservedNames::Win32::API::Error::RPC_S_FP_OVERFLOW, Chef::ReservedNames::Win32::API::Error::RPC_S_FP_UNDERFLOW, Chef::ReservedNames::Win32::API::Error::RPC_S_GROUP_MEMBER_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_GRP_ELT_NOT_ADDED, Chef::ReservedNames::Win32::API::Error::RPC_S_GRP_ELT_NOT_REMOVED, Chef::ReservedNames::Win32::API::Error::RPC_S_INCOMPLETE_NAME, Chef::ReservedNames::Win32::API::Error::RPC_S_INTERFACE_NOT_EXPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_INTERFACE_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_INTERNAL_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_ASYNC_CALL, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_ASYNC_HANDLE, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_AUTH_IDENTITY, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_BINDING, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_BOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_ENDPOINT_FORMAT, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NAF_ID, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NAME_SYNTAX, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NETWORK_OPTIONS, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_NET_ADDR, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_OBJECT, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_RPC_PROTSEQ, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_STRING_BINDING, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_STRING_UUID, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_TAG, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_TIMEOUT, Chef::ReservedNames::Win32::API::Error::RPC_S_INVALID_VERS_OPTION, Chef::ReservedNames::Win32::API::Error::RPC_S_MAX_CALLS_TOO_SMALL, Chef::ReservedNames::Win32::API::Error::RPC_S_NAME_SERVICE_UNAVAILABLE, Chef::ReservedNames::Win32::API::Error::RPC_S_NOTHING_TO_EXPORT, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_ALL_OBJS_EXPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_ALL_OBJS_UNEXPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_CANCELLED, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_LISTENING, Chef::ReservedNames::Win32::API::Error::RPC_S_NOT_RPC_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_BINDINGS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_CALL_ACTIVE, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_CONTEXT_AVAILABLE, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_ENDPOINT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_ENTRY_NAME, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_INTERFACES, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_MORE_BINDINGS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_MORE_MEMBERS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_PRINC_NAME, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_PROTSEQS, Chef::ReservedNames::Win32::API::Error::RPC_S_NO_PROTSEQS_REGISTERED, Chef::ReservedNames::Win32::API::Error::RPC_S_OBJECT_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_OUT_OF_RESOURCES, Chef::ReservedNames::Win32::API::Error::RPC_S_PRF_ELT_NOT_ADDED, Chef::ReservedNames::Win32::API::Error::RPC_S_PRF_ELT_NOT_REMOVED, Chef::ReservedNames::Win32::API::Error::RPC_S_PROCNUM_OUT_OF_RANGE, Chef::ReservedNames::Win32::API::Error::RPC_S_PROFILE_NOT_ADDED, Chef::ReservedNames::Win32::API::Error::RPC_S_PROTOCOL_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_PROTSEQ_NOT_FOUND, Chef::ReservedNames::Win32::API::Error::RPC_S_PROTSEQ_NOT_SUPPORTED, Chef::ReservedNames::Win32::API::Error::RPC_S_SEC_PKG_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_S_SEND_INCOMPLETE, Chef::ReservedNames::Win32::API::Error::RPC_S_SERVER_TOO_BUSY, Chef::ReservedNames::Win32::API::Error::RPC_S_SERVER_UNAVAILABLE, Chef::ReservedNames::Win32::API::Error::RPC_S_STRING_TOO_LONG, Chef::ReservedNames::Win32::API::Error::RPC_S_TYPE_ALREADY_REGISTERED, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHN_LEVEL, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHN_SERVICE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHN_TYPE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_AUTHZ_SERVICE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_IF, Chef::ReservedNames::Win32::API::Error::RPC_S_UNKNOWN_MGR_TYPE, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_AUTHN_LEVEL, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_NAME_SYNTAX, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_TRANS_SYN, Chef::ReservedNames::Win32::API::Error::RPC_S_UNSUPPORTED_TYPE, Chef::ReservedNames::Win32::API::Error::RPC_S_UUID_LOCAL_ONLY, Chef::ReservedNames::Win32::API::Error::RPC_S_UUID_NO_ADDRESS, Chef::ReservedNames::Win32::API::Error::RPC_S_WRONG_KIND_OF_BINDING, Chef::ReservedNames::Win32::API::Error::RPC_S_ZERO_DIVIDE, Chef::ReservedNames::Win32::API::Error::RPC_X_BAD_STUB_DATA, Chef::ReservedNames::Win32::API::Error::RPC_X_BYTE_COUNT_TOO_SMALL, Chef::ReservedNames::Win32::API::Error::RPC_X_ENUM_VALUE_OUT_OF_RANGE, Chef::ReservedNames::Win32::API::Error::RPC_X_INVALID_ES_ACTION, Chef::ReservedNames::Win32::API::Error::RPC_X_INVALID_PIPE_OBJECT, Chef::ReservedNames::Win32::API::Error::RPC_X_NO_MORE_ENTRIES, Chef::ReservedNames::Win32::API::Error::RPC_X_NULL_REF_POINTER, Chef::ReservedNames::Win32::API::Error::RPC_X_PIPE_CLOSED, Chef::ReservedNames::Win32::API::Error::RPC_X_PIPE_DISCIPLINE_ERROR, Chef::ReservedNames::Win32::API::Error::RPC_X_PIPE_EMPTY, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CANNOT_GET_CALL_HANDLE, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CHAR_TRANS_OPEN_FAIL, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CHAR_TRANS_SHORT_FILE, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_CONTEXT_DAMAGED, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_HANDLES_MISMATCH, Chef::ReservedNames::Win32::API::Error::RPC_X_SS_IN_NULL_CONTEXT, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_ES_VERSION, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_PIPE_ORDER, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_PIPE_VERSION, Chef::ReservedNames::Win32::API::Error::RPC_X_WRONG_STUB_VERSION, Chef::ReservedNames::Win32::API::Error::SEM_FAILCRITICALERRORS, Chef::ReservedNames::Win32::API::Error::SEM_NOALIGNMENTFAULTEXCEPT, Chef::ReservedNames::Win32::API::Error::SEM_NOGPFAULTERRORBOX, Chef::ReservedNames::Win32::API::Error::SEM_NOOPENFILEERRORBOX, Chef::ReservedNames::Win32::API::Error::S_OK

Constants included from Mixin::ShellOut

Mixin::ShellOut::DEPRECATED_OPTIONS

Class Attribute Summary collapse

Attributes inherited from Chef::Resource

#allowed_actions, #cookbook_name, #declared_type, #default_guard_interpreter, #elapsed_time, #enclosing_provider, #ignore_failure, #not_if_args, #only_if_args, #params, #recipe_name, #retries, #retry_delay, #run_context, #sensitive, #source_line, #updated

Class Method Summary collapse

Methods included from Mixin::FromFile

class_from_file, from_file

Methods included from Mixin::ConvertToClassName

constantize, convert_to_class_name, convert_to_snake_case, filename_to_qualified_string, normalize_snake_case_name, snake_case_basename

Methods inherited from Chef::Resource

#action, action, #action=, action_provider_class, #after_created, allowed_actions, allowed_actions=, #as_json, #cookbook_version, #custom_exception_message, #customize_exception, #declared_key, default_action, default_action=, #defined_at, #delayed_notifications, deprecated_constants, dsl_name, #events, #guard_interpreter, #identity, identity_attr, identity_properties, identity_property, #immediate_notifications, inherited, #initialize, #inspect, #is, json_create, #load_from, #lookup_provider_constant, #method_missing, #name, new_action_provider_class, #node, #noop, #not_if, #notifies, #notifies_delayed, #notifies_immediately, #only_if, properties, property, #property_is_set?, property_type, #provider, #provider=, provider_base, #provider_for_action, provides, provides?, register_deprecated_lwrp_class, #reset_property, #resolve_notification_references, resource_for_node, resource_matching_short_name, #resource_name, resource_name, resource_name=, #resources, #run_action, #should_skip?, sorted_descendants, state_attrs, #state_for_resource_reporter, state_properties, #subscribes, #supports, #supports=, #to_hash, #to_json, #to_s, #to_text, #updated?, #updated_by_last_action, #updated_by_last_action?, use_automatic_resource_name, #validate_action, #validate_resource_spec!

Methods included from Mixin::Provides

#provided_as, #provides, #provides?

Methods included from Mixin::DescendantsTracker

descendants, #descendants, direct_descendants, #direct_descendants, find_descendants_by_name, #find_descendants_by_name, #inherited, store_inherited

Methods included from Mixin::Deprecation

#deprecated_attr, #deprecated_attr_reader, #deprecated_attr_writer, #deprecated_ivar

Methods included from Mixin::ParamsValidate

#lazy, #set_or_return, #validate

Methods included from Mixin::PowershellOut

#powershell_out, #powershell_out!

Methods included from Mixin::WindowsArchitectureHelper

#assert_valid_windows_architecture!, #disable_wow64_file_redirection, #is_i386_process_on_x86_64_windows?, #node_supports_windows_architecture?, #node_windows_architecture, #restore_wow64_file_redirection, #valid_windows_architecture?, #with_os_architecture, #wow64_architecture_override_required?

Methods included from Mixin::ShellOut

#run_command_compatible_options, #shell_out, #shell_out!, #shell_out_with_systems_locale, #shell_out_with_systems_locale!

Methods included from DSL::RebootPending

#reboot_pending?

Methods included from DSL::PlatformIntrospection

#platform?, #platform_family?, #value_for_platform, #value_for_platform_family

Methods included from DSL::RegistryHelper

#registry_data_exists?, #registry_get_subkeys, #registry_get_values, #registry_has_subkeys?, #registry_key_exists?, #registry_value_exists?

Methods included from DSL::DataQuery

#data_bag, #data_bag_item, #search

Methods included from EncryptedDataBagItem::CheckEncrypted

#encrypted?

Constructor Details

This class inherits a constructor from Chef::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Chef::Resource

Class Attribute Details

.loaded_lwrps=(value) ⇒ Object

Sets the attribute loaded_lwrps

Parameters:

  • value

    the value to set the attribute loaded_lwrps to.



44
45
46
# File 'lib/chef/resource/lwrp_base.rb', line 44

def loaded_lwrps=(value)
  @loaded_lwrps = value
end

.run_contextObject

Set the run context on the class. Used to provide access to the node during class definition.



99
100
101
# File 'lib/chef/resource/lwrp_base.rb', line 99

def run_context
  @run_context
end

Class Method Details

.actions(*action_names) ⇒ Object

Adds +action_names+ to the list of valid actions for this resource. Does not include superclass's action list when appending.



81
82
83
84
85
86
87
88
# File 'lib/chef/resource/lwrp_base.rb', line 81

def actions(*action_names)
  action_names = action_names.flatten
  if !action_names.empty? && !@allowed_actions
    self.allowed_actions = ([ :nothing ] + action_names).uniq
  else
    allowed_actions(*action_names)
  end
end

.build_from_file(cookbook_name, filename, run_context) ⇒ Object



46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/chef/resource/lwrp_base.rb', line 46

def build_from_file(cookbook_name, filename, run_context)
  if LWRPBase.loaded_lwrps[filename]
    Chef::Log.info("LWRP resource #{filename} from cookbook #{cookbook_name} has already been loaded!  Skipping the reload.")
    return loaded_lwrps[filename]
  end

  resource_name = filename_to_qualified_string(cookbook_name, filename)

  # We load the class first to give it a chance to set its own name
  resource_class = Class.new(self)
  resource_class.resource_name resource_name.to_sym
  resource_class.run_context = run_context
  resource_class.class_from_file(filename)

  # Make a useful string for the class (rather than <Class:312894723894>)
  resource_class.instance_eval do
    define_singleton_method(:to_s) do
      "LWRP resource #{resource_name} from cookbook #{cookbook_name}"
    end
    define_singleton_method(:inspect) { to_s }
  end

  Chef::Log.debug("Loaded contents of #{filename} into resource #{resource_name} (#{resource_class})")

  LWRPBase.loaded_lwrps[filename] = true

  # Create the deprecated Chef::Resource::LwrpFoo class
  Chef::Resource.register_deprecated_lwrp_class(resource_class, convert_to_class_name(resource_name))
  resource_class
end

.lazy(&block) ⇒ Object



105
106
107
# File 'lib/chef/resource/lwrp_base.rb', line 105

def lazy(&block)
  DelayedEvaluator.new(&block)
end

.nodeObject



101
102
103
# File 'lib/chef/resource/lwrp_base.rb', line 101

def node
  run_context ? run_context.node : nil
end

.valid_actions(*args) ⇒ Object

Deprecated.


92
93
94
95
# File 'lib/chef/resource/lwrp_base.rb', line 92

def valid_actions(*args)
  Chef::Log.warn("`valid_actions' is deprecated, please use allowed_actions `instead'!")
  allowed_actions(*args)
end