Hello All,

New puppet user here. I'm trying to install oracle on one of our machines 
but it keeps failing because we use the local windows account to install 
dependencies but oracle needs an account with admin access to be installed 
properly.

How can i go about doing this ? Can I grant the local account temp admin 
creds.during the puppet install or something else ?

Here's the code - 
exec { 'oracleinstall':
cwd => $oracle_home,
path => 'C:/Windows/System32',
command => "Start-Process '${oracle_home}/setup.exe' -ArgumentList '-silent 
-waitforcompletion -nowait -responseFile 
${installerpath}/${oracle_version}.rsp' 
-Wait -Verb RunAs",
# command => "setup.exe -silent -waitforcompletion -nowait -responseFile 
${installerpath}/${oracle_version}.rsp",
returns => [0],
logoutput => true,
provider => powershell,
timeout => 8000,
require => Exec['update registry oracle 19'],

-- 
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/8feb43fb-9a8a-4c1e-a650-b9a22432b4b3n%40googlegroups.com.

Reply via email to