Hi All,
Iam beginner in chef
Wrote a chef cookbook for Symantec installation while upload my cookbook gives Cookbook file has a ruby syntax error:
Iam not sure cookbook is right to password the windows powershell commands
NFS mount is happening
Help me to complete this
My cookbook
execute “directory symantec” do
command “mkdir c:\symantec”
end
execute “map drive” do
command “net use z: \9.1.1.2\var\nfs\general”
end
execute “Copy source” do
command “PowerShell Copy-Item -Recurse “Z:\symantec\Sep_client_12.1_English\Sep-client” -Destination “C:\symantec””
end
execute “Execute the install” do
command “PowerShell Start-Process -FilePath “C:\symantec\Sep-client\Setup.exe” -ArgumentList “/S /v/qn””
end