Open johmicd opened 7 years ago
is this a license thing because on domain level you can already de-select it.
correct
I hope you are talking about 12c
I am now doing this, https://github.com/biemond/biemond-orawls/blob/puppet4/templates/weblogic_silent_install_1221.rsp.epp
and use WebLogic Server https://github.com/biemond/biemond-orawls/blob/puppet4/manifests/weblogic_type.pp#L95
what is the correct value for this
sorry but this was version 11 I am working with.
really, that is out of support for a while
https://docs.oracle.com/cd/E23943_01/doc.1111/e14142/silent.htm#WLSIG134
see https://github.com/biemond/biemond-orawls/blob/puppet4/templates/weblogic_silent_install.xml.epp
I don't what is the default because I don't specify it.
I'm currently doing this using a resource collector in our profile to override the file resource in weblogic_type.pp.
$middleware_home_dir = lookup('orawls::weblogic::middleware_home_dir')
$weblogic_home_dir = lookup('orawls::weblogic::weblogic_home_dir')
$download_dir = lookup('orawls::weblogic::download_dir')
$install_type = 'WebLogic Server'
$silent_template = 'profile/oracle/weblogic/weblogic_silent_install.xml.epp'
# Override the file resource that generates the template, and provide the install_type to it.
File <| title == "${download_dir}/weblogic_silent_install_base.xml" |>
{
content => epp($silent_template, {
'middleware_home_dir' => $middleware_home_dir,
'weblogic_home_dir' => $weblogic_home_dir,
'install_type' => $install_type }),
}
weblogic_silent_install.xml.epp
<%- | String $middleware_home_dir,
Optional[String] $install_type = 'WebLogic Server',
Optional[String] $weblogic_home_dir = undef | -%>
<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
<input-fields>
<data-value name="BEAHOME" value="<%= $middleware_home_dir %>" />
<data-value name="WLS_INSTALL_DIR" value="<%= $weblogic_home_dir %>" />
<data-value name="COMPONENT_PATHS" value="<%= $install_type %>" />
</input-fields>
</bea-installer>
install_type is already passed to the template, but it's value is forced to "dummy" in weblogic_type.pp so we need to override that and pass to our custom template.
Not sure if this is really needed anymore.
Any plans to implement custom templates like you do for database?
I need to install with out Coherence.
https://github.com/biemond/biemond-orawls/blob/master/manifests/weblogic_type.pp#L179