I try to transfer a rpm resource to client nodes via the cookbook_file
resource, but it will only transfer a few MB from the resource.
I get the following output:
- cookbook_file[/apps/omd-1.10-rh61-31.x86_64.rpm] action create
- create new file /apps/omd-1.10-rh61-31.x86_64.rpm
- update content in file /apps/omd-1.10-rh61-31.x86_64.rpm from none
(new content is binary, diff output suppressed)
- change mode from ‘’ to ‘0755’
- change owner from ‘’ to ‘root’
- change group from ‘’ to ‘root’
- restore selinux security context
Do you habe any idea why this won¹t work?
I need to run chef-client in windows machine from one windows machine
winrm/winrs. I had a code chef cookbook like
windows_batch “backup” do
winrs -r:ip_address chef-client
the above code(cookbook) will execute in windows machine from there it
chef-client in another windows machine using winrs but errors occured. I
enabled the winrm in both windows machines
errors like :
STDERR: Winrs error:The WinRM client cannot process the request. If the
authentication scheme is different from Kerberos, or if the client
not joined to a domain, then HTTPS transport must be used or the
machine must be added to the TrustedHosts configuration setting. Use
to configure TrustedHosts. Note that computers in the TrustedHosts list
not be authenticated. You can get more information about that by running
following command: winrm help config.
Connecting to remote server failed with the following error message :
cannot process the request. The following error occured while using
Kerberos authentication: The network path was not found.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port
-The client and remote computers are in different domains and there is
trust between the two domains.
any one help me how to resolve this??