Overview

This defined type allows you change a log folder location of a FMW server. Here is an example on how you could use this:

wls_install::fmwlogdir{'AdminServer':
  middleware_home_dir    => "/opt/oracle/middleware11gR1",
  weblogic_user          => "weblogic",
  weblogic_password      => "weblogic1",
  os_user                => "oracle",
  os_group               => "dba",
  download_dir           => "/data/install"
  log_dir                => "/var/log/weblogic"
  adminserver_address    => "localhost",
  adminserver_port       => 7001,
  server                 => "AdminServer",
}

```

Attributes

Attribute Name Short Description
adminserver_address The address of the admin server.
adminserver_port The IP port the admin server is listening on.
download_dir The directory where the Puppet software puts all downloaded files.
log_dir Directory to use for logging.
log_output DEPRECATED This parameter is replaced by ‘logoutput’ and will be removed in a future release.
logoutput log the outputs of Puppet exec or not.
middleware_home_dir Middleware home directory.
os_group The os group used to install and run WebLogic.
os_user The os user used to install and run WebLogic.
server  
userConfigFile  
userKeyFile  
user_config_file  
user_key_file  
weblogic_password The password of the base WebLogic user name.
weblogic_user The base WebLogic username to configure.

middleware_home_dir

Middleware home directory.

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_middleware_home_dir'})

Back to overview of fmwlogdir

adminserver_address

The address of the admin server. May be a DNS name or a physical IP address.

Type: String[1]

Default:lookup({name => 'domain_adminserver_address', default_value => 'localhost'})

Back to overview of fmwlogdir

adminserver_port

The IP port the admin server is listening on.

Type: Integer

Default:lookup({name => 'domain_adminserver_port', default_value => 7001})

Back to overview of fmwlogdir

weblogic_user

The base WebLogic username to configure.

Type: String[1]

Default:lookup({name => 'wls_weblogic_user', default_value => 'weblogic'})

Back to overview of fmwlogdir

weblogic_password

The password of the base WebLogic user name.

Type: Optional[String[1]]

Default:lookup({name => 'domain_wls_password', default_value => undef})

Back to overview of fmwlogdir

user_config_file

Type: Optional[String[1]]

Default:lookup({name => 'domain_user_config_file', default_value => undef})

Back to overview of fmwlogdir

user_key_file

Type: Optional[String[1]]

Default:lookup({name => 'domain_user_key_file', default_value => undef})

Back to overview of fmwlogdir

userConfigFile

Type: Optional[String[1]]

Default:lookup({name => 'domain_user_config_file', default_value => undef})

Back to overview of fmwlogdir

userKeyFile

Type: Optional[String[1]]

Default:lookup({name => 'domain_user_key_file', default_value => undef})

Back to overview of fmwlogdir

os_user

The os user used to install and run WebLogic.

Type: String[1]

Default:lookup({name => 'wls_os_user'})

Back to overview of fmwlogdir

os_group

The os group used to install and run WebLogic.

Type: String[1]

Default:lookup({name => 'wls_os_group'})

Back to overview of fmwlogdir

download_dir

The directory where the Puppet software puts all downloaded files.

Before Puppet can actually use remote files, they must be downloaded first. Puppet uses this directory to put all files in.

The default value is: /install

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_download_dir'})

Back to overview of fmwlogdir

server

Type: String[1]

Default:'AdminServer'

Back to overview of fmwlogdir

log_dir

Directory to use for logging.

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_log_dir', default_value => undef})

Back to overview of fmwlogdir

logoutput

log the outputs of Puppet exec or not.

When you specify true Puppet will log all output of exec types.

Valid values are:

  • true
  • false
  • on_failure

Type: Variant[ Boolean, Enum[ 'on_failure' ] ]

Default:lookup({name => 'logoutput', default_value => 'on_failure'})

Back to overview of fmwlogdir

log_output

DEPRECATED This parameter is replaced by ‘logoutput’ and will be removed in a future release. log the outputs of Puppet exec or not.

When you specify true Puppet will log all output of exec types.

Valid values are:

  • true
  • false
  • on_failure

Type: Optional[ Variant[ Boolean, Enum[ 'on_failure' ] ] ]

Default:undef

Back to overview of fmwlogdir