If you run those commands within a recipe, use "chef-client -l debug"
and you should see the full output of the commands as they're run. My
hunch with shell commands is it's usually related to the environment
the commands are running in and the commands are returning a bogus
error code, so checking them as they run should provide a little more
clarity.
Thanks,
Matt Ray
Director of Partner Integration :: Chef
512.731.2218 :: ">
mattray :: GitHub :: IRC :: Twitter
On Mon, Sep 15, 2014 at 11:03 PM, Ashutosh Narayan
< "> > wrote:
> Hello folks,
>
> I am implementing vCloud director using PowerCLI commands. Now I wish to
> execute those PowerCLI commands using Chef, it seems that the resources are
> executed properly but the commands on vCloud end are not running successfully.
> The PoweCLI scripts are running successfully when I execute them from
> PowerShell promt. I have used "powershell" and "execute" resources, they also
> run successfully, but there is no effect in the vCloud environment.
> Has anyone in the list has tried so ? Any help is appreciated.
>
> Thank you,
> Ashutosh Narayan
Kenneth Barry
Archive powered by MHonArc 2.6.16.