Installing oracle 19c on windows 10

42 views
Skip to first unread message

tedy banks

unread,
Apr 11, 2024, 12:53:23 PMApr 11
to Puppet Users
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'],

Dirk Heinrichs

unread,
Apr 12, 2024, 1:46:30 AMApr 12
to puppet...@googlegroups.com
Am Donnerstag, dem 11.04.2024 um 09:52 -0700 schrieb tedy banks:

How can i go about doing this ?

You can either use "exec{}" together with "psexec" or a similar tool, or a "scheduled_task{}" that runs once, as Administrator to execute your installation command.

HTH...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

tedy banks

unread,
Apr 17, 2024, 11:45:07 AMApr 17
to Puppet Users
Thanks so much, kind stranger. I'm looking into psexec right now
Reply all
Reply to author
Forward
0 new messages