wls_install::copydomain copies a WebLogic domain with SSH or from a share, unpack and enroll to a nodemanager. When using ssh (use_ssh = true) you need to setup ssh so you won’t need to provide a password.

wls_install::copydomain{"Wls12c":
  version                                => 1212,
  weblogic_home_dir                      => "/opt/oracle/middleware12c/wlserver",
  middleware_home_dir                    => "/opt/oracle/middleware12c",
  jdk_home_dir                           => "/usr/java/jdk1.7.0_45",
  wls_domains_dir                        => "/opt/oracle/domains",
  wls_apps_dir                           => "/opt/oracle/applications",
  domain_name                            => "Wls12c",
  os_user                                => "oracle",
  os_group                               => "dba",
  download_dir                           => "/data/install",
  log_dir                                => "/var/log/weblogic",
  log_output                             => true,
  use_ssh                                => false,
  domain_pack_dir                        => /mnt/fmw_share,
  adminserver_address                    => "10.10.10.10",
  adminserver_port                       => 7001,
  weblogic_user                          => "weblogic",
  weblogic_password                      => "weblogic1",
  setinternalappdeploymentondemandenable => false,
  setconfigbackupenabled                 => true,
  setarchiveconfigurationcount           => 10,
  setconfigurationaudittype              => 'logaudit',
}