Hello all, 
I've upgraded my Puppet installation from 3.8.2 to 4.5.2 and now I have a 
problem with a Powershell command. 
I'm extracting a .zip file to a folder but it doesn't extract anything and 
it gives no Warning/Error. I only have an error when the installation 
process tries to execute the files that should be on the destination folder.
Before the update this was working.

Anyone has any idea what the problem might be?

The manifest portion, where the Powershell command is specified, is 
something like:
exec { "unzip_$id":
    command     => "(new-object -com 
shell.application).Namespace('$unzip_folder').CopyHere((new-object -com 
shell.application).NameSpace('$downloaded_file').Items(), 0x14)", #This 
line was working before the upgrade.
    provider    => powershell,
    logoutput   => true,
    subscribe   => Exec["create_$unzip_folder"],
    refreshonly => true,
   }



Thanks in advanced.
GPL

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5dd2b9f2-3d8a-4fd7-9275-58a8eb6b1ded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to