Re: [EXTERNAL] - [Puppet Users] Installing oracle 19c on windows 10

2024-04-17 Thread tedy banks
Thanks so much, kind stranger. I'm looking into psexec right now

On Thursday 11 April 2024 at 22:46:30 UTC-7 dhei...@opentext.com wrote:

> 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
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> 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.
>

-- 
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/41965c36-69f6-4b05-8bf6-00e1e6624a13n%40googlegroups.com.


[Puppet Users] Installing oracle 19c on windows 10

2024-04-11 Thread tedy banks
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.