├── .coveralls.yml ├── .fixtures.yml ├── .gitignore ├── .gitlab-ci.yml ├── .pdkignore ├── .project ├── .puppet-lint.rc ├── .pydevproject ├── .rspec ├── .rubocop.yml ├── .travis.yml ├── .yardopts ├── CHANGELOG.md ├── Gemfile ├── License ├── README.markdown ├── Rakefile ├── appveyor.yml ├── data ├── common.yaml └── kernel │ ├── Linux.yaml │ └── SunOS.yaml ├── doc ├── _index.html ├── css │ ├── common.css │ ├── full_list.css │ └── style.css ├── file.README.html ├── frames.html ├── index.html ├── js │ ├── app.js │ ├── full_list.js │ └── jquery.js ├── puppet_class_list.html ├── puppet_classes │ ├── orawls.html │ ├── orawls_3A_3Aurandomfix.html │ └── orawls_3A_3Aweblogic.html ├── puppet_defined_type_list.html ├── puppet_defined_types │ ├── orawls_3A_3Absu.html │ ├── orawls_3A_3Acontrol.html │ ├── orawls_3A_3Acopydomain.html │ ├── orawls_3A_3Adomain.html │ ├── orawls_3A_3Afmw.html │ ├── orawls_3A_3Afmwlogdir.html │ ├── orawls_3A_3Anodemanager.html │ ├── orawls_3A_3Aohs_3A_3Aforwarder.html │ ├── orawls_3A_3Aopatch.html │ ├── orawls_3A_3Aopatchupgrade.html │ ├── orawls_3A_3Aoud_3A_3Acontrol.html │ ├── orawls_3A_3Aoud_3A_3Ainstance.html │ ├── orawls_3A_3Apackdomain.html │ ├── orawls_3A_3Aresourceadapter.html │ ├── orawls_3A_3Astoreuserconfig.html │ ├── orawls_3A_3Autils_3A_3Afmwcluster.html │ ├── orawls_3A_3Autils_3A_3Afmwclusterjrf.html │ ├── orawls_3A_3Autils_3A_3Aforms11gpatch.html │ ├── orawls_3A_3Autils_3A_3Aoimconfig.html │ ├── orawls_3A_3Autils_3A_3Aorainst.html │ ├── orawls_3A_3Autils_3A_3Arcu.html │ ├── orawls_3A_3Autils_3A_3Awebtier.html │ └── orawls_3A_3Aweblogic_type.html ├── puppet_function_list.html ├── puppet_functions_ruby4x │ ├── orawls_3A_3Adomain_exists.html │ ├── orawls_3A_3Afmw_exists.html │ ├── orawls_3A_3Aoim_configured.html │ ├── orawls_3A_3Aopatch_version.html │ ├── orawls_3A_3Aproduct_configured.html │ └── orawls_3A_3Aresource_adapter_exists.html └── top-level-namespace.html ├── files ├── functions │ ├── function_base.py.erb │ ├── wls_get_password.py.erb │ ├── wls_get_realm_path.py.erb │ ├── wls_get_value.py.erb │ └── wls_is_encrypted.py.erb ├── mod_wl_ohs.conf ├── mod_wl_ohs_12c.conf ├── providers │ ├── wls_authentication_provider │ │ ├── create.py.erb │ │ ├── destroy.py.erb │ │ ├── index.py.erb │ │ └── modify.py.erb │ ├── wls_cluster │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_coherence_cluster │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_coherence_server │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_datasource │ │ ├── create.py.erb │ │ ├── destroy.py.erb │ │ ├── index.py.erb │ │ └── modify.py.erb │ ├── wls_deployment │ │ ├── create.py.erb │ │ ├── destroy.py.erb │ │ ├── index.py.erb │ │ └── modify.py.erb │ ├── wls_domain │ │ ├── index.py.erb │ │ └── modify.py.erb │ ├── wls_domain_partition │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_domain_partition_resource_group │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_domain_partition_resource_group_deployment │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_dynamic_cluster │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_exec │ │ └── execute.py.erb │ ├── wls_file_persistence_store │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_foreign_jndi_provider │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_foreign_jndi_provider_link │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_foreign_server │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_foreign_server_object │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_group │ │ ├── create.py.erb │ │ ├── destroy.py.erb │ │ ├── index.py.erb │ │ └── modify.py.erb │ ├── wls_identity_asserter │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jdbc_persistence_store │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_bridge_destination │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_connection_factory │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_module │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_queue │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_quota │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_security_policy │ │ ├── create.py.erb │ │ ├── destroy.py.erb │ │ ├── index.py.erb │ │ └── modify.py.erb │ ├── wls_jms_sort_destination_key │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_subdeployment │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_template │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jms_topic │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_jmsserver │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_machine │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_mail_session │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_messaging_bridge │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_migratable_target │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_multi_datasource │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_resource_group │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_resource_group_template │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_resource_group_template_deployment │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_role │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_saf_error_handler │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_saf_imported_destination │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_saf_imported_destination_object │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_saf_remote_context │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_safagent │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_server │ │ ├── create.py.erb │ │ ├── destroy.py.erb │ │ ├── index.py.erb │ │ └── modify.py.erb │ ├── wls_server_channel │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_server_template │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_server_tlog │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_singleton_service │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_user │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_virtual_host │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_virtual_target │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ ├── wls_workmanager │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb │ └── wls_workmanager_constraint │ │ ├── create_modify.py.erb │ │ ├── destroy.py.erb │ │ └── index.py.erb └── wlst │ ├── checkrcu.py │ ├── common.py.erb │ └── utils.py ├── hiera.yaml ├── lib ├── facter │ └── orawls.rb ├── orawls_core.rb ├── puppet │ ├── functions │ │ └── orawls │ │ │ ├── domain_exists.rb │ │ │ ├── fmw_exists.rb │ │ │ ├── oim_configured.rb │ │ │ ├── opatch_version.rb │ │ │ ├── product_configured.rb │ │ │ └── resource_adapter_exists.rb │ ├── provider │ │ ├── bsu_patch │ │ │ └── bsu_patch.rb │ │ ├── opatch │ │ │ └── opatch.rb │ │ ├── wls_adminserver │ │ │ └── wls_adminserver.rb │ │ ├── wls_authentication_provider │ │ │ └── prefetching.rb │ │ ├── wls_cluster │ │ │ └── simple.rb │ │ ├── wls_coherence_cluster │ │ │ └── simple.rb │ │ ├── wls_coherence_server │ │ │ └── simple.rb │ │ ├── wls_datasource │ │ │ └── simple.rb │ │ ├── wls_deployment │ │ │ └── simple.rb │ │ ├── wls_directory_structure │ │ │ └── wls_directory_structure.rb │ │ ├── wls_domain │ │ │ └── simple.rb │ │ ├── wls_domain_partition │ │ │ └── simple.rb │ │ ├── wls_domain_partition_control │ │ │ └── wls_domain_partition_control.rb │ │ ├── wls_domain_partition_resource_group │ │ │ └── simple.rb │ │ ├── wls_domain_partition_resource_group_deployment │ │ │ └── simple.rb │ │ ├── wls_dynamic_cluster │ │ │ └── simple.rb │ │ ├── wls_exec │ │ │ └── wlst.rb │ │ ├── wls_file_persistence_store │ │ │ └── simple.rb │ │ ├── wls_foreign_jndi_provider │ │ │ └── simple.rb │ │ ├── wls_foreign_jndi_provider_link │ │ │ ├── .identity.rb │ │ │ └── simple.rb │ │ ├── wls_foreign_server │ │ │ └── simple.rb │ │ ├── wls_foreign_server_object │ │ │ └── simple.rb │ │ ├── wls_group │ │ │ └── simple.rb │ │ ├── wls_identity_asserter │ │ │ └── simple.rb │ │ ├── wls_jdbc_persistence_store │ │ │ └── simple.rb │ │ ├── wls_jms_bridge_destination │ │ │ └── simple.rb │ │ ├── wls_jms_connection_factory │ │ │ └── simple.rb │ │ ├── wls_jms_module │ │ │ └── simple.rb │ │ ├── wls_jms_queue │ │ │ └── simple.rb │ │ ├── wls_jms_quota │ │ │ └── simple.rb │ │ ├── wls_jms_security_policy │ │ │ └── simple.rb │ │ ├── wls_jms_sort_destination_key │ │ │ └── simple.rb │ │ ├── wls_jms_subdeployment │ │ │ └── simple.rb │ │ ├── wls_jms_template │ │ │ └── simple.rb │ │ ├── wls_jms_topic │ │ │ └── simple.rb │ │ ├── wls_jmsserver │ │ │ └── simple.rb │ │ ├── wls_machine │ │ │ └── simple.rb │ │ ├── wls_mail_session │ │ │ └── simple.rb │ │ ├── wls_managedserver │ │ │ └── wls_managedserver.rb │ │ ├── wls_messaging_bridge │ │ │ └── simple.rb │ │ ├── wls_migratable_target │ │ │ └── simple.rb │ │ ├── wls_multi_datasource │ │ │ └── simple.rb │ │ ├── wls_ohsserver │ │ │ └── wls_ohsserver.rb │ │ ├── wls_opatch │ │ │ └── prefetching.rb │ │ ├── wls_rcu │ │ │ └── wls_rcu.rb │ │ ├── wls_resource_group │ │ │ └── simple.rb │ │ ├── wls_resource_group_template │ │ │ └── simple.rb │ │ ├── wls_resource_group_template_deployment │ │ │ └── simple.rb │ │ ├── wls_role │ │ │ ├── .identity.rb │ │ │ └── simple.rb │ │ ├── wls_saf_error_handler │ │ │ └── simple.rb │ │ ├── wls_saf_imported_destination │ │ │ └── simple.rb │ │ ├── wls_saf_imported_destination_object │ │ │ └── simple.rb │ │ ├── wls_saf_remote_context │ │ │ └── simple.rb │ │ ├── wls_safagent │ │ │ └── simple.rb │ │ ├── wls_server │ │ │ └── simple.rb │ │ ├── wls_server_channel │ │ │ └── simple.rb │ │ ├── wls_server_template │ │ │ └── simple.rb │ │ ├── wls_server_tlog │ │ │ └── simple.rb │ │ ├── wls_setting │ │ │ └── yaml.rb │ │ ├── wls_singleton_service │ │ │ └── simple.rb │ │ ├── wls_user │ │ │ └── simple.rb │ │ ├── wls_virtual_host │ │ │ └── simple.rb │ │ ├── wls_virtual_target │ │ │ └── simple.rb │ │ ├── wls_workmanager │ │ │ └── simple.rb │ │ └── wls_workmanager_constraint │ │ │ └── simple.rb │ └── type │ │ ├── bsu_patch.rb │ │ ├── opatch.rb │ │ ├── shared │ │ ├── authenticationprovider.rb │ │ ├── balancingpolicy.rb │ │ ├── classpath.rb │ │ ├── client_certificate_enforced.rb │ │ ├── connectionurl.rb │ │ ├── consumptionpaused.rb │ │ ├── custom_identity_alias.rb │ │ ├── custom_identity_privatekey_passphrase.rb │ │ ├── defaulttargeting.rb │ │ ├── deliverymode.rb │ │ ├── deploymenttype.rb │ │ ├── destination_keys.rb │ │ ├── distributed.rb │ │ ├── domain.rb │ │ ├── errordestination.rb │ │ ├── expirationloggingpolicy.rb │ │ ├── expirationpolicy.rb │ │ ├── extraproperties.rb │ │ ├── forwarddelay.rb │ │ ├── frontendhost.rb │ │ ├── frontendhttpport.rb │ │ ├── frontendhttpsport.rb │ │ ├── initialcontextfactory.rb │ │ ├── insertionpaused.rb │ │ ├── jmsmodule.rb │ │ ├── jndiname.rb │ │ ├── jndinames.rb │ │ ├── localpath.rb │ │ ├── log_date_pattern.rb │ │ ├── log_file_min_size.rb │ │ ├── log_filecount.rb │ │ ├── log_number_of_files_limited.rb │ │ ├── log_rotate_logon_startup.rb │ │ ├── log_rotationtype.rb │ │ ├── max_message_size.rb │ │ ├── messagelogging.rb │ │ ├── name.rb │ │ ├── password.rb │ │ ├── planpath.rb │ │ ├── productionpaused.rb │ │ ├── provider_name.rb │ │ ├── quota.rb │ │ ├── realm.rb │ │ ├── redeliverydelay.rb │ │ ├── redeliverylimit.rb │ │ ├── remote.rb │ │ ├── stagingmode.rb │ │ ├── subdeployment.rb │ │ ├── target.rb │ │ ├── targettype.rb │ │ ├── templatename.rb │ │ ├── timeout.rb │ │ ├── timetodeliver.rb │ │ ├── timetolive.rb │ │ ├── two_way_ssl.rb │ │ ├── upload.rb │ │ ├── user_name.rb │ │ ├── versionidentifier.rb │ │ ├── virtual_target.rb │ │ └── wrapdatatypes.rb │ │ ├── wls_adminserver.rb │ │ ├── wls_authentication_provider.rb │ │ ├── wls_authentication_provider │ │ ├── attributes.rb │ │ ├── attributesvalues.rb │ │ ├── authentication_provider_name.rb │ │ ├── control_flag.rb │ │ ├── order.rb │ │ ├── provider_specific.rb │ │ └── providerclassname.rb │ │ ├── wls_cluster.rb │ │ ├── wls_cluster │ │ ├── cluster_name.rb │ │ ├── clusteraddress.rb │ │ ├── datasourceforjobscheduler.rb │ │ ├── frontendhost.rb │ │ ├── frontendhttpport.rb │ │ ├── frontendhttpsport.rb │ │ ├── messagingmode.rb │ │ ├── migration_datasource.rb │ │ ├── migration_table_name.rb │ │ ├── migrationbasis.rb │ │ ├── multicastaddress.rb │ │ ├── multicastport.rb │ │ ├── securereplication.rb │ │ ├── servers.rb │ │ └── unicastbroadcastchannel.rb │ │ ├── wls_coherence_cluster.rb │ │ ├── wls_coherence_cluster │ │ ├── clusteringmode.rb │ │ ├── coherence_cluster_name.rb │ │ ├── multicastaddress.rb │ │ ├── multicastport.rb │ │ ├── storage_enabled.rb │ │ └── unicastport.rb │ │ ├── wls_coherence_server.rb │ │ ├── wls_coherence_server │ │ ├── classpath.rb │ │ ├── coherence_server_name.rb │ │ ├── machine.rb │ │ ├── unicastaddress.rb │ │ └── unicastport.rb │ │ ├── wls_datasource.rb │ │ ├── wls_datasource │ │ ├── connectioncreationretryfrequency.rb │ │ ├── connectionreservetimeoutseconds.rb │ │ ├── datasource_name.rb │ │ ├── datasourcetype.rb │ │ ├── drivername.rb │ │ ├── fanenabled.rb │ │ ├── globaltransactionsprotocol.rb │ │ ├── harvest_trigger_count.rb │ │ ├── inactiveconnectiontimeoutseconds.rb │ │ ├── initialcapacity.rb │ │ ├── initsql.rb │ │ ├── logindelayseconds.rb │ │ ├── maxcapacity.rb │ │ ├── mincapacity.rb │ │ ├── onsnodelist.rb │ │ ├── password.rb │ │ ├── removeinfectedconnections.rb │ │ ├── rowprefetchenabled.rb │ │ ├── rowprefetchsize.rb │ │ ├── secondstotrustidlepoolconnection.rb │ │ ├── shrinkfrequencyseconds.rb │ │ ├── statementcachesize.rb │ │ ├── statementcachetype.rb │ │ ├── statementtimeout.rb │ │ ├── testconnectionsonreserve.rb │ │ ├── testfrequency.rb │ │ ├── testtablename.rb │ │ ├── url.rb │ │ ├── user.rb │ │ ├── usexa.rb │ │ └── xaproperties.rb │ │ ├── wls_deployment.rb │ │ ├── wls_deployment │ │ └── deployment_name.rb │ │ ├── wls_directory_structure.rb │ │ ├── wls_domain.rb │ │ ├── wls_domain │ │ ├── cdi_implicit_bean_discovery_enabled.rb │ │ ├── credential.rb │ │ ├── exalogicoptimizationsenabled.rb │ │ ├── jmx_platform_mbean_server_enabled.rb │ │ ├── jmx_platform_mbean_server_used.rb │ │ ├── jpa_default_provider.rb │ │ ├── jta_max_transactions.rb │ │ ├── jta_transaction_timeout.rb │ │ ├── log_domain_log_broadcast_severity.rb │ │ ├── log_filename.rb │ │ ├── security_crossdomain.rb │ │ ├── setarchiveconfigurationcount.rb │ │ ├── setconfigbackupenabled.rb │ │ ├── setconfigurationaudittype.rb │ │ ├── setinternalappdeploymentondemandenable.rb │ │ ├── web_app_container_show_archived_real_path_enabled.rb │ │ └── weblogic_domain_name.rb │ │ ├── wls_domain_partition.rb │ │ ├── wls_domain_partition │ │ ├── domain_partition_name.rb │ │ └── root_file_system.rb │ │ ├── wls_domain_partition_control.rb │ │ ├── wls_domain_partition_resource_group.rb │ │ ├── wls_domain_partition_resource_group │ │ ├── domain_partition_name.rb │ │ ├── resource_group_name.rb │ │ └── resource_group_template.rb │ │ ├── wls_domain_partition_resource_group_deployment.rb │ │ ├── wls_domain_partition_resource_group_deployment │ │ ├── deployment_name.rb │ │ ├── domain_partition_name.rb │ │ └── resource_group_name.rb │ │ ├── wls_dynamic_cluster.rb │ │ ├── wls_dynamic_cluster │ │ ├── calculated_listen_port.rb │ │ ├── cluster_name.rb │ │ ├── maximum_server_count.rb │ │ ├── nodemanager_match.rb │ │ ├── server_name_prefix.rb │ │ └── server_template_name.rb │ │ ├── wls_exec.rb │ │ ├── wls_exec │ │ ├── cwd.rb │ │ ├── logoutput.rb │ │ ├── refreshonly.rb │ │ ├── statement.rb │ │ └── unless.rb │ │ ├── wls_file_persistence_store.rb │ │ ├── wls_file_persistence_store │ │ ├── directory.rb │ │ └── file_persistence_name.rb │ │ ├── wls_foreign_jndi_provider.rb │ │ ├── wls_foreign_jndi_provider │ │ ├── initial_context_factory.rb │ │ ├── provider_properties.rb │ │ ├── provider_url.rb │ │ └── user.rb │ │ ├── wls_foreign_jndi_provider_link.rb │ │ ├── wls_foreign_jndi_provider_link │ │ ├── link_name.rb │ │ ├── local_jndi_name.rb │ │ └── remote_jndi_name.rb │ │ ├── wls_foreign_server.rb │ │ ├── wls_foreign_server │ │ └── foreign_server_name.rb │ │ ├── wls_foreign_server_object.rb │ │ ├── wls_foreign_server_object │ │ ├── foreign_server.rb │ │ ├── localjndiname.rb │ │ ├── object_name.rb │ │ ├── object_type.rb │ │ └── remotejndiname.rb │ │ ├── wls_group.rb │ │ ├── wls_group │ │ ├── description.rb │ │ ├── group_name.rb │ │ └── users.rb │ │ ├── wls_identity_asserter.rb │ │ ├── wls_identity_asserter │ │ ├── activetypes.rb │ │ ├── attributes.rb │ │ ├── attributesvalues.rb │ │ ├── authentication_provider_name.rb │ │ ├── defaultmappertype.rb │ │ ├── order.rb │ │ └── providerclassname.rb │ │ ├── wls_jdbc_persistence_store.rb │ │ ├── wls_jdbc_persistence_store │ │ ├── datasource.rb │ │ ├── distribution_policy.rb │ │ ├── jdbc_persistence_name.rb │ │ ├── migration_policy.rb │ │ └── prefix_name.rb │ │ ├── wls_jms_bridge_destination.rb │ │ ├── wls_jms_bridge_destination │ │ ├── adapter.rb │ │ ├── bridge_destination_name.rb │ │ ├── connectionfactoryjndi.rb │ │ ├── destinationjndi.rb │ │ └── destinationtype.rb │ │ ├── wls_jms_connection_factory.rb │ │ ├── wls_jms_connection_factory │ │ ├── attachjmsxuserid.rb │ │ ├── clientid.rb │ │ ├── clientidpolicy.rb │ │ ├── connection_factory_name.rb │ │ ├── defaultdeliverymode.rb │ │ ├── defaultredeliverydelay.rb │ │ ├── defaultunitoforder.rb │ │ ├── loadbalancingenabled.rb │ │ ├── localjndiname.rb │ │ ├── messagesmaximum.rb │ │ ├── reconnectpolicy.rb │ │ ├── serveraffinityenabled.rb │ │ ├── subscriptionsharingpolicy.rb │ │ ├── transactiontimeout.rb │ │ └── xaenabled.rb │ │ ├── wls_jms_module.rb │ │ ├── wls_jms_module │ │ └── jms_module_name.rb │ │ ├── wls_jms_queue.rb │ │ ├── wls_jms_queue │ │ └── queue_name.rb │ │ ├── wls_jms_quota.rb │ │ ├── wls_jms_quota │ │ ├── bytesmaximum.rb │ │ ├── messagesmaximum.rb │ │ ├── policy.rb │ │ ├── quota_name.rb │ │ └── shared.rb │ │ ├── wls_jms_security_policy.rb │ │ ├── wls_jms_security_policy │ │ ├── action.rb │ │ ├── authorizationprovider.rb │ │ ├── destinationtype.rb │ │ ├── policyexpression.rb │ │ └── resourcename.rb │ │ ├── wls_jms_sort_destination_key.rb │ │ ├── wls_jms_sort_destination_key │ │ ├── key_name.rb │ │ ├── key_type.rb │ │ ├── property_name.rb │ │ └── sort_order.rb │ │ ├── wls_jms_subdeployment.rb │ │ ├── wls_jms_subdeployment │ │ └── subdeployment_name.rb │ │ ├── wls_jms_template.rb │ │ ├── wls_jms_template │ │ ├── redeliverydelay.rb │ │ ├── redeliverylimit.rb │ │ └── template_name.rb │ │ ├── wls_jms_topic.rb │ │ ├── wls_jms_topic │ │ ├── errordestinationtype.rb │ │ ├── forwardingpolicy.rb │ │ └── topic_name.rb │ │ ├── wls_jmsserver.rb │ │ ├── wls_jmsserver │ │ ├── allows_persistent_downgrade.rb │ │ ├── bytes_maximum.rb │ │ ├── consumptionpaused.rb │ │ ├── insertionpaused.rb │ │ ├── jmsserver_name.rb │ │ ├── messages_maximum.rb │ │ ├── persistentstore.rb │ │ ├── persistentstoretype.rb │ │ ├── productionpaused.rb │ │ └── store_enabled.rb │ │ ├── wls_machine.rb │ │ ├── wls_machine │ │ ├── listenaddress.rb │ │ ├── listenport.rb │ │ ├── machine_name.rb │ │ ├── machinetype.rb │ │ └── nmtype.rb │ │ ├── wls_mail_session.rb │ │ ├── wls_mail_session │ │ ├── mailproperty.rb │ │ └── mailsession_name.rb │ │ ├── wls_managedserver.rb │ │ ├── wls_messaging_bridge.rb │ │ ├── wls_messaging_bridge │ │ ├── asyncenabled.rb │ │ ├── batchinterval.rb │ │ ├── batchsize.rb │ │ ├── bridge_name.rb │ │ ├── durabilityenabled.rb │ │ ├── idletimemax.rb │ │ ├── preservemsgproperty.rb │ │ ├── qos.rb │ │ ├── qosdegradationallowed.rb │ │ ├── reconnectdelayincrease.rb │ │ ├── reconnectdelaymax.rb │ │ ├── reconnectdelaymin.rb │ │ ├── selector.rb │ │ ├── sourcedestination.rb │ │ ├── started.rb │ │ ├── targetdestination.rb │ │ └── transactiontimeout.rb │ │ ├── wls_migratable_target.rb │ │ ├── wls_migratable_target │ │ ├── cluster.rb │ │ ├── constrained_candidate_servers.rb │ │ ├── migratable_target_name.rb │ │ ├── migration_policy.rb │ │ ├── number_of_restart_attempts.rb │ │ ├── seconds_between_restarts.rb │ │ └── user_preferred_server.rb │ │ ├── wls_multi_datasource.rb │ │ ├── wls_multi_datasource │ │ ├── algorithmtype.rb │ │ ├── datasources.rb │ │ ├── multi_datasource_name.rb │ │ └── testfrequency.rb │ │ ├── wls_ohsserver.rb │ │ ├── wls_opatch.rb │ │ ├── wls_opatch │ │ ├── jdk_home_dir.rb │ │ ├── oracle_product_home_dir.rb │ │ ├── orainst_dir.rb │ │ ├── os_user.rb │ │ ├── patch_id.rb │ │ ├── source.rb │ │ └── tmp_dir.rb │ │ ├── wls_rcu.rb │ │ ├── wls_resource_group.rb │ │ ├── wls_resource_group │ │ ├── resource_group_name.rb │ │ └── resource_group_template.rb │ │ ├── wls_resource_group_template.rb │ │ ├── wls_resource_group_template │ │ └── resource_group_template_name.rb │ │ ├── wls_resource_group_template_deployment.rb │ │ ├── wls_resource_group_template_deployment │ │ ├── deployment_name.rb │ │ └── resource_group_template_name.rb │ │ ├── wls_role.rb │ │ ├── wls_role │ │ ├── expression.rb │ │ └── role_name.rb │ │ ├── wls_saf_error_handler.rb │ │ ├── wls_saf_error_handler │ │ ├── error_handler_name.rb │ │ ├── logformat.rb │ │ └── policy.rb │ │ ├── wls_saf_imported_destination.rb │ │ ├── wls_saf_imported_destination │ │ ├── errorhandling.rb │ │ ├── imported_destination_name.rb │ │ ├── jndiprefix.rb │ │ ├── remotecontext.rb │ │ ├── timetolivedefault.rb │ │ └── usetimetolivedefault.rb │ │ ├── wls_saf_imported_destination_object.rb │ │ ├── wls_saf_imported_destination_object │ │ ├── imported_destination.rb │ │ ├── jmsmodule.rb │ │ ├── localjndiname.rb │ │ ├── nonpersistentqos.rb │ │ ├── object_name.rb │ │ ├── object_type.rb │ │ ├── remotejndiname.rb │ │ ├── timetolivedefault.rb │ │ ├── unitoforderrouting.rb │ │ └── usetimetolivedefault.rb │ │ ├── wls_saf_remote_context.rb │ │ ├── wls_saf_remote_context │ │ ├── connect_url.rb │ │ ├── remote_context_name.rb │ │ ├── weblogic_password.rb │ │ └── weblogic_user.rb │ │ ├── wls_safagent.rb │ │ ├── wls_safagent │ │ ├── persistentstore.rb │ │ ├── persistentstoretype.rb │ │ ├── safagent_name.rb │ │ └── servicetype.rb │ │ ├── wls_server.rb │ │ ├── wls_server │ │ ├── arguments.rb │ │ ├── auto_restart.rb │ │ ├── autokillwfail.rb │ │ ├── bea_home.rb │ │ ├── custom_identity.rb │ │ ├── custom_identity_keystore_filename.rb │ │ ├── custom_identity_keystore_passphrase.rb │ │ ├── default_file_store.rb │ │ ├── failure_action.rb │ │ ├── jsseenabled.rb │ │ ├── listenaddress.rb │ │ ├── listenport.rb │ │ ├── listenportenabled.rb │ │ ├── log_datasource_filename.rb │ │ ├── log_http_file_count.rb │ │ ├── log_http_filename.rb │ │ ├── log_http_format.rb │ │ ├── log_http_format_type.rb │ │ ├── log_http_number_of_files_limited.rb │ │ ├── log_log_file_severity.rb │ │ ├── log_redirect_stderr_to_server.rb │ │ ├── log_redirect_stdout_to_server.rb │ │ ├── log_rotationdir.rb │ │ ├── log_stdout_severity.rb │ │ ├── logfilename.rb │ │ ├── logintimeout.rb │ │ ├── machine.rb │ │ ├── restart_max.rb │ │ ├── server_name.rb │ │ ├── server_parameters.rb │ │ ├── sslenabled.rb │ │ ├── sslhostnameverificationignored.rb │ │ ├── sslhostnameverifier.rb │ │ ├── ssllistenport.rb │ │ ├── trust_keystore_file.rb │ │ ├── trust_keystore_passphrase.rb │ │ ├── tunnelingenabled.rb │ │ ├── useservercerts.rb │ │ └── weblogic_plugin_enabled.rb │ │ ├── wls_server_channel.rb │ │ ├── wls_server_channel │ │ ├── channel_identity_customized.rb │ │ ├── channel_name.rb │ │ ├── enabled.rb │ │ ├── httpenabled.rb │ │ ├── listenaddress.rb │ │ ├── listenport.rb │ │ ├── outboundenabled.rb │ │ ├── protocol.rb │ │ ├── publicaddress.rb │ │ ├── publicport.rb │ │ ├── server.rb │ │ └── tunnelingenabled.rb │ │ ├── wls_server_template.rb │ │ ├── wls_server_template │ │ ├── arguments.rb │ │ ├── classpath.rb │ │ ├── listenaddress.rb │ │ ├── listenport.rb │ │ ├── server_template.rb │ │ ├── sslenabled.rb │ │ └── ssllistenport.rb │ │ ├── wls_server_tlog.rb │ │ ├── wls_server_tlog │ │ ├── server_name.rb │ │ ├── tlog_datasource.rb │ │ ├── tlog_datasource_prefix.rb │ │ └── tlog_enabled.rb │ │ ├── wls_setting.rb │ │ ├── wls_setting │ │ ├── archive_path.rb │ │ ├── connect_url.rb │ │ ├── custom_trust.rb │ │ ├── debug_module.rb │ │ ├── extra_arguments.rb │ │ ├── name.rb │ │ ├── post_classpath.rb │ │ ├── tmp_path.rb │ │ ├── trust_keystore_file.rb │ │ ├── trust_keystore_passphrase.rb │ │ ├── use_default_value_when_empty.rb │ │ ├── user.rb │ │ ├── weblogic_home_dir.rb │ │ ├── weblogic_password.rb │ │ └── weblogic_user.rb │ │ ├── wls_singleton_service.rb │ │ ├── wls_singleton_service │ │ ├── additional_migration_attempts.rb │ │ ├── class_name.rb │ │ ├── cluster.rb │ │ ├── constrained_candidate_servers.rb │ │ ├── millis_to_sleep_between_attempts.rb │ │ ├── notes.rb │ │ ├── singleton_service_name.rb │ │ └── user_preferred_server.rb │ │ ├── wls_user.rb │ │ ├── wls_user │ │ └── description.rb │ │ ├── wls_virtual_host.rb │ │ ├── wls_virtual_host │ │ ├── channel.rb │ │ ├── virtual_host_name.rb │ │ └── virtual_host_names.rb │ │ ├── wls_virtual_target.rb │ │ ├── wls_virtual_target │ │ ├── channel.rb │ │ ├── port.rb │ │ ├── portoffset.rb │ │ ├── uriprefix.rb │ │ ├── virtual_host_names.rb │ │ └── virtual_target_name.rb │ │ ├── wls_workmanager.rb │ │ ├── wls_workmanager │ │ ├── capacity.rb │ │ ├── fairsharerequestclass.rb │ │ ├── maxthreadsconstraint.rb │ │ ├── minthreadsconstraint.rb │ │ ├── stuckthreads.rb │ │ └── workmanager_name.rb │ │ ├── wls_workmanager_constraint.rb │ │ └── wls_workmanager_constraint │ │ ├── constrainttype.rb │ │ ├── constraintvalue.rb │ │ └── workmanager_constraint_name.rb └── utils │ ├── indent.rb │ ├── settings.rb │ ├── title_parser.rb │ ├── wls_access.rb │ ├── wls_daemon.rb │ └── wls_functions.rb ├── manifests ├── bsu.pp ├── control.pp ├── copydomain.pp ├── domain.pp ├── fmw.pp ├── fmwlogdir.pp ├── init.pp ├── nodemanager.pp ├── ohs │ └── forwarder.pp ├── opatch.pp ├── opatchupgrade.pp ├── oud │ ├── control.pp │ └── instance.pp ├── packdomain.pp ├── resourceadapter.pp ├── storeuserconfig.pp ├── urandomfix.pp ├── utils │ ├── fmwcluster.pp │ ├── fmwclusterjrf.pp │ ├── forms11gpatch.pp │ ├── oimconfig.pp │ ├── orainst.pp │ ├── ovdconfigdomain.pp │ ├── rcu.pp │ ├── reportscomponents.pp │ └── webtier.pp ├── weblogic.pp └── weblogic_type.pp ├── metadata.json ├── spec ├── classes │ ├── urandomfix_spec.rb │ ├── weblogic_params_spec.rb │ └── weblogic_remote_spec.rb ├── default_facts.yml ├── defines │ ├── bsu_spec.rb │ ├── copydomain_spec.rb │ ├── domain_spec.rb │ ├── fmw_remote_spec.rb │ ├── fmw_spec.rb │ ├── nodemanager_spec.rb │ └── ohs │ │ └── forwarder_spec.rb ├── functions │ └── .gitignore ├── hosts │ └── .gitignore ├── spec_helper.rb └── unit2 │ └── puppet │ └── type │ ├── wls_datasource_spec.rb │ └── wls_deployment_spec.rb ├── templates ├── adapter_plans │ ├── Plan_AQ.xml.epp │ ├── Plan_DB.xml.epp │ ├── Plan_FTP.xml.epp │ ├── Plan_File.xml.epp │ ├── Plan_JMS.xml.epp │ ├── Plan_MQSeries.xml.epp │ ├── createResourceAdapterEntry.py.epp │ └── redeployResourceAdapter.py.epp ├── domains │ ├── domain.py.epp │ ├── domain_1221.py.epp │ └── extensions │ │ ├── bam_template.py.erb │ │ ├── forms_template.py.erb │ │ ├── jrf_template.py.erb │ │ ├── oaam_template.py.erb │ │ ├── oam_template.py.erb │ │ ├── oim_oam_template.py.erb │ │ ├── oim_soa_1221_template.py.erb │ │ ├── oim_soa_template.py.erb │ │ ├── osb_template.py.erb │ │ ├── oud_oudsm_template.py.erb │ │ ├── oud_template.py.erb │ │ ├── soa_osb_template.py.erb │ │ ├── soa_template.py.erb │ │ ├── wc_template.py.erb │ │ ├── wc_wcc_template.py.erb │ │ └── wcs_template.py.erb ├── fmw_silent_adf.rsp.epp ├── fmw_silent_b2b_1213.rsp.epp ├── fmw_silent_b2b_1221.rsp.epp ├── fmw_silent_forms.rsp.epp ├── fmw_silent_forms_1221.rsp.epp ├── fmw_silent_forms_patch.rsp.epp ├── fmw_silent_mft_1213.rsp.epp ├── fmw_silent_oim.rsp.epp ├── fmw_silent_oim_1221.rsp.epp ├── fmw_silent_osb.rsp.epp ├── fmw_silent_osb_1213.rsp.epp ├── fmw_silent_osb_1221.rsp.epp ├── fmw_silent_osb_oepe.rsp.erb ├── fmw_silent_oud.rsp.epp ├── fmw_silent_oud_1221.rsp.epp ├── fmw_silent_ovd.rsp.epp ├── fmw_silent_soa.rsp.epp ├── fmw_silent_soa_1213.rsp.epp ├── fmw_silent_soa_1221.rsp.epp ├── fmw_silent_wc.rsp.epp ├── fmw_silent_wc_1221.rsp.epp ├── fmw_silent_wcc.rsp.epp ├── fmw_silent_wcc_1221.rsp.epp ├── fmw_silent_wcs_1221.rsp.epp ├── fmw_webgate.rsp.epp ├── nodemgr │ ├── nodemanager.properties.epp │ ├── nodemanager.properties_1212.epp │ ├── nodemanager.properties_1213.epp │ └── nodemanager.properties_1221.epp ├── oam │ └── rreg_input.xml.erb ├── ohs │ ├── domain.py.epp │ ├── forwarder.conf.epp │ └── mod_wl_ohs_config.conf.erb ├── oim │ ├── oim_design.rsp.erb │ ├── oim_remote.rsp.erb │ ├── oim_server.rsp.erb │ └── psa_opss_upgrade.rsp.erb ├── ovd │ └── im_config_only.rsp.epp ├── utils │ ├── oraInst.loc.epp │ └── rcu_passwords.txt.erb ├── web_http_server.rsp.epp ├── web_http_server_1212.rsp.epp ├── web_http_server_1213.rsp.epp ├── web_http_server_1221.rsp.epp ├── weblogic_silent_install.xml.epp ├── weblogic_silent_install_1212.rsp.epp ├── weblogic_silent_install_1213.rsp.epp ├── weblogic_silent_install_1221.rsp.epp └── wlst │ ├── changeFMWLogFolder.py.epp │ ├── enrollDomain.py.epp │ ├── storeUserConfig.py.epp │ └── wlstexec │ └── fmw │ ├── assignJrfToCluster.py.epp │ ├── assignOsbSoaBpmBamToClusters.py.erb │ ├── assignOsbSoaBpmBamToClusters_1213.py.erb │ ├── assignOsbSoaBpmBamToClusters_1221.py.erb │ ├── bi-createUDD.py.erb │ ├── changeWorkmanagers.py.erb │ ├── changeWorkmanagersOim.py.erb │ ├── configureWebtier.rsp.erb │ ├── createReportsComponent.py.erb │ ├── createWebtier.py.erb │ ├── migrateSecurityStore.py.erb │ ├── oim-createUDD.py.erb │ ├── osb-createUDD.py.erb │ ├── soa-bpm-createUDD.py.erb │ └── soa-createUDD.py.erb └── test.sh /.coveralls.yml: -------------------------------------------------------------------------------- 1 | service_name: travis-ci 2 | repo_token: 5BxahxzT9URSG4xWImoRTIeUcBA2L0HQi -------------------------------------------------------------------------------- /.fixtures.yml: -------------------------------------------------------------------------------- 1 | fixtures: 2 | forge_modules: 3 | easy_type: "hajee/easy_type" 4 | repositories: 5 | 'yamlfile': 6 | repo: 'git://github.com/reidmv/puppet-module-yamlfile' 7 | 'filemapper': 8 | repo: 'git://github.com/adrienthebo/puppet-filemapper' 9 | 'sleep': 10 | repo: 'git://github.com/fiddyspence/puppet-sleep' 11 | 'stdlib': 12 | repo: 'git://github.com/puppetlabs/puppetlabs-stdlib.git' 13 | symlinks: 14 | 'orawls': '#{source_dir}' 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .git/ 2 | .*.sw[op] 3 | .metadata 4 | .yardoc 5 | .yardwarns 6 | *.iml 7 | /.bundle/ 8 | /.idea/ 9 | /.vagrant/ 10 | /coverage/ 11 | /bin/ 12 | /Gemfile.local 13 | /Gemfile.lock 14 | /junit/ 15 | /log/ 16 | /pkg/ 17 | /spec/fixtures/manifests/ 18 | /spec/fixtures/modules/ 19 | /tmp/ 20 | /vendor/ 21 | /convert_report.txt 22 | /update_report.txt 23 | .DS_Store 24 | /spec/reports -------------------------------------------------------------------------------- /.pdkignore: -------------------------------------------------------------------------------- 1 | .git/ 2 | .*.sw[op] 3 | .metadata 4 | .yardoc 5 | .yardwarns 6 | *.iml 7 | /.bundle/ 8 | /.idea/ 9 | /.vagrant/ 10 | /coverage/ 11 | /bin/ 12 | /doc/ 13 | /Gemfile.local 14 | /Gemfile.lock 15 | /junit/ 16 | /log/ 17 | /pkg/ 18 | /spec/fixtures/manifests/ 19 | /spec/fixtures/modules/ 20 | /tmp/ 21 | /vendor/ 22 | /convert_report.txt 23 | /update_report.txt 24 | .DS_Store 25 | -------------------------------------------------------------------------------- /.puppet-lint.rc: -------------------------------------------------------------------------------- 1 | # PuppetLint.configuration.send('disable_relative') 2 | # PuppetLint.configuration.send("disable_80chars") 3 | # PuppetLint.configuration.send("disable_140chars") 4 | --no-140chars-check 5 | --no-80chars-check 6 | --no-variable_is_lowercase-check -------------------------------------------------------------------------------- /.pydevproject: -------------------------------------------------------------------------------- 1 | 2 | 3 | Default 4 | python 2.7 5 | 6 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format documentation 3 | -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- 1 | --markup markdown 2 | -------------------------------------------------------------------------------- /data/kernel/Linux.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | orawls::user_base_dir: '/home' 4 | orawls::orainst_dir: '/etc' 5 | 6 | orawls::java: 'java' 7 | orawls::native_lib: 'linux/x86_64' -------------------------------------------------------------------------------- /data/kernel/SunOS.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | orawls::user_base_dir: '/export/home' 4 | orawls::orainst_dir: '/var/opt/oracle' 5 | 6 | orawls::java: 'java -d64' 7 | orawls::native_lib: 'solaris/x64' -------------------------------------------------------------------------------- /doc/css/common.css: -------------------------------------------------------------------------------- 1 | /* Ensure the search bar doesn't overlap with links */ 2 | .fixed_header { 3 | padding-bottom: 25px; 4 | } 5 | 6 | #full_list { 7 | padding-top: 15px; 8 | } 9 | -------------------------------------------------------------------------------- /files/functions/function_base.py.erb: -------------------------------------------------------------------------------- 1 | real_domain='<%= resource.domain %>' 2 | 3 | try: 4 | puppet = open(tmp_script, "w") 5 | print >>puppet, 'value' 6 | 7 | <%= function_content %> 8 | 9 | print >>puppet, value 10 | puppet.close() 11 | print "~~~~COMMAND SUCCESFULL~~~~" 12 | 13 | except: 14 | print "Unexpected error:", sys.exc_info()[0] 15 | print "~~~~COMMAND FAILED~~~~" 16 | raise 17 | -------------------------------------------------------------------------------- /files/functions/wls_get_password.py.erb: -------------------------------------------------------------------------------- 1 | ## 2 | # This function gets the password at the specified key and decrypts it. The specfied key must point 3 | # to a key in the tree that contains the encrypted password. 4 | # 5 | key = '<%= value %>' 6 | encrypted_password = get(key) 7 | encrypted_password_string = password_to_string(encrypted_password) 8 | value = decrypt_value(encrypted_password_string) 9 | -------------------------------------------------------------------------------- /files/functions/wls_get_realm_path.py.erb: -------------------------------------------------------------------------------- 1 | # 2 | # Get the current security realm path 3 | # 4 | realm = cmo.getSecurityConfiguration().getDefaultRealm() 5 | value = getPath(realm) 6 | -------------------------------------------------------------------------------- /files/functions/wls_get_value.py.erb: -------------------------------------------------------------------------------- 1 | key = '<%= value %>' 2 | value = get(key) 3 | -------------------------------------------------------------------------------- /files/functions/wls_is_encrypted.py.erb: -------------------------------------------------------------------------------- 1 | key = '<%= value %>' 2 | value = is_encrypted(key) 3 | -------------------------------------------------------------------------------- /files/mod_wl_ohs.conf: -------------------------------------------------------------------------------- 1 | # NOTE: This is a template to configure mod_weblogic, generated by Puppet. 2 | 3 | LoadModule weblogic_module "${PRODUCT_HOME}/modules/mod_wl_ohs.so" 4 | 5 | Include mod_wl_ohs.d/*.conf 6 | -------------------------------------------------------------------------------- /files/mod_wl_ohs_12c.conf: -------------------------------------------------------------------------------- 1 | # NOTE: This is a template to configure mod_weblogic, generated by Puppet. 2 | 3 | LoadModule weblogic_module "${PRODUCT_HOME}/modules/mod_wl_ohs.so" 4 | 5 | IncludeOptional mod_wl_ohs.d/*.conf 6 | -------------------------------------------------------------------------------- /files/providers/wls_coherence_cluster/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= coherence_cluster_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | cd('/') 11 | cmo.destroyCoherenceClusterSystemResource(getMBean('/CoherenceClusterSystemResources/' + name)) 12 | 13 | save() 14 | activate() 15 | report_back_success() 16 | 17 | except: 18 | report_back_error() 19 | -------------------------------------------------------------------------------- /files/providers/wls_coherence_server/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= coherence_server_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | 11 | cd('/') 12 | print 'Destroy Coherence Server'; 13 | cmo.destroyCoherenceServer(getMBean('/CoherenceServers/'+name)) 14 | 15 | save() 16 | activate() 17 | report_back_success() 18 | 19 | except: 20 | report_back_error() 21 | -------------------------------------------------------------------------------- /files/providers/wls_datasource/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= datasource_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | 11 | cd('/') 12 | cmo.destroyJDBCSystemResource(getMBean('/SystemResources/' + name)) 13 | 14 | save() 15 | activate() 16 | report_back_success() 17 | 18 | except: 19 | report_back_error() 20 | -------------------------------------------------------------------------------- /files/providers/wls_exec/execute.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | try: 5 | puppet = open(tmp_script, "w") 6 | print >>puppet, "output" # This is the header for the conversion 7 | 8 | <%= statement %> 9 | 10 | puppet.close() 11 | report_back_success() 12 | except: 13 | report_back_error() 14 | -------------------------------------------------------------------------------- /files/providers/wls_file_persistence_store/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= file_persistence_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | cd('/FileStores') 11 | cmo.destroyFileStore(getMBean('/FileStores/' + name)) 12 | save() 13 | activate() 14 | report_back_success() 15 | 16 | except: 17 | report_back_error() 18 | -------------------------------------------------------------------------------- /files/providers/wls_foreign_jndi_provider/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= provider_name%>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | cd('/ForeignJNDIProviders') 11 | cmo.destroyForeignJNDIProvider(getMBean('/ForeignJNDIProviders/' + name)) 12 | 13 | save() 14 | activate() 15 | report_back_success() 16 | 17 | except: 18 | report_back_error() 19 | -------------------------------------------------------------------------------- /files/providers/wls_jdbc_persistence_store/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | 5 | 6 | name = '<%= jdbc_persistence_name %>' 7 | 8 | edit() 9 | startEdit() 10 | 11 | try: 12 | cd('/JDBCStores') 13 | cmo.destroyJDBCStore(getMBean('/JDBCStores/'+name)) 14 | save() 15 | activate() 16 | report_back_success() 17 | 18 | except: 19 | report_back_error() 20 | -------------------------------------------------------------------------------- /files/providers/wls_jms_bridge_destination/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | 5 | 6 | name = '<%= bridge_destination_name %>' 7 | 8 | edit() 9 | startEdit() 10 | 11 | try: 12 | 13 | cd('/') 14 | cmo.destroyJMSBridgeDestination(getMBean('/JMSBridgeDestinations/'+name)) 15 | 16 | save() 17 | activate() 18 | report_back_success() 19 | 20 | except: 21 | report_back_error() 22 | -------------------------------------------------------------------------------- /files/providers/wls_jms_module/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | 5 | 6 | name = '<%= jms_module_name %>' 7 | 8 | edit() 9 | startEdit() 10 | 11 | try: 12 | 13 | cd('/') 14 | cmo.destroyJMSSystemResource(getMBean('/SystemResources/'+name)) 15 | 16 | save() 17 | activate() 18 | report_back_success() 19 | 20 | except: 21 | report_back_error() 22 | -------------------------------------------------------------------------------- /files/providers/wls_jms_module/index.py.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | m = ls('/JMSSystemResources',returnMap='true') 4 | 5 | f = open_file("name;target;targettype;domain", tmp_script) 6 | for token in m: 7 | print '___'+token+'___' 8 | cd('/JMSSystemResources/'+token) 9 | 10 | target, targetType = retrieve_target_list('/JMSSystemResources/'+token) 11 | 12 | add_index_entry(f, [domain+'/'+token,','.join(target),','.join(targetType),domain]) 13 | f.close() 14 | report_back_success() 15 | -------------------------------------------------------------------------------- /files/providers/wls_jmsserver/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | 5 | 6 | name = '<%= jmsserver_name %>' 7 | 8 | edit() 9 | startEdit() 10 | 11 | try: 12 | 13 | cd('/') 14 | cmo.destroyJMSServer(getMBean('/Deployments/'+name)) 15 | 16 | save() 17 | activate() 18 | report_back_success() 19 | 20 | except: 21 | report_back_error() 22 | -------------------------------------------------------------------------------- /files/providers/wls_mail_session/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= mailsession_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | 11 | cd('/') 12 | cmo.destroyMailSession(getMBean('/MailSessions/'+name)) 13 | 14 | save() 15 | activate() 16 | report_back_success() 17 | 18 | except: 19 | report_back_error() 20 | -------------------------------------------------------------------------------- /files/providers/wls_messaging_bridge/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= bridge_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | 11 | cd('/') 12 | cmo.destroyMessagingBridge(getMBean('/Deployments/' + name)) 13 | 14 | save() 15 | activate() 16 | report_back_success() 17 | 18 | except: 19 | report_back_error() 20 | -------------------------------------------------------------------------------- /files/providers/wls_migratable_target/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | migratable_target_name = '<%= migratable_target_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | 11 | cd('/') 12 | cmo.destroyMigratableTarget(cmo.lookupMigratableTarget(migratable_target_name)) 13 | 14 | save() 15 | activate() 16 | report_back_success() 17 | 18 | except: 19 | report_back_error() 20 | -------------------------------------------------------------------------------- /files/providers/wls_multi_datasource/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= multi_datasource_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | 11 | cd('/') 12 | cmo.destroyJDBCSystemResource(getMBean('/SystemResources/' + name)) 13 | 14 | save() 15 | activate() 16 | report_back_success() 17 | 18 | except: 19 | report_back_error() 20 | -------------------------------------------------------------------------------- /files/providers/wls_resource_group_template/index.py.erb: -------------------------------------------------------------------------------- 1 | 2 | wlst_name = '/ResourceGroupTemplates/' 3 | 4 | m = ls(wlst_name, returnMap='true') 5 | 6 | f = open_file("name;xxx", tmp_script) 7 | for token in m: 8 | print '___'+token+'___' 9 | cd(wlst_name + token) 10 | 11 | 12 | add_index_entry(f, [domain+'/'+token, 'xxx']) 13 | 14 | f.close() 15 | report_back_success() 16 | 17 | -------------------------------------------------------------------------------- /files/providers/wls_role/index.py.erb: -------------------------------------------------------------------------------- 1 | 2 | f = open_file("name;realm;expression;domain", tmp_script) 3 | 4 | realmName = cmo.getSecurityConfiguration().getDefaultRealm() 5 | mapper = realmName.lookupRoleMapper('XACMLRoleMapper'); 6 | roles = mapper.listRolesForResource('') 7 | 8 | for role in roles: 9 | expression = mapper.getRoleExpression(None,role); 10 | add_index_entry(f, [domain+'/'+role, realmName.getName(), expression, domain]) 11 | 12 | f.close() 13 | report_back_success() 14 | 15 | 16 | -------------------------------------------------------------------------------- /files/providers/wls_safagent/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | 5 | 6 | name = '<%= safagent_name %>' 7 | 8 | edit() 9 | startEdit() 10 | 11 | try: 12 | 13 | cd('/') 14 | cmo.destroySAFAgent(getMBean('/SAFAgents/'+name)) 15 | 16 | save() 17 | activate() 18 | report_back_success() 19 | 20 | except: 21 | report_back_error() 22 | -------------------------------------------------------------------------------- /files/providers/wls_virtual_host/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | 5 | 6 | name = '<%= virtual_host_name %>' 7 | 8 | edit() 9 | startEdit() 10 | 11 | try: 12 | 13 | cd('/') 14 | cmo.destroyVirtualHost(getMBean('/VirtualHosts/'+name)) 15 | save() 16 | activate() 17 | report_back_success() 18 | 19 | except: 20 | report_back_error() 21 | -------------------------------------------------------------------------------- /files/providers/wls_virtual_target/destroy.py.erb: -------------------------------------------------------------------------------- 1 | # check the domain else we need to skip this (done in wls_access.rb) 2 | real_domain='<%= domain %>' 3 | 4 | name = '<%= virtual_target_name %>' 5 | 6 | edit() 7 | startEdit() 8 | 9 | try: 10 | 11 | cd('/') 12 | cmo.destroyVirtualTarget(getMBean('/VirtualTargets/' + name)) 13 | save() 14 | activate() 15 | report_back_success() 16 | 17 | except: 18 | report_back_error() 19 | -------------------------------------------------------------------------------- /hiera.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | version: 5 3 | 4 | defaults: 5 | datadir: data 6 | data_hash: yaml_data 7 | 8 | hierarchy: 9 | - name: "kernel" 10 | path: "kernel/%{facts.kernel}.yaml" 11 | 12 | - name: "common" 13 | path: "common.yaml" 14 | -------------------------------------------------------------------------------- /lib/orawls_core.rb: -------------------------------------------------------------------------------- 1 | require 'pathname' 2 | #$:.unshift(Pathname.new(__FILE__).dirname) 3 | #$:.unshift(Pathname.new(__FILE__).dirname.parent.parent + 'easy_type' + 'lib') 4 | $:.unshift File.dirname(__FILE__) 5 | $:.unshift File.join(File.dirname(__FILE__), '../../easy_type/lib') 6 | require 'easy_type' 7 | require 'utils/wls_access' 8 | require 'utils/settings' 9 | require 'utils/title_parser' 10 | require 'facter' 11 | 12 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_cluster/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_cluster).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a cluster in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_coherence_cluster/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_coherence_cluster).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage coherence clusters' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_coherence_server/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_coherence_server).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage coherence server' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_datasource/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_datasource).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a datasource in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_deployment/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_deployment).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a deployment in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_domain/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_domain).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage all the WebLogic domain options via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_domain_partition/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_domain_partition).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage all the WebLogic 12.2.1 domain partitions via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_domain_partition_resource_group/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_domain_partition_resource_group).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage all the WebLogic 12.2.1 domain partition resource groups via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_domain_partition_resource_group_deployment/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_domain_partition_resource_group_deployment).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage all deployments of a WebLogic 12.2.1 domain partition resource groups via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_dynamic_cluster/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_dynamic_cluster).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage all the WebLogic 12.2.1 domain partitions via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_file_persistence_store/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_file_persistence_store).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage file persistence stores' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_foreign_jndi_provider/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_foreign_jndi_provider).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage foreign JNDI providers' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_foreign_jndi_provider_link/.identity.rb: -------------------------------------------------------------------------------- 1 | class Puppet::Type::Wls_foreign_jndi_provider_link::ProviderSimple 2 | @type_name = 'wls_foreign_jndi_provider_link' 3 | @module_name = 'orawls' 4 | end 5 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_foreign_jndi_provider_link/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_foreign_jndi_provider_link).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage foreign JNDI provider links' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_foreign_server/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_foreign_server).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Foreign Server in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_foreign_server_object/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_foreign_server_object).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Foreign Server object in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_group/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_group).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage groups of a WebLogic Security REALM' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_identity_asserter/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_identity_asserter).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage identity asserters in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jdbc_persistence_store/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jdbc_persistence_store).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage JDBC persistence stores' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_bridge_destination/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_bridge_destination).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a JMS bridge destinaion in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_connection_factory/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_connection_factory).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage JMS connection factories' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_module/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_module).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a JMS module in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_queue/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_queue).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a queue in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_quota/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_quota).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage quotas of a JMS module in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_security_policy/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_security_policy).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage security policies of a JMS resource (queue or topic) via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_sort_destination_key/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_sort_destination_key).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage the jms sort destination key object in WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_subdeployment/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_subdeployment).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_template/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_template).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage JMS connection templates' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jms_topic/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jms_topic).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a topic in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_jmsserver/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_jmsserver).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'JMS server in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_machine/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_machine).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage machine in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_mail_session/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_mail_session).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a mail session in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_messaging_bridge/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_messaging_bridge).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a Messaging bridge in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_migratable_target/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_migratable_target).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a migratable target of a WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | 11 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_multi_datasource/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_multi_datasource).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a multi datasource in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_resource_group/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_resource_group).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage resource groups of a WebLogic 12.2.1 domain' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_resource_group_template/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_resource_group_template).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage resource group template of a WebLogic 12.2.1 domain' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_resource_group_template_deployment/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_resource_group_template_deployment).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage resource group template deployments of a WebLogic 12.2.1 domain' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_role/.identity.rb: -------------------------------------------------------------------------------- 1 | class Puppet::Type::Wls_role::ProviderSimple 2 | @type_name = 'wls_role' 3 | @module_name = 'orawls' 4 | end 5 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_role/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_role).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage authentication providers in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_saf_error_handler/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_saf_error_handler).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'saf error handler in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_saf_imported_destination/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_saf_imported_destination).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'saf imported destination in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_saf_imported_destination_object/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_saf_imported_destination_object).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'saf imported destination Queue or Topic in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_saf_remote_context/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_saf_remote_context).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'saf remote context in a JMS module of an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_safagent/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_safagent).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'safagent server in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_server/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_server).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage server in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_server_channel/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_server_channel).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage server channels in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_server_template/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_server_template).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage server template for dynamic clusters' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_server_tlog/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_server_tlog).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage tlog config on server in an WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_singleton_service/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_singleton_service).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage a singleton service of a WebLogic domain via regular WLST' 8 | mk_resource_methods 9 | end 10 | 11 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_user/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_user).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage users of a WebLogic Security REALM' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_virtual_host/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_virtual_host).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage virtual hosts of a WebLogic domain' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_virtual_target/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_virtual_target).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage virtual targets of a WebLogic 12.2.1 domain' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_workmanager/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_workmanager).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage workmanagers of a WebLogic domain' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/provider/wls_workmanager_constraint/simple.rb: -------------------------------------------------------------------------------- 1 | require 'easy_type' 2 | require 'utils/wls_access' 3 | 4 | Puppet::Type.type(:wls_workmanager_constraint).provide(:simple) do 5 | include EasyType::Provider 6 | 7 | desc 'Manage workmanager constraint of a WebLogic domain' 8 | mk_resource_methods 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/authenticationprovider.rb: -------------------------------------------------------------------------------- 1 | newproperty(:authenticationprovider) do 2 | include EasyType 3 | 4 | desc 'The security authentication providers of the domain' 5 | 6 | defaultto 'DefaultAuthenticator' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['authenticationprovider'] 10 | end 11 | 12 | end 13 | 14 | autorequire(:wls_authentication_provider) { "#{domain}/#{authenticationprovider}" } 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/balancingpolicy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:balancingpolicy) do 2 | include EasyType 3 | 4 | desc 'balancingpolicy of the distributed queue' 5 | 6 | newvalues(:'Round-Robin', :'Random') 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['balancingpolicy'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/client_certificate_enforced.rb: -------------------------------------------------------------------------------- 1 | newproperty(:client_certificate_enforced) do 2 | include EasyType 3 | 4 | desc 'Should client certificate be enforced on the server.' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['client_certificate_enforced'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/connectionurl.rb: -------------------------------------------------------------------------------- 1 | newproperty(:connectionurl) do 2 | include EasyType 3 | 4 | desc 'The connectionurl' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['connectionurl'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/consumptionpaused.rb: -------------------------------------------------------------------------------- 1 | newproperty(:consumptionpaused) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc <<-EOD 6 | 7 | EOD 8 | newvalues(1, 0) 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['consumptionpaused'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/custom_identity_alias.rb: -------------------------------------------------------------------------------- 1 | newproperty(:custom_identity_alias) do 2 | include EasyType 3 | 4 | desc 'The custom identity alias' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['custom_identity_alias'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/custom_identity_privatekey_passphrase.rb: -------------------------------------------------------------------------------- 1 | newparam(:custom_identity_privatekey_passphrase) do 2 | include EasyType 3 | 4 | desc 'The custom identity privatekey passphrase' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/defaulttargeting.rb: -------------------------------------------------------------------------------- 1 | newproperty(:defaulttargeting) do 2 | include EasyType 3 | 4 | desc 'default targeting enabled' 5 | newvalues(1, 0) 6 | defaultto 1 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['defaulttargeting'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/deliverymode.rb: -------------------------------------------------------------------------------- 1 | newproperty(:deliverymode) do 2 | include EasyType 3 | 4 | desc 'deliverymode of the queue' 5 | 6 | newvalues(:'No-Delivery', :'Persistent', :'Non-Persistent') 7 | 8 | defaultto 'No-Delivery' 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['deliverymode'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/deploymenttype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:deploymenttype) do 2 | include EasyType 3 | 4 | desc 'The deployment type' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['deploymenttype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/distributed.rb: -------------------------------------------------------------------------------- 1 | newproperty(:distributed) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'Distributed queue' 6 | newvalues(1, 0) 7 | defaultto 0 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['distributed'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/errordestination.rb: -------------------------------------------------------------------------------- 1 | newproperty(:errordestination) do 2 | include EasyType 3 | 4 | desc 'errordestination of the queue' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['errordestination'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_jms_queue) { "#{domain}/#{jmsmodule}:#{errordestination}" if errordestination } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/expirationloggingpolicy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:expirationloggingpolicy) do 2 | include EasyType 3 | 4 | desc 'expirationloggingpolicy of the queue' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['expirationloggingpolicy'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/expirationpolicy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:expirationpolicy) do 2 | include EasyType 3 | 4 | desc 'expirationpolicy of the queue' 5 | 6 | newvalues(:'Discard', :'Log', :'Redirect') 7 | 8 | defaultto 'Discard' 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['expirationpolicy'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/forwarddelay.rb: -------------------------------------------------------------------------------- 1 | newproperty(:forwarddelay) do 2 | include EasyType 3 | # include EasyType::Mungers::Integer 4 | 5 | desc 'The number of seconds after which a uniform distributed queue member with no consumers will wait before forwarding its messages to other uniform distributed queue members that do have consumers. ' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | # raw_resource['forwarddelay'].to_f.to_i 9 | raw_resource['forwarddelay'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/frontendhost.rb: -------------------------------------------------------------------------------- 1 | newproperty(:frontendhost) do 2 | include EasyType 3 | 4 | desc 'The frontendhost of this server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['frontendhost'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/frontendhttpport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:frontendhttpport) do 2 | include EasyType 3 | 4 | desc 'The frontendhttpport of this server' 5 | defaultto '0' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['frontendhttpport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/frontendhttpsport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:frontendhttpsport) do 2 | include EasyType 3 | 4 | desc 'The frontendhttpsport of this server' 5 | defaultto '0' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['frontendhttpsport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/initialcontextfactory.rb: -------------------------------------------------------------------------------- 1 | newproperty(:initialcontextfactory) do 2 | include EasyType 3 | 4 | desc 'The initial contextfactory' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['initialcontextfactory'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/insertionpaused.rb: -------------------------------------------------------------------------------- 1 | newproperty(:insertionpaused) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc <<-EOD 6 | 7 | EOD 8 | newvalues(1, 0) 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['insertionpaused'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/jmsmodule.rb: -------------------------------------------------------------------------------- 1 | newparam(:jmsmodule) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The JMS module name' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['jmsmodule'] 11 | end 12 | 13 | end 14 | 15 | autorequire(:wls_jms_module) { "#{domain}/#{jmsmodule}" } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/jndiname.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jndiname) do 2 | include EasyType 3 | 4 | desc 'The jndi name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['jndiname'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/jndinames.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jndinames, :array_matching => :all) do 2 | include EasyType 3 | 4 | desc 'The datasource jndi names' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | unless raw_resource['jndinames'].nil? 8 | raw_resource['jndinames'].split(',') 9 | end 10 | end 11 | 12 | end 13 | 14 | def jndinames 15 | self[:jndinames] ? self[:jndinames].join(',') : '' 16 | end 17 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/log_date_pattern.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_date_pattern) do 2 | include EasyType 3 | 4 | desc <<-EOD 5 | The date format pattern used for rendering dates in the log. 6 | 7 | The DateFormatPattern string conforms to the specification of the java.text.SimpleDateFormat class. 8 | 9 | EOD 10 | 11 | to_translate_to_resource do |raw_resource| 12 | raw_resource['log_date_pattern'] 13 | end 14 | 15 | end 16 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/log_file_min_size.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_file_min_size) do 2 | include EasyType 3 | 4 | desc 'The log file min size of a domain or server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_file_min_size'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/log_filecount.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_filecount) do 2 | include EasyType 3 | 4 | desc 'The log file count of a domain or server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_filecount'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/log_number_of_files_limited.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_number_of_files_limited) do 2 | include EasyType 3 | 4 | desc 'Limited log number of files of a domain or server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_number_of_files_limited'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/log_rotate_logon_startup.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_rotate_logon_startup) do 2 | include EasyType 3 | 4 | desc 'log rotate Logon at startup of a domain or server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_rotate_logon_startup'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/log_rotationtype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_rotationtype) do 2 | include EasyType 3 | 4 | desc 'log rotation type of a domain or server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_rotationtype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/max_message_size.rb: -------------------------------------------------------------------------------- 1 | newproperty(:max_message_size) do 2 | include EasyType 3 | 4 | desc 'The max message size of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['max_message_size'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/messagelogging.rb: -------------------------------------------------------------------------------- 1 | newproperty(:messagelogging) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'Message logging for JMS' 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['messagelogging'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/name.rb: -------------------------------------------------------------------------------- 1 | newparam(:name) do 2 | include EasyType 3 | 4 | desc 'The name' 5 | 6 | isnamevar 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['name'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/password.rb: -------------------------------------------------------------------------------- 1 | newparam(:password) do 2 | include EasyType 3 | 4 | desc 'The weblogic artifacts password' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['password'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/planpath.rb: -------------------------------------------------------------------------------- 1 | newparam(:planpath) do 2 | include EasyType 3 | 4 | desc 'The path of the deploymentplan' 5 | 6 | isnamevar 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/productionpaused.rb: -------------------------------------------------------------------------------- 1 | newproperty(:productionpaused) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc <<-EOD 6 | 7 | EOD 8 | newvalues(1, 0) 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['productionpaused'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/provider_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:provider_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The provider name' 7 | 8 | end 9 | 10 | #autorequire(:wls_foreign_jndi_provider) { "#{domain}/#{provider_name}" } 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/quota.rb: -------------------------------------------------------------------------------- 1 | newproperty(:quota) do 2 | include EasyType 3 | 4 | desc 'quota of the jms object' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['quota'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_jms_quota) { "#{domain}/#{jmsmodule}:#{quota}" } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/realm.rb: -------------------------------------------------------------------------------- 1 | newproperty(:realm) do 2 | include EasyType 3 | 4 | desc 'The security realm of the domain' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['realm'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/redeliverydelay.rb: -------------------------------------------------------------------------------- 1 | newproperty(:redeliverydelay) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | defaultto(-1) 6 | 7 | desc 'redeliverydelay of the queue' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['redeliverydelay'].to_f.to_i 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/redeliverylimit.rb: -------------------------------------------------------------------------------- 1 | newproperty(:redeliverylimit) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | defaultto(-1) 6 | 7 | desc 'redeliverylimit of the queue' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['redeliverylimit'].to_f.to_i 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/remote.rb: -------------------------------------------------------------------------------- 1 | newparam(:remote) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'remote option for deployment.' 6 | newvalues(1, 0) 7 | 8 | defaultto '1' 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['remote'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/stagingmode.rb: -------------------------------------------------------------------------------- 1 | newproperty(:stagingmode) do 2 | include EasyType 3 | 4 | desc 'The staging type' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['stagingmode'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/subdeployment.rb: -------------------------------------------------------------------------------- 1 | newproperty(:subdeployment) do 2 | include EasyType 3 | 4 | desc 'The subdeployment name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['subdeployment'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_jms_subdeployment) { "#{domain}/#{jmsmodule}:#{subdeployment}" } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/targettype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:targettype, :array_matching => :all) do 2 | include EasyType 3 | 4 | desc 'The type of the target' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | unless raw_resource['targettype'].nil? 8 | raw_resource['targettype'].split(',') 9 | end 10 | end 11 | 12 | end 13 | 14 | def targettype 15 | self[:targettype] ? self[:targettype].join(',') : '' 16 | end 17 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/templatename.rb: -------------------------------------------------------------------------------- 1 | newproperty(:templatename) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The template name' 6 | 7 | to_translate_to_resource do |raw_resource| 8 | raw_resource['templatename'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/timeout.rb: -------------------------------------------------------------------------------- 1 | newparam(:timeout) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'Timeout for this operation' 6 | 7 | end 8 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/timetodeliver.rb: -------------------------------------------------------------------------------- 1 | newproperty(:timetodeliver) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | defaultto(-1) 6 | 7 | desc 'timetodeliver of the queue' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['timetodeliver'].to_f.to_i 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/timetolive.rb: -------------------------------------------------------------------------------- 1 | newproperty(:timetolive) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | defaultto(-1) 6 | 7 | desc 'timetolive of the queue' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['timetolive'].to_f.to_i 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/two_way_ssl.rb: -------------------------------------------------------------------------------- 1 | newproperty(:two_way_ssl) do 2 | include EasyType 3 | 4 | desc 'Should Two Way SSL be used on the server.' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do |raw_resource| 8 | raw_resource['two_way_ssl'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/upload.rb: -------------------------------------------------------------------------------- 1 | newparam(:upload) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'Upload option for deployment.' 6 | newvalues(1, 0) 7 | 8 | defaultto '1' 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['upload'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/user_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:user_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The user name' 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/shared/wrapdatatypes.rb: -------------------------------------------------------------------------------- 1 | newproperty(:wrapdatatypes) do 2 | include EasyType 3 | 4 | desc 'Should weblogic wrap data types.' 5 | newvalues('1', '0') 6 | defaultto '1' 7 | 8 | to_translate_to_resource do |raw_resource| 9 | raw_resource['wrapdatatypes'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_authentication_provider/attributes.rb: -------------------------------------------------------------------------------- 1 | newparam(:attributes) do 2 | include EasyType 3 | 4 | desc 'The extra authentication provider properties' 5 | 6 | validate do | value| 7 | Puppet.deprecation_warning("The attributes parameter on wls_authentication_provide is deprecated. Use the provider_specific property now.") 8 | value 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_authentication_provider/attributesvalues.rb: -------------------------------------------------------------------------------- 1 | newparam(:attributesvalues) do 2 | include EasyType 3 | 4 | desc 'The extra authentication provider property values' 5 | 6 | validate do | value| 7 | Puppet.deprecation_warning("The attributesvalues parameter on wls_authentication_provider is deprecated. Use the provider_specific property now.") 8 | value 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_authentication_provider/authentication_provider_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:authentication_provider_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The authentication provider name' 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_authentication_provider/control_flag.rb: -------------------------------------------------------------------------------- 1 | newproperty(:control_flag) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The control flag' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['control_flag'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_authentication_provider/order.rb: -------------------------------------------------------------------------------- 1 | newproperty(:order) do 2 | include EasyType 3 | 4 | desc 'The order of the Authentication Provider (0 is highest)' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['order'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_authentication_provider/providerclassname.rb: -------------------------------------------------------------------------------- 1 | newparam(:providerclassname) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The provider classname' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['providerclassname'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/cluster_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:cluster_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The cluster name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/clusteraddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:clusteraddress) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The address that forms a portion of the URL a client uses to connect to this cluster, and that is used for generating EJB handles and entity EJB failover addresses.' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['clusteraddress'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/datasourceforjobscheduler.rb: -------------------------------------------------------------------------------- 1 | newproperty(:datasourceforjobscheduler) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The DataSource For JobScheduler which are part of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['datasourceforjobscheduler'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/frontendhost.rb: -------------------------------------------------------------------------------- 1 | newproperty(:frontendhost) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The frontendhost of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['frontendhost'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/frontendhttpport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:frontendhttpport) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The frontendhttpport of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['frontendhttpport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/frontendhttpsport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:frontendhttpsport) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The frontendhttpsport of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['frontendhttpsport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/messagingmode.rb: -------------------------------------------------------------------------------- 1 | newproperty(:messagingmode) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The messagingmode of this cluster' 6 | 7 | defaultto 'unicast' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['messagingmode'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/migration_datasource.rb: -------------------------------------------------------------------------------- 1 | newproperty(:migration_datasource) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The migration datasource of this cluster when database leasing is used' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['migration_datasource'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/migration_table_name.rb: -------------------------------------------------------------------------------- 1 | newproperty(:migration_table_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The migration table name of this cluster when database leasing is used' 6 | 7 | defaultto 'ACTIVE' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['migration_table_name'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/migrationbasis.rb: -------------------------------------------------------------------------------- 1 | newproperty(:migrationbasis) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The migrationbasis of this cluster' 6 | 7 | defaultto 'consensus' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['migrationbasis'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/multicastaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:multicastaddress) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The multi cast address of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['multicastaddress'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/multicastport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:multicastport) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The multi cast port of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['multicastport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/securereplication.rb: -------------------------------------------------------------------------------- 1 | newproperty(:securereplication) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'Enable Secure Replication for the cluster' 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['securereplication'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_cluster/unicastbroadcastchannel.rb: -------------------------------------------------------------------------------- 1 | newproperty(:unicastbroadcastchannel) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The unicast broadcast channel of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['unicastbroadcastchannel'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_cluster/clusteringmode.rb: -------------------------------------------------------------------------------- 1 | newproperty(:clusteringmode) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The clustering mode of this coherence cluster' 6 | 7 | defaultto 'unicast' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['clusteringmode'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_cluster/coherence_cluster_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:coherence_cluster_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The coherence cluster name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_cluster/multicastaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:multicastaddress) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The multi cast address of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['multicastaddress'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_cluster/multicastport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:multicastport) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The multi cast port of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['multicastport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_cluster/storage_enabled.rb: -------------------------------------------------------------------------------- 1 | newparam(:storage_enabled) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'Enables coherence storage on its cluster/server targets' 6 | newvalues(1, 0) 7 | 8 | defaultto '0' 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_cluster/unicastport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:unicastport) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The uni cast port of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['unicastport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_server/classpath.rb: -------------------------------------------------------------------------------- 1 | newproperty(:classpath) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The coherence machine classpath' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['classpath'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_server/coherence_server_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:coherence_server_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The coherence server name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_server/machine.rb: -------------------------------------------------------------------------------- 1 | newproperty(:machine) do 2 | include EasyType 3 | 4 | desc 'The machine of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['machine'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_machine) { "#{domain}/#{machine}" } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_server/unicastaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:unicastaddress) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The unicast address of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['unicastaddress'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_coherence_server/unicastport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:unicastport) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The unicast port of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['unicastport'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/connectioncreationretryfrequency.rb: -------------------------------------------------------------------------------- 1 | newproperty(:connectioncreationretryfrequency) do 2 | include EasyType 3 | 4 | desc 'The number of seconds between attempts to establish connections to the database.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['connectioncreationretryfrequency'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/connectionreservetimeoutseconds.rb: -------------------------------------------------------------------------------- 1 | newproperty(:connectionreservetimeoutseconds) do 2 | include EasyType 3 | 4 | desc 'The number of seconds after which a call to reserve a connection from the connection pool will timeout.' 5 | 6 | defaultto '10' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['connectionreservetimeoutseconds'] 10 | end 11 | 12 | end -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/datasource_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:datasource_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The datasource name' 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/datasourcetype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:datasourcetype) do 2 | include EasyType 3 | 4 | desc 'Datasource Type' 5 | newvalues('GENERIC', 'MDS', 'AGL', 'UCP', 'PROXY') 6 | defaultto 'AGL' 7 | 8 | to_translate_to_resource do |raw_resource| 9 | raw_resource['datasourcetype'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/drivername.rb: -------------------------------------------------------------------------------- 1 | newproperty(:drivername) do 2 | include EasyType 3 | 4 | desc 'The drivername' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource['drivername'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/fanenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:fanenabled) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'Enables the data source to subscribe to and process Oracle FAN events.' 6 | newvalues(1, 0) 7 | 8 | defaultto '0' 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['fanenabled'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/globaltransactionsprotocol.rb: -------------------------------------------------------------------------------- 1 | newproperty(:globaltransactionsprotocol) do 2 | include EasyType 3 | 4 | desc 'The global Transactions Protocol' 5 | newvalues('TwoPhaseCommit', 'EmulateTwoPhaseCommit', 'OnePhaseCommit', 'LoggingLastResource', 'None') 6 | defaultto 'TwoPhaseCommit' 7 | 8 | to_translate_to_resource do |raw_resource| 9 | raw_resource['globaltransactionsprotocol'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/harvest_trigger_count.rb: -------------------------------------------------------------------------------- 1 | newproperty(:harvest_trigger_count) do 2 | include EasyType 3 | 4 | desc 'The statement cache size of the datasource' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['harvest_trigger_count'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/inactiveconnectiontimeoutseconds.rb: -------------------------------------------------------------------------------- 1 | newproperty(:inactiveconnectiontimeoutseconds) do 2 | include EasyType 3 | 4 | desc 'The number of inactive seconds on a reserved connection before WebLogic Server reclaims the connection and releases it back into the connection pool.' 5 | 6 | defaultto '0' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['inactiveconnectiontimeoutseconds'] 10 | end 11 | 12 | end -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/initialcapacity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:initialcapacity) do 2 | include EasyType 3 | 4 | desc 'The initial capacity of the datasource' 5 | 6 | defaultto '1' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['initialcapacity'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/initsql.rb: -------------------------------------------------------------------------------- 1 | newproperty(:initsql) do 2 | include EasyType 3 | 4 | desc 'The datasource Init SQL statement' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['initsql'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/logindelayseconds.rb: -------------------------------------------------------------------------------- 1 | newproperty(:logindelayseconds) do 2 | include EasyType 3 | 4 | desc 'Login delay seconds' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['logindelayseconds'] 8 | end 9 | 10 | end -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/maxcapacity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:maxcapacity) do 2 | include EasyType 3 | 4 | desc 'The max capacity of the datasource' 5 | 6 | defaultto '15' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['maxcapacity'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/mincapacity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:mincapacity) do 2 | include EasyType 3 | 4 | desc 'The min capacity of the datasource' 5 | 6 | defaultto '1' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['mincapacity'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/onsnodelist.rb: -------------------------------------------------------------------------------- 1 | newproperty(:onsnodelist) do 2 | include EasyType 3 | 4 | desc 'A comma-separate list of ONS daemon listen addresses and ports to which connect to for receiving ONS-based FAN events' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['onsnodelist'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/rowprefetchenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:rowprefetchenabled) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'Enables the data source to prefetch rows.' 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['rowprefetchenabled'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/rowprefetchsize.rb: -------------------------------------------------------------------------------- 1 | newproperty(:rowprefetchsize) do 2 | include EasyType 3 | 4 | desc 'The row prefetch siZe of the datasource' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['rowprefetchsize'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/shrinkfrequencyseconds.rb: -------------------------------------------------------------------------------- 1 | newproperty(:shrinkfrequencyseconds) do 2 | include EasyType 3 | 4 | desc 'Shrink Frequency Seconds' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['shrinkfrequencyseconds'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/statementcachesize.rb: -------------------------------------------------------------------------------- 1 | newproperty(:statementcachesize) do 2 | include EasyType 3 | 4 | desc 'The statement cache size of the datasource' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['statementcachesize'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/statementcachetype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:statementcachetype) do 2 | include EasyType 3 | 4 | desc 'Statement Cache Type' 5 | newvalues('FIXED', 'LRU') 6 | defaultto 'LRU' 7 | 8 | to_translate_to_resource do |raw_resource| 9 | raw_resource['statementcachetype'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/statementtimeout.rb: -------------------------------------------------------------------------------- 1 | newproperty(:statementtimeout) do 2 | include EasyType 3 | 4 | desc 'Statement timeout' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['statementtimeout'] 8 | end 9 | 10 | end -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/testconnectionsonreserve.rb: -------------------------------------------------------------------------------- 1 | newproperty(:testconnectionsonreserve) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'the testconnectionsonreserve enabled on the jdbc driver' 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['testconnectionsonreserve'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/testfrequency.rb: -------------------------------------------------------------------------------- 1 | newproperty(:testfrequency) do 2 | include EasyType 3 | 4 | desc 'The number of seconds a WebLogic Server instance waits between attempts when testing unused connections. (Requires that you specify a Test Table Name.) Connections that fail the test are closed and reopened to re-establish a valid physical connection.' 5 | 6 | defaultto '120' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['testfrequency'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/testtablename.rb: -------------------------------------------------------------------------------- 1 | newproperty(:testtablename) do 2 | include EasyType 3 | 4 | desc 'The test table statement for the datasource' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['testtablename'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/url.rb: -------------------------------------------------------------------------------- 1 | newproperty(:url) do 2 | include EasyType 3 | 4 | desc 'The jdbc url' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['url'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/user.rb: -------------------------------------------------------------------------------- 1 | newproperty(:user) do 2 | include EasyType 3 | 4 | desc 'The datasource user name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['user'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_user) { "#{domain}/#{user}" } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_datasource/usexa.rb: -------------------------------------------------------------------------------- 1 | newproperty(:usexa) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'the UseXaDataSourceInterface enabled on the jdbc driver' 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['usexa'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_deployment/deployment_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:deployment_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The deployment name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/cdi_implicit_bean_discovery_enabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:cdi_implicit_bean_discovery_enabled) do 2 | include EasyType 3 | 4 | desc 'CDI implicit bean discovery enabled' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource['cdi_implicit_bean_discovery_enabled'] 8 | end 9 | 10 | end -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/exalogicoptimizationsenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:exalogicoptimizationsenabled) do 2 | include EasyType 3 | 4 | desc 'Enable or disabled exalogic optimizations' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['exalogicoptimizationsenabled'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/jmx_platform_mbean_server_enabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jmx_platform_mbean_server_enabled) do 2 | include EasyType 3 | 4 | desc 'Platform MBean server enabled' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['jmx_platform_mbean_server_enabled'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/jmx_platform_mbean_server_used.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jmx_platform_mbean_server_used) do 2 | include EasyType 3 | 4 | desc 'Platform MBean server used' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['jmx_platform_mbean_server_used'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/jpa_default_provider.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jpa_default_provider) do 2 | include EasyType 3 | 4 | desc 'The JPA default provider java class' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['jpa_default_provider'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/jta_max_transactions.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jta_max_transactions) do 2 | include EasyType 3 | 4 | desc 'The JTA transaction max transactions value' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['jta_max_transactions'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/jta_transaction_timeout.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jta_transaction_timeout) do 2 | include EasyType 3 | 4 | desc 'The JTA transaction timeout value' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['jta_transaction_timeout'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/log_domain_log_broadcast_severity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_domain_log_broadcast_severity) do 2 | include EasyType 3 | 4 | desc <<-EOD 5 | The minimum severity of log messages going to the domain log from this server's log broadcaster. 6 | 7 | EOD 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['log_domain_log_broadcast_severity'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/log_filename.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_filename) do 2 | include EasyType 3 | 4 | desc 'The domain log filename' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_filename'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/security_crossdomain.rb: -------------------------------------------------------------------------------- 1 | newproperty(:security_crossdomain) do 2 | include EasyType 3 | 4 | desc 'The cross domain enabled' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource['security_crossdomain'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/setarchiveconfigurationcount.rb: -------------------------------------------------------------------------------- 1 | newproperty(:setarchiveconfigurationcount) do 2 | include EasyType 3 | 4 | desc 'The amount of archived backups of the domain configuration file retained' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['setarchiveconfigurationcount'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/setconfigbackupenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:setconfigbackupenabled) do 2 | include EasyType 3 | 4 | desc 'Enable or disable configuration backup for the domain' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['setconfigbackupenabled'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/setconfigurationaudittype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:setconfigurationaudittype) do 2 | include EasyType 3 | 4 | desc 'The configuration audit type' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['setconfigurationaudittype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/setinternalappdeploymentondemandenable.rb: -------------------------------------------------------------------------------- 1 | newproperty(:setinternalappdeploymentondemandenable) do 2 | include EasyType 3 | 4 | desc 'Enable or disabled internal app deployment' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['setinternalappdeploymentondemandenable'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/web_app_container_show_archived_real_path_enabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:web_app_container_show_archived_real_path_enabled) do 2 | include EasyType 3 | 4 | desc 'Archived real path enabled' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['web_app_container_show_archived_real_path_enabled'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain/weblogic_domain_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:weblogic_domain_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'Domain name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition/domain_partition_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:domain_partition_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The domain partition group name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition/root_file_system.rb: -------------------------------------------------------------------------------- 1 | newproperty(:root_file_system) do 2 | include EasyType 3 | 4 | desc 'The resource domain partition file system' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['root_file_system'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition_resource_group/domain_partition_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:domain_partition_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The domain partition group name' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['domain_partition_name'] 11 | end 12 | 13 | end 14 | 15 | autorequire(:wls_domain_partition) { "#{domain}/#{domain_partition_name}" } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition_resource_group/resource_group_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:resource_group_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The resource group name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition_resource_group/resource_group_template.rb: -------------------------------------------------------------------------------- 1 | newproperty(:resource_group_template) do 2 | include EasyType 3 | 4 | desc 'The resource group template name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['resource_group_template'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_resource_group_template) { "#{domain}/#{resource_group_template}" } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition_resource_group_deployment/deployment_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:deployment_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The deployment name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition_resource_group_deployment/domain_partition_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:domain_partition_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The domain partition group name' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['domain_partition_name'] 11 | end 12 | 13 | end 14 | 15 | autorequire(:wls_domain_partition) { "#{domain}/#{domain_partition_name}" } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_domain_partition_resource_group_deployment/resource_group_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:resource_group_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The resource group name' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['resource_group_name'] 11 | end 12 | 13 | end 14 | 15 | autorequire(:wls_domain_partition_resource_group) { "#{domain}/#{domain_partition_name}:#{resource_group_name}" } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_dynamic_cluster/calculated_listen_port.rb: -------------------------------------------------------------------------------- 1 | newproperty(:calculated_listen_port) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'Set managed server ports is auto calculated' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['calculated_listen_port'] 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_dynamic_cluster/cluster_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:cluster_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The cluster name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_dynamic_cluster/maximum_server_count.rb: -------------------------------------------------------------------------------- 1 | newproperty(:maximum_server_count) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The maximum server count of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['maximum_server_count'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_dynamic_cluster/nodemanager_match.rb: -------------------------------------------------------------------------------- 1 | newproperty(:nodemanager_match) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The nodemanager match of this dynamic cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['nodemanager_match'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_dynamic_cluster/server_name_prefix.rb: -------------------------------------------------------------------------------- 1 | newproperty(:server_name_prefix) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The server name prefix of this dynamic cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['server_name_prefix'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_dynamic_cluster/server_template_name.rb: -------------------------------------------------------------------------------- 1 | newproperty(:server_template_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The server template name of this cluster' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['server_template_name'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_exec/cwd.rb: -------------------------------------------------------------------------------- 1 | 2 | newparam(:cwd) do 3 | 4 | desc <<-EOD 5 | The default directory from where the scripts will be run. If not specfied, this will be /tmp. 6 | EOD 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_exec/unless.rb: -------------------------------------------------------------------------------- 1 | 2 | newparam(:unless) do 3 | 4 | desc <<-EOD 5 | A statement to determine if the wls_exec must execute or not. 6 | 7 | If the statement returns something,the wls_exec is **NOT** executed. If the statement returns nothing, 8 | the specified wls_exec statement **IS** executed. 9 | 10 | The unless clause **must** be a valid WLST statement. An error in the query will result in 11 | a failure of the apply statement. 12 | 13 | EOD 14 | 15 | end 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_file_persistence_store/directory.rb: -------------------------------------------------------------------------------- 1 | newproperty(:directory) do 2 | include EasyType 3 | 4 | desc 'The file persistent store directory name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['directory'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:file) { directory } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_file_persistence_store/file_persistence_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:file_persistence_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The file persistence name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_jndi_provider/initial_context_factory.rb: -------------------------------------------------------------------------------- 1 | newproperty(:initial_context_factory) do 2 | include EasyType 3 | 4 | desc 'The initial context factory' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['initial_context_factory'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_jndi_provider/provider_url.rb: -------------------------------------------------------------------------------- 1 | newproperty(:provider_url) do 2 | include EasyType 3 | 4 | desc 'The URL to use for the Foreign JNDI provider' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['provider_url'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_jndi_provider/user.rb: -------------------------------------------------------------------------------- 1 | newproperty(:user) do 2 | include EasyType 3 | 4 | desc 'The user to use for the Foreign JNDI provider' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['user'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_jndi_provider_link/link_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:link_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The link name' 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_jndi_provider_link/local_jndi_name.rb: -------------------------------------------------------------------------------- 1 | newproperty(:local_jndi_name) do 2 | include EasyType 3 | 4 | desc 'The local jndi name to use for the Foreign JNDI provider link' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['local_jndi_name'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_jndi_provider_link/remote_jndi_name.rb: -------------------------------------------------------------------------------- 1 | newproperty(:remote_jndi_name) do 2 | include EasyType 3 | 4 | desc 'The remote jndi name to use for the Foreign JNDI provider link' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['remote_jndi_name'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_server/foreign_server_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:foreign_server_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'Foreign Server name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_server_object/foreign_server.rb: -------------------------------------------------------------------------------- 1 | newparam(:foreign_server) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['foreign_server'] 9 | end 10 | 11 | desc 'Foreign server name' 12 | 13 | end 14 | 15 | autorequire(:wls_foreign_server) { "#{domain}/#{jmsmodule}:#{foreign_server}" } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_server_object/localjndiname.rb: -------------------------------------------------------------------------------- 1 | newproperty(:localjndiname) do 2 | include EasyType 3 | 4 | desc 'The Local JNDI of the Foreign server object' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['localjndiname'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_server_object/object_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:object_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'Foreign Server Object name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_server_object/object_type.rb: -------------------------------------------------------------------------------- 1 | newproperty(:object_type) do 2 | include EasyType 3 | 4 | desc 'The object_type of a Foreign Server object' 5 | 6 | newvalues(:destination, :connectionfactory) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['object_type'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_foreign_server_object/remotejndiname.rb: -------------------------------------------------------------------------------- 1 | newproperty(:remotejndiname) do 2 | include EasyType 3 | 4 | desc 'The Remote JNDI of the Foreign server object' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['remotejndiname'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_group/description.rb: -------------------------------------------------------------------------------- 1 | newproperty(:description) do 2 | include EasyType 3 | 4 | desc 'The group description' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['description'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_group/group_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:group_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The group name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_identity_asserter/activetypes.rb: -------------------------------------------------------------------------------- 1 | newproperty(:activetypes) do 2 | include EasyType 3 | 4 | desc ':: seperated list of active types' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['activetypes'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_identity_asserter/attributes.rb: -------------------------------------------------------------------------------- 1 | newparam(:attributes) do 2 | include EasyType 3 | 4 | desc 'The extra authentication provider properties' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_identity_asserter/attributesvalues.rb: -------------------------------------------------------------------------------- 1 | newparam(:attributesvalues) do 2 | include EasyType 3 | 4 | desc 'The extra authentication provider property values' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_identity_asserter/authentication_provider_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:authentication_provider_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The authentication provider name' 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_identity_asserter/defaultmappertype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:defaultmappertype) do 2 | include EasyType 3 | 4 | desc 'the default mapper type' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['defaultmappertype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_identity_asserter/order.rb: -------------------------------------------------------------------------------- 1 | newproperty(:order) do 2 | include EasyType 3 | 4 | desc 'The order of the Authentication Provider (0 is highest)' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['order'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_identity_asserter/providerclassname.rb: -------------------------------------------------------------------------------- 1 | newparam(:providerclassname) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'The provider classname' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['providerclassname'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jdbc_persistence_store/datasource.rb: -------------------------------------------------------------------------------- 1 | newproperty(:datasource) do 2 | include EasyType 3 | 4 | desc 'The JDBC persistent store datasource' 5 | 6 | to_translate_to_resource do | raw_resource | 7 | raw_resource['datasource'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_datasource) { datasource } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jdbc_persistence_store/distribution_policy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:distribution_policy) do 2 | include EasyType 3 | 4 | desc 'The JDBC persistent store distribution policy' 5 | 6 | to_translate_to_resource do | raw_resource | 7 | raw_resource['distribution_policy'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jdbc_persistence_store/jdbc_persistence_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:jdbc_persistence_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The JDBC persistence name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jdbc_persistence_store/migration_policy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:migration_policy) do 2 | include EasyType 3 | 4 | desc 'The JDBC persistent store migration policy' 5 | 6 | to_translate_to_resource do | raw_resource | 7 | raw_resource['migration_policy'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jdbc_persistence_store/prefix_name.rb: -------------------------------------------------------------------------------- 1 | newproperty(:prefix_name) do 2 | include EasyType 3 | 4 | desc 'The JDBC persistent store prefix name' 5 | 6 | to_translate_to_resource do | raw_resource | 7 | raw_resource['prefix_name'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_bridge_destination/adapter.rb: -------------------------------------------------------------------------------- 1 | newproperty(:adapter) do 2 | include EasyType 3 | 4 | desc 'The JNDI name of the adapter used to communicate with the specified destination.' 5 | 6 | newvalues('eis.jms.WLSConnectionFactoryJNDINoTX', 'eis.jms.WLSConnectionFactoryJNDIXA') 7 | defaultto 'eis.jms.WLSConnectionFactoryJNDINoTX' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['adapter'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_bridge_destination/bridge_destination_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:bridge_destination_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The bridge destination name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_bridge_destination/connectionfactoryjndi.rb: -------------------------------------------------------------------------------- 1 | newproperty(:connectionfactoryjndi) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc "The connection factory's JNDI name for this JMS bridge destination." 7 | 8 | to_translate_to_resource do |raw_resource| 9 | raw_resource['connectionfactoryjndi'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_bridge_destination/destinationjndi.rb: -------------------------------------------------------------------------------- 1 | newproperty(:destinationjndi) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The destination JNDI name for this JMS bridge destination.' 7 | 8 | to_translate_to_resource do |raw_resource| 9 | raw_resource['destinationjndi'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_bridge_destination/destinationtype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:destinationtype) do 2 | include EasyType 3 | 4 | desc 'The destination type (queue or topic) for this JMS bridge destination.' 5 | 6 | newvalues('Queue', 'Topic') 7 | defaultto 'Queue' 8 | 9 | to_translate_to_resource do |raw_resource| 10 | raw_resource['destinationtype'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/attachjmsxuserid.rb: -------------------------------------------------------------------------------- 1 | newproperty(:attachjmsxuserid) do 2 | include EasyType 3 | 4 | desc 'attachjmsxuserid' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['attachjmsxuserid'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/clientid.rb: -------------------------------------------------------------------------------- 1 | newproperty(:clientid) do 2 | include EasyType 3 | 4 | desc 'clientid' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['clientid'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/clientidpolicy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:clientidpolicy) do 2 | include EasyType 3 | 4 | desc 'clientidpolicy' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['clientidpolicy'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/connection_factory_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:connection_factory_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The Connection Factory name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/defaultdeliverymode.rb: -------------------------------------------------------------------------------- 1 | newproperty(:defaultdeliverymode) do 2 | include EasyType 3 | 4 | desc 'The default delivery mode' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['defaultdeliverymode'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/defaultredeliverydelay.rb: -------------------------------------------------------------------------------- 1 | newproperty(:defaultredeliverydelay) do 2 | include EasyType 3 | 4 | desc 'The default redelivery delay' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['defaultredeliverydelay'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/defaultunitoforder.rb: -------------------------------------------------------------------------------- 1 | newproperty(:defaultunitoforder) do 2 | include EasyType 3 | 4 | desc 'The default unit of order' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['defaultunitoforder'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/loadbalancingenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:loadbalancingenabled) do 2 | include EasyType 3 | 4 | desc 'loadbalancingenabled' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['loadbalancingenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/localjndiname.rb: -------------------------------------------------------------------------------- 1 | newproperty(:localjndiname) do 2 | include EasyType 3 | 4 | desc 'The local jndi name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['localjndiname'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/messagesmaximum.rb: -------------------------------------------------------------------------------- 1 | newproperty(:messagesmaximum) do 2 | include EasyType 3 | include EasyType::Validators::Integer 4 | 5 | desc 'Maximum messages' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['messagesmaximum'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/reconnectpolicy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:reconnectpolicy) do 2 | include EasyType 3 | 4 | desc 'Reconnect policy' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['reconnectpolicy'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/serveraffinityenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:serveraffinityenabled) do 2 | include EasyType 3 | 4 | desc 'Server affinity enabled' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['serveraffinityenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/subscriptionsharingpolicy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:subscriptionsharingpolicy) do 2 | include EasyType 3 | 4 | desc 'Subscription sharing policy' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['subscriptionsharingpolicy'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/transactiontimeout.rb: -------------------------------------------------------------------------------- 1 | newproperty(:transactiontimeout) do 2 | include EasyType 3 | 4 | desc 'transaction timeout on the cf' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['transactiontimeout'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_connection_factory/xaenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:xaenabled) do 2 | include EasyType 3 | 4 | desc 'xa enabled on the cf' 5 | newvalues(1, 0) 6 | defaultto 1 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['xaenabled'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_module/jms_module_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:jms_module_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The jms module name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_queue/queue_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:queue_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The queue name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_quota/bytesmaximum.rb: -------------------------------------------------------------------------------- 1 | newproperty(:bytesmaximum) do 2 | include EasyType 3 | 4 | desc 'Quota Bytes Maximum' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['bytesmaximum'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_quota/messagesmaximum.rb: -------------------------------------------------------------------------------- 1 | newproperty(:messagesmaximum) do 2 | include EasyType 3 | 4 | desc 'Maximum messages' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['messagesmaximum'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_quota/policy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:policy) do 2 | include EasyType 3 | 4 | desc 'policy name of the Quota' 5 | 6 | newvalues('FIFO', 'PREEMPTIVE') 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['policy'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_quota/quota_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:quota_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The quota name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_quota/shared.rb: -------------------------------------------------------------------------------- 1 | newproperty(:shared) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | desc 'Shared Quota' 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['shared'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_security_policy/action.rb: -------------------------------------------------------------------------------- 1 | newparam(:action) do 2 | include EasyType 3 | 4 | desc 'action to apply authorization policy on for a queue or topic' 5 | 6 | newvalues(:send, :receive, :browse, :all) 7 | 8 | to_translate_to_resource do | raw_resource | 9 | raw_resource['action'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_security_policy/authorizationprovider.rb: -------------------------------------------------------------------------------- 1 | newparam(:authorizationprovider) do 2 | include EasyType 3 | 4 | desc 'The security authorization providers of the domain' 5 | 6 | defaultto 'XACMLAuthorizer' 7 | 8 | to_translate_to_resource do | raw_resource | 9 | raw_resource['authorizationprovider'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_security_policy/destinationtype.rb: -------------------------------------------------------------------------------- 1 | newparam(:destinationtype) do 2 | include EasyType 3 | 4 | desc 'The destination type of a jms resource (queue or topic)' 5 | 6 | newvalues(:queue, :topic) 7 | 8 | to_translate_to_resource do | raw_resource | 9 | raw_resource['destinationtype'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_security_policy/policyexpression.rb: -------------------------------------------------------------------------------- 1 | newproperty(:policyexpression) do 2 | include EasyType 3 | 4 | desc 'A string representation of an security authorization policy' 5 | 6 | to_translate_to_resource do | raw_resource | 7 | raw_resource['policyexpression'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_security_policy/resourcename.rb: -------------------------------------------------------------------------------- 1 | newparam(:resourcename) do 2 | include EasyType 3 | 4 | desc 'The name of the jms resource' 5 | 6 | to_translate_to_resource do | raw_resource | 7 | raw_resource['resourcename'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_sort_destination_key/key_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:key_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The key name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_sort_destination_key/key_type.rb: -------------------------------------------------------------------------------- 1 | newproperty(:key_type) do 2 | include EasyType 3 | 4 | desc 'The key type' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['key_type'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_sort_destination_key/property_name.rb: -------------------------------------------------------------------------------- 1 | newproperty(:property_name) do 2 | include EasyType 3 | 4 | desc 'The property' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['property_name'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_sort_destination_key/sort_order.rb: -------------------------------------------------------------------------------- 1 | newproperty(:sort_order) do 2 | include EasyType 3 | 4 | desc 'The sort order' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['sort_order'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_subdeployment/subdeployment_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:subdeployment_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The subdeployment name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_template/redeliverydelay.rb: -------------------------------------------------------------------------------- 1 | newproperty(:redeliverydelay) do 2 | include EasyType 3 | 4 | desc 'redelivery delay' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['redeliverydelay'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_template/redeliverylimit.rb: -------------------------------------------------------------------------------- 1 | newproperty(:redeliverylimit) do 2 | include EasyType 3 | 4 | desc 'redelivery limit' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['redeliverylimit'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_template/template_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:template_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The JMS Template name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_topic/errordestinationtype.rb: -------------------------------------------------------------------------------- 1 | newparam(:errordestinationtype) do 2 | include EasyType 3 | 4 | desc 'error destination jms type of the topic' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_topic/forwardingpolicy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:forwardingpolicy) do 2 | include EasyType 3 | 4 | desc 'forwardingpolicy of the topic, can only be set if the topic is distributed' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['forwardingpolicy'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jms_topic/topic_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:topic_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The topic name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/allows_persistent_downgrade.rb: -------------------------------------------------------------------------------- 1 | newproperty(:allows_persistent_downgrade) do 2 | include EasyType 3 | 4 | desc 'Specifies whether JMS clients will get an exception when sending persistent messages to a destination targeted to a JMS server that does not have a persistent store configured.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['allows_persistent_downgrade'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/bytes_maximum.rb: -------------------------------------------------------------------------------- 1 | newproperty(:bytes_maximum) do 2 | include EasyType 3 | 4 | desc 'Specifies whether message persistence is supported for this JMS server.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['bytes_maximum'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/consumptionpaused.rb: -------------------------------------------------------------------------------- 1 | newproperty(:consumptionpaused) do 2 | include EasyType 3 | 4 | desc <<-EOD 5 | 6 | EOD 7 | newvalues(1, 0, :default) 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['consumptionpaused'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/insertionpaused.rb: -------------------------------------------------------------------------------- 1 | newproperty(:insertionpaused) do 2 | include EasyType 3 | 4 | desc <<-EOD 5 | 6 | EOD 7 | newvalues(1, 0, :default) 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['insertionpaused'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/jmsserver_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:jmsserver_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The jmsserver_name name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/messages_maximum.rb: -------------------------------------------------------------------------------- 1 | newproperty(:messages_maximum) do 2 | include EasyType 3 | 4 | desc 'Specifies whether message persistence is supported for this JMS server.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['messages_maximum'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/persistentstore.rb: -------------------------------------------------------------------------------- 1 | newproperty(:persistentstore) do 2 | include EasyType 3 | 4 | desc 'The persistentstore name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['persistentstore'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/persistentstoretype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:persistentstoretype) do 2 | include EasyType 3 | 4 | desc 'The persistentstore type' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['persistentstoretype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/productionpaused.rb: -------------------------------------------------------------------------------- 1 | newproperty(:productionpaused) do 2 | include EasyType 3 | 4 | desc <<-EOD 5 | 6 | EOD 7 | newvalues(1, 0, :default) 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['productionpaused'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_jmsserver/store_enabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:store_enabled) do 2 | include EasyType 3 | 4 | desc 'Specifies whether message persistence is supported for this JMS server. only for wls 10.3' 5 | 6 | newvalues('0', '1') 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['store_enabled'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_machine/listenaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenaddress) do 2 | include EasyType 3 | 4 | desc 'The listenaddress of the machine' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['listenaddress'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_machine/listenport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenport) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'The listenport of the machine' 6 | defaultto 5556 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['listenport'].to_f.to_i 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_machine/machine_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:machine_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The machine name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_machine/machinetype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:machinetype) do 2 | include EasyType 3 | 4 | desc 'The machine type' 5 | defaultto 'UnixMachine' 6 | 7 | newvalues(:Machine, :UnixMachine) 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['machinetype'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_machine/nmtype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:nmtype) do 2 | include EasyType 3 | 4 | desc 'The nmtype of the machine' 5 | defaultto 'SSL' 6 | 7 | newvalues(:SSL, :Plain, :SSH, :RSH) 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['nmtype'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_mail_session/mailproperty.rb: -------------------------------------------------------------------------------- 1 | newproperty(:mailproperty, :array_matching => :all) do 2 | include EasyType 3 | 4 | desc 'The mail properties' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | unless raw_resource['mailproperty'].nil? 8 | raw_resource['mailproperty'].split(',') 9 | end 10 | end 11 | 12 | def insync?(is) 13 | is.sort == should.sort 14 | end 15 | 16 | end 17 | 18 | def mailproperty 19 | self[:mailproperty] ? self[:mailproperty].join(',') : '' 20 | end 21 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_mail_session/mailsession_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:mailsession_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The mail session name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/asyncenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:asyncenabled) do 2 | include EasyType 3 | 4 | desc 'Specifies if a messaging bridge instance forwards in asynchronous messaging mode' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['asyncenabled'] 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/batchinterval.rb: -------------------------------------------------------------------------------- 1 | newproperty(:batchinterval) do 2 | include EasyType 3 | 4 | desc 'The maximum amount of time, in milliseconds, that a messaging bridge instance waits before sending a batch of messages in one transaction, regardless of whether the Batch Size has been reached or not' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['batchinterval'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/batchsize.rb: -------------------------------------------------------------------------------- 1 | newproperty(:batchsize) do 2 | include EasyType 3 | 4 | desc 'The number of messages that are processed within one transaction.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['batchsize'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/bridge_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:bridge_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The bridge name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/durabilityenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:durabilityenabled) do 2 | include EasyType 3 | 4 | desc 'Specifies whether or not the messaging bridge allows durable messages' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['durabilityenabled'] 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/idletimemax.rb: -------------------------------------------------------------------------------- 1 | newproperty(:idletimemax) do 2 | include EasyType 3 | 4 | desc 'The maximum amount of time, in seconds, that a messaging bridge instance remains idle.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['idletimemax'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/preservemsgproperty.rb: -------------------------------------------------------------------------------- 1 | newproperty(:preservemsgproperty) do 2 | include EasyType 3 | 4 | desc 'Specifies if message properties are preserved when messages are forwarded by a bridge instance.' 5 | newvalues(1, 0) 6 | defaultto '0' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['preservemsgproperty'] 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/qos.rb: -------------------------------------------------------------------------------- 1 | newproperty(:qos) do 2 | include EasyType 3 | 4 | desc 'The QOS (quality of service) for this messaging bridge instance.' 5 | 6 | newvalues('Exactly-once', 'Atmost-once', 'Duplicate-okay') 7 | defaultto 'Exactly-once' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['qos'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/qosdegradationallowed.rb: -------------------------------------------------------------------------------- 1 | newproperty(:qosdegradationallowed) do 2 | include EasyType 3 | 4 | desc 'Specifies if this messaging bridge instance allows the degradation of its QOS (quality of service) when the configured QOS is not available.' 5 | newvalues(1, 0) 6 | defaultto '0' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['qosdegradationallowed'] 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/reconnectdelayincrease.rb: -------------------------------------------------------------------------------- 1 | newproperty(:reconnectdelayincrease) do 2 | include EasyType 3 | 4 | desc 'The incremental delay time, in seconds, that a messaging bridge instance increases its waiting time between one failed reconnection attempt and the next retry.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['reconnectdelayincrease'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/reconnectdelaymax.rb: -------------------------------------------------------------------------------- 1 | newproperty(:reconnectdelaymax) do 2 | include EasyType 3 | 4 | desc 'The longest time, in seconds, that a messaging bridge instance waits between one failed attempt to connect to the source or target, and the next retry.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['reconnectdelaymax'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/reconnectdelaymin.rb: -------------------------------------------------------------------------------- 1 | newproperty(:reconnectdelaymin) do 2 | include EasyType 3 | 4 | desc 'The minimum amount of time, in seconds, that a messaging bridge instance waits before it tries to reconnect to the source or target destination after a failure.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['reconnectdelaymin'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/selector.rb: -------------------------------------------------------------------------------- 1 | newproperty(:selector) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The filter for messages that are sent across the messaging bridge instance.' 7 | 8 | to_translate_to_resource do |raw_resource| 9 | raw_resource['selector'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/sourcedestination.rb: -------------------------------------------------------------------------------- 1 | newproperty(:sourcedestination) do 2 | include EasyType 3 | 4 | desc 'The source destination from which this messaging bridge instance reads messages.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['sourcedestination'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_jms_bridge_destination) { "#{domain}/#{sourcedestination}" if sourcedestination } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/started.rb: -------------------------------------------------------------------------------- 1 | newproperty(:started) do 2 | include EasyType 3 | 4 | desc 'Specifies the initial operating state of a targeted messaging bridge instance.' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['started'] 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/targetdestination.rb: -------------------------------------------------------------------------------- 1 | newproperty(:targetdestination) do 2 | include EasyType 3 | 4 | desc 'The target destination where a messaging bridge instance sends the messages it receives from the source destination.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['targetdestination'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_jms_bridge_destination) { "#{domain}/#{targetdestination}" if targetdestination } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_messaging_bridge/transactiontimeout.rb: -------------------------------------------------------------------------------- 1 | newproperty(:transactiontimeout) do 2 | include EasyType 3 | 4 | desc 'The amount of time, in seconds, that the transaction manager waits for each transaction before timing it out.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['transactiontimeout'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_migratable_target/cluster.rb: -------------------------------------------------------------------------------- 1 | newproperty(:cluster) do 2 | include EasyType 3 | 4 | desc 'The cluster this migratable tragte should be targetted to' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['cluster'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_migratable_target/migratable_target_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:migratable_target_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The name of this migratable target' 7 | end 8 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_migratable_target/migration_policy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:migration_policy) do 2 | include EasyType 3 | 4 | desc 'The migration policy for migratable target' 5 | 6 | newvalues(:'manual', :'exactly-once', :'failure-recovery') 7 | 8 | defaultto 'exactly-once' 9 | 10 | to_translate_to_resource do | raw_resource | 11 | raw_resource['migration_policy'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_migratable_target/number_of_restart_attempts.rb: -------------------------------------------------------------------------------- 1 | newproperty(:number_of_restart_attempts) do 2 | include EasyType 3 | 4 | desc 'number_of_restart_attempts' 5 | 6 | defaultto 2 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['number_of_restart_attempts'] 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_migratable_target/seconds_between_restarts.rb: -------------------------------------------------------------------------------- 1 | newproperty(:seconds_between_restarts) do 2 | include EasyType 3 | 4 | desc 'The amount of milliseconds to wait between attempts to migrate this migratable target' 5 | 6 | defaultto 300000 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['seconds_between_restarts'] 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_migratable_target/user_preferred_server.rb: -------------------------------------------------------------------------------- 1 | newproperty(:user_preferred_server) do 2 | include EasyType 3 | 4 | desc 'The preferred server to run this migratable target on' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['user_preferred_server'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_multi_datasource/algorithmtype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:algorithmtype) do 2 | include EasyType 3 | 4 | desc 'The algorithm determines the connection request processing for the multi data source' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource['algorithmtype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_multi_datasource/datasources.rb: -------------------------------------------------------------------------------- 1 | newproperty(:datasources, :array_matching => :all) do 2 | include EasyType 3 | 4 | desc 'The datasources that are part of the multi datasource' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | unless raw_resource['datasources'].nil? 8 | raw_resource['datasources'].split(',') 9 | end 10 | end 11 | 12 | end 13 | 14 | def datasources 15 | self[:datasources] ? self[:datasources].join(',') : '' 16 | end 17 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_multi_datasource/multi_datasource_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:multi_datasource_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The multi atasource name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_multi_datasource/testfrequency.rb: -------------------------------------------------------------------------------- 1 | newproperty(:testfrequency) do 2 | include EasyType 3 | 4 | desc 'The number of seconds a WebLogic Server instance waits between attempts when testing unused connections. ' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource['testfrequency'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_opatch/jdk_home_dir.rb: -------------------------------------------------------------------------------- 1 | newparam(:jdk_home_dir) do 2 | desc <<-EOT 3 | The JDK home folder. 4 | EOT 5 | end 6 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_opatch/oracle_product_home_dir.rb: -------------------------------------------------------------------------------- 1 | newparam(:oracle_product_home_dir) do 2 | desc <<-EOT 3 | The oracle product home folder. 4 | EOT 5 | end 6 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_opatch/orainst_dir.rb: -------------------------------------------------------------------------------- 1 | newparam(:orainst_dir) do 2 | desc <<-EOT 3 | The orainst folder. 4 | EOT 5 | end 6 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_opatch/os_user.rb: -------------------------------------------------------------------------------- 1 | newparam(:os_user) do 2 | desc <<-EOT 3 | The weblogic operating system user. 4 | EOT 5 | end 6 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_opatch/patch_id.rb: -------------------------------------------------------------------------------- 1 | newparam(:patch_id) do 2 | desc <<-EOT 3 | The patchId of the OPatch. 4 | EOT 5 | end 6 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_opatch/source.rb: -------------------------------------------------------------------------------- 1 | newparam(:source) do 2 | desc <<-EOT 3 | The source of the patch. Can be either an extracted folder or the raw zip file. 4 | EOT 5 | end 6 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_opatch/tmp_dir.rb: -------------------------------------------------------------------------------- 1 | newparam(:tmp_dir) do 2 | desc <<-EOT 3 | The tmp extract directory of the patch. 4 | EOT 5 | 6 | defaultto '/tmp' 7 | end 8 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_resource_group/resource_group_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:resource_group_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The resource group name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_resource_group/resource_group_template.rb: -------------------------------------------------------------------------------- 1 | newproperty(:resource_group_template) do 2 | include EasyType 3 | 4 | desc 'The resource group template name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['resource_group_template'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_resource_group_template) { "#{domain}/#{resource_group_template}" } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_resource_group_template/resource_group_template_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:resource_group_template_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The resource group template name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_resource_group_template_deployment/deployment_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:deployment_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The deployment name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_resource_group_template_deployment/resource_group_template_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:resource_group_template_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The resource group template name' 8 | 9 | end 10 | 11 | autorequire(:wls_resource_group_template) { "#{domain}/#{resource_group_template_name}" } 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_role/expression.rb: -------------------------------------------------------------------------------- 1 | newproperty(:expression) do 2 | include EasyType 3 | 4 | desc 'The expression used to specify the role' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['expression'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_role/role_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:role_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The role name' 7 | 8 | end 9 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_error_handler/error_handler_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:error_handler_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'SAF error handler name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_error_handler/logformat.rb: -------------------------------------------------------------------------------- 1 | newproperty(:logformat) do 2 | include EasyType 3 | 4 | desc 'logformat of the SAF imported destination' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['logformat'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_error_handler/policy.rb: -------------------------------------------------------------------------------- 1 | newproperty(:policy) do 2 | include EasyType 3 | 4 | desc 'policy of the SAF imported destination' 5 | 6 | newvalues(:'Discard', :'Log', :'Redirect', :'Always-forward') 7 | 8 | defaultto 'Discard' 9 | 10 | to_translate_to_resource do | raw_resource| 11 | raw_resource['policy'] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination/errorhandling.rb: -------------------------------------------------------------------------------- 1 | newproperty(:errorhandling) do 2 | include EasyType 3 | 4 | desc 'the SAF Error Handling of this SAF imported destination' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['errorhandling'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_saf_error_handler) { "#{domain}/#{jmsmodule}:#{errorhandling}" if errorhandling } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination/imported_destination_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:imported_destination_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'SAF imported destination name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination/jndiprefix.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jndiprefix) do 2 | include EasyType 3 | 4 | desc 'the SAF JNDI prefix of this SAF imported destination' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['jndiprefix'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination/remotecontext.rb: -------------------------------------------------------------------------------- 1 | newproperty(:remotecontext) do 2 | include EasyType 3 | 4 | desc 'the SAF Remote Context of this SAF imported destination' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['remotecontext'] 8 | end 9 | 10 | end 11 | 12 | # 13 | # Make sure the top level jms module is auto required 14 | # 15 | autorequire(:wls_saf_remote_context) { "#{domain}/#{jmsmodule}:#{remotecontext}" if remotecontext } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination/timetolivedefault.rb: -------------------------------------------------------------------------------- 1 | newproperty(:timetolivedefault) do 2 | include EasyType 3 | 4 | desc 'the SAF time to live default of this SAF imported destination' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['timetolivedefault'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination/usetimetolivedefault.rb: -------------------------------------------------------------------------------- 1 | newproperty(:usetimetolivedefault) do 2 | include EasyType 3 | 4 | desc 'use time to live default of this SAF imported destination' 5 | 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['usetimetolivedefault'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/imported_destination.rb: -------------------------------------------------------------------------------- 1 | newparam(:imported_destination) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['imported_destination'] 9 | end 10 | 11 | desc 'SAF imported destination name' 12 | 13 | end 14 | 15 | autorequire(:wls_saf_imported_destination) { "#{domain}/#{jmsmodule}:#{imported_destination}" } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/jmsmodule.rb: -------------------------------------------------------------------------------- 1 | newparam(:jmsmodule) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The JMS module name' 8 | 9 | to_translate_to_resource do |raw_resource| 10 | raw_resource['jmsmodule'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/localjndiname.rb: -------------------------------------------------------------------------------- 1 | newproperty(:localjndiname) do 2 | include EasyType 3 | 4 | desc 'The Local JNDI of the SAF imported destination object' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource['localjndiname'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/nonpersistentqos.rb: -------------------------------------------------------------------------------- 1 | newproperty(:nonpersistentqos) do 2 | include EasyType 3 | 4 | desc 'The QoS non persistent of the SAF imported destination object' 5 | 6 | newvalues(:"Exactly-Once", :"At-Least-Once", :"At-Most-Once") 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['nonpersistentqos'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/object_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:object_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'SAF imported destination Object name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/object_type.rb: -------------------------------------------------------------------------------- 1 | newproperty(:object_type) do 2 | include EasyType 3 | 4 | desc 'The object_type of the SAF imported destination object' 5 | 6 | newvalues(:queue, :topic) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['object_type'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/remotejndiname.rb: -------------------------------------------------------------------------------- 1 | newproperty(:remotejndiname) do 2 | include EasyType 3 | 4 | desc 'The Remote JNDI of the SAF imported destination object' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['remotejndiname'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/timetolivedefault.rb: -------------------------------------------------------------------------------- 1 | newproperty(:timetolivedefault) do 2 | include EasyType 3 | 4 | desc 'the SAF time to live default of this SAF imported destination' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['timetolivedefault'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/unitoforderrouting.rb: -------------------------------------------------------------------------------- 1 | newproperty(:unitoforderrouting) do 2 | include EasyType 3 | 4 | desc 'The unit of order routing of the SAF imported destination object' 5 | 6 | newvalues(:Hash, :PathService) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['unitoforderrouting'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_imported_destination_object/usetimetolivedefault.rb: -------------------------------------------------------------------------------- 1 | newproperty(:usetimetolivedefault) do 2 | include EasyType 3 | 4 | desc 'use time to live default of this SAF imported destination' 5 | 6 | newvalues(1, 0) 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['usetimetolivedefault'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_remote_context/connect_url.rb: -------------------------------------------------------------------------------- 1 | newproperty(:connect_url) do 2 | include EasyType 3 | 4 | desc 'The url to connect to' 5 | defaultto 't3://1.1.1.1:7001' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['connect_url'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_remote_context/remote_context_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:remote_context_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'SAF remote context name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_remote_context/weblogic_password.rb: -------------------------------------------------------------------------------- 1 | newparam(:weblogic_password) do 2 | include EasyType 3 | 4 | desc 'Remote WebLogic password' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['weblogic_password'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_saf_remote_context/weblogic_user.rb: -------------------------------------------------------------------------------- 1 | newproperty(:weblogic_user) do 2 | include EasyType 3 | 4 | desc 'the weblogic user account' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['weblogic_user'] 8 | end 9 | 10 | end 11 | 12 | autorequire(:wls_user) { "#{domain}/#{weblogic_user}" } 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_safagent/persistentstore.rb: -------------------------------------------------------------------------------- 1 | newproperty(:persistentstore) do 2 | include EasyType 3 | 4 | desc 'The persistentstore name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['persistentstore'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_safagent/persistentstoretype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:persistentstoretype) do 2 | include EasyType 3 | 4 | desc 'The persistentstore type' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['persistentstoretype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_safagent/safagent_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:safagent_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The SAF agent name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_safagent/servicetype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:servicetype) do 2 | include EasyType 3 | 4 | desc 'The service type' 5 | defaultto 'Both' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['servicetype'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/auto_restart.rb: -------------------------------------------------------------------------------- 1 | newproperty(:auto_restart) do 2 | include EasyType 3 | 4 | desc 'Should the server be restarted automatically.' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['auto_restart'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/autokillwfail.rb: -------------------------------------------------------------------------------- 1 | newproperty(:autokillwfail) do 2 | include EasyType 3 | 4 | desc 'Should the server be killed automatically on failure.' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['autokillwfail'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/bea_home.rb: -------------------------------------------------------------------------------- 1 | newproperty(:bea_home) do 2 | include EasyType 3 | 4 | desc 'The BEA home directory (path on the machine running Node Manager) to use when starting this server. ' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | return '' if raw_resource['bea_home'].nil? 8 | raw_resource['bea_home'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/custom_identity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:custom_identity) do 2 | include EasyType 3 | 4 | desc 'The custom_identity true or false' 5 | newvalues('1', '0', '-1') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['custom_identity'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/custom_identity_keystore_filename.rb: -------------------------------------------------------------------------------- 1 | newproperty(:custom_identity_keystore_filename) do 2 | include EasyType 3 | 4 | desc 'The custom identity keystore filename' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['custom_identity_keystore_filename'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/custom_identity_keystore_passphrase.rb: -------------------------------------------------------------------------------- 1 | newparam(:custom_identity_keystore_passphrase) do 2 | include EasyType 3 | 4 | desc 'The custom identity keystore passphrase' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/default_file_store.rb: -------------------------------------------------------------------------------- 1 | newproperty(:default_file_store) do 2 | include EasyType 3 | 4 | desc 'The path name to the file system directory where the file store maintains its data files.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['default_file_store'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/failure_action.rb: -------------------------------------------------------------------------------- 1 | newproperty(:failure_action) do 2 | include EasyType 3 | 4 | desc 'Failure action. ' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['failure_action'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/jsseenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:jsseenabled) do 2 | include EasyType 3 | 4 | desc 'The JSSE eenabled enabled on the server' 5 | newvalues('1', '0', '-1') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['jsseenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/listenaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenaddress) do 2 | include EasyType 3 | 4 | desc 'The listenaddress of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | return '' if raw_resource['listenaddress'].nil? 8 | raw_resource['listenaddress'] 9 | end 10 | 11 | def insync?(is) 12 | return true if is == '' and should == ' ' 13 | is == should 14 | end 15 | 16 | end 17 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/listenport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenport) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'The listenport of the server' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['listenport'].to_f.to_i 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/listenportenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenportenabled) do 2 | include EasyType 3 | 4 | desc 'If the listenport of the server is enabled' 5 | 6 | newvalues('1', '0', '-1') 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['listenportenabled'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_datasource_filename.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_datasource_filename) do 2 | include EasyType 3 | 4 | desc 'The datasource log file name of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_datasource_filename'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_http_file_count.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_http_file_count) do 2 | include EasyType 3 | 4 | desc 'The log http file name of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_http_file_count'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_http_filename.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_http_filename) do 2 | include EasyType 3 | 4 | desc 'The log http file name of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_http_filename'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_http_format.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_http_format) do 2 | include EasyType 3 | 4 | desc 'The log http format of the file name of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_http_format'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_http_format_type.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_http_format_type) do 2 | include EasyType 3 | 4 | desc 'The log format type of the http file name of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_http_format_type'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_http_number_of_files_limited.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_http_number_of_files_limited) do 2 | include EasyType 3 | 4 | desc 'The log http file name of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_http_number_of_files_limited'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_log_file_severity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_log_file_severity) do 2 | include EasyType 3 | 4 | desc <<-EOD 5 | The minimum severity of log messages going to the standard out. 6 | 7 | EOD 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['log_log_file_severity'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_redirect_stderr_to_server.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_redirect_stderr_to_server) do 2 | include EasyType 3 | 4 | desc 'When enabled, this redirects the stderr of the JVM in which a WebLogic Server instance runs, to the WebLogic logging system.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_redirect_stderr_to_server'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_redirect_stdout_to_server.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_redirect_stdout_to_server) do 2 | include EasyType 3 | 4 | desc 'When enabled, this redirects the stdout of the JVM in which a WebLogic Server instance runs, to the WebLogic logging system.' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_redirect_stdout_to_server'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_rotationdir.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_rotationdir) do 2 | include EasyType 3 | 4 | desc 'The log rotation dir of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['log_rotationdir'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/log_stdout_severity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:log_stdout_severity) do 2 | include EasyType 3 | 4 | desc <<-EOD 5 | The minimum severity of log messages going to the standard out. 6 | 7 | EOD 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['log_stdout_severity'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/logfilename.rb: -------------------------------------------------------------------------------- 1 | newproperty(:logfilename) do 2 | include EasyType 3 | 4 | desc 'The log file name of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['logfilename'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/logintimeout.rb: -------------------------------------------------------------------------------- 1 | newproperty(:logintimeout) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'The HTTP Login Timeout of the server in milliseconds' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['logintimeout'].to_f.to_i 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/machine.rb: -------------------------------------------------------------------------------- 1 | newproperty(:machine) do 2 | include EasyType 3 | 4 | desc 'The machine of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | return '' if raw_resource['machine'].nil? 8 | raw_resource['machine'] 9 | end 10 | 11 | end 12 | 13 | autorequire(:wls_machine) { "#{domain}/#{machine}" } 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/restart_max.rb: -------------------------------------------------------------------------------- 1 | newproperty(:restart_max) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'The number of times that the Node Manager can restart this server within the interval specified in Restart Interval. ' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['restart_max'].to_i 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/server_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:server_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The server name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/server_parameters.rb: -------------------------------------------------------------------------------- 1 | newproperty(:server_parameters) do 2 | include EasyType 3 | 4 | # Please note that we (mis)use the note field in WebLogic for this. 5 | desc 'The names of the components the server should be a target of' 6 | 7 | defaultto 'None' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['server_parameters'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/sslenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:sslenabled) do 2 | include EasyType 3 | 4 | desc 'The ssl enabled on the server' 5 | newvalues('1', '0', '-1') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['sslenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/sslhostnameverificationignored.rb: -------------------------------------------------------------------------------- 1 | newproperty(:sslhostnameverificationignored) do 2 | include EasyType 3 | 4 | desc 'The ssl hostname verification ignored enabled on the server' 5 | newvalues('1', '0', '-1') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['sslhostnameverificationignored'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/sslhostnameverifier.rb: -------------------------------------------------------------------------------- 1 | newproperty(:sslhostnameverifier) do 2 | include EasyType 3 | 4 | desc 'The sslhostnameverifier of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['sslhostnameverifier'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/ssllistenport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:ssllistenport) do 2 | include EasyType 3 | desc 'The server ssl port' 4 | 5 | to_translate_to_resource do | raw_resource| 6 | raw_resource['ssllistenport'] 7 | end 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/trust_keystore_file.rb: -------------------------------------------------------------------------------- 1 | newproperty(:trust_keystore_file) do 2 | include EasyType 3 | 4 | desc 'The trust keystore file' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['trust_keystore_file'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/trust_keystore_passphrase.rb: -------------------------------------------------------------------------------- 1 | newparam(:trust_keystore_passphrase) do 2 | include EasyType 3 | 4 | desc 'The trust keystore passphrase' 5 | 6 | end 7 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/tunnelingenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:tunnelingenabled) do 2 | include EasyType 3 | 4 | desc 'Enable tunneling to the server' 5 | 6 | newvalues('1', '0') 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['tunnelingenabled'] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/useservercerts.rb: -------------------------------------------------------------------------------- 1 | newproperty(:useservercerts) do 2 | include EasyType 3 | 4 | desc 'Use Server Certs option Enabled on the server' 5 | newvalues('1', '0') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['useservercerts'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server/weblogic_plugin_enabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:weblogic_plugin_enabled) do 2 | include EasyType 3 | 4 | desc 'The Weblogic Plugin Enabled on the server' 5 | newvalues('1', '0') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['weblogic_plugin_enabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/channel_identity_customized.rb: -------------------------------------------------------------------------------- 1 | newproperty(:channel_identity_customized) do 2 | include EasyType 3 | 4 | desc 'Override the server SSL Identity for this channel.' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['channel_identity_customized'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/channel_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:channel_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'Server channel name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/enabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:enabled) do 2 | include EasyType 3 | 4 | desc 'The channel enabled on the server' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['enabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/httpenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:httpenabled) do 2 | include EasyType 3 | 4 | desc 'The channel HTTP enabled on the server' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['httpenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/listenaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenaddress) do 2 | include EasyType 3 | 4 | desc 'The listenaddress of the server channel' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['listenaddress'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/listenport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenport) do 2 | include EasyType 3 | 4 | desc 'The channel listenport of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['listenport'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/outboundenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:outboundenabled) do 2 | include EasyType 3 | 4 | desc 'The channel outbound enabled on the server' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['outboundenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/protocol.rb: -------------------------------------------------------------------------------- 1 | newproperty(:protocol) do 2 | include EasyType 3 | 4 | desc 'The server channel protocol' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['protocol'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/publicaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:publicaddress) do 2 | include EasyType 3 | 4 | desc 'The public address of the server channel' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['publicaddress'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/publicport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:publicport) do 2 | include EasyType 3 | 4 | desc 'The channel public listen port of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['publicport'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/server.rb: -------------------------------------------------------------------------------- 1 | newparam(:server) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The server name' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['server'] 11 | end 12 | 13 | end 14 | 15 | autorequire(:wls_server) { "#{domain}/#{server}" } 16 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_channel/tunnelingenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:tunnelingenabled) do 2 | include EasyType 3 | 4 | desc 'The channel tunneling enabled on the server' 5 | newvalues(1, 0) 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['tunnelingenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_template/listenaddress.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenaddress) do 2 | include EasyType 3 | 4 | desc 'The listenaddress of the server' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['listenaddress'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_template/listenport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:listenport) do 2 | include EasyType 3 | include EasyType::Mungers::Integer 4 | 5 | desc 'The listenport of the server' 6 | defaultto 7001 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['listenport'].to_f.to_i 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_template/server_template.rb: -------------------------------------------------------------------------------- 1 | newparam(:server_template) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The server template name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_template/sslenabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:sslenabled) do 2 | include EasyType 3 | 4 | desc 'The ssl enabled on the server' 5 | newvalues('1', '0') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['sslenabled'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_template/ssllistenport.rb: -------------------------------------------------------------------------------- 1 | newproperty(:ssllistenport) do 2 | include EasyType 3 | desc 'The server ssl port' 4 | defaultto '7002' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['ssllistenport'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_tlog/server_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:server_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The server name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_tlog/tlog_datasource.rb: -------------------------------------------------------------------------------- 1 | newproperty(:tlog_datasource) do 2 | include EasyType 3 | 4 | desc 'The tlog datasource name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['tlog_datasource'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_tlog/tlog_datasource_prefix.rb: -------------------------------------------------------------------------------- 1 | newproperty(:tlog_datasource_prefix) do 2 | include EasyType 3 | 4 | desc 'The datasource prefix name for jdbc tlog' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['tlog_datasource_prefix'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_server_tlog/tlog_enabled.rb: -------------------------------------------------------------------------------- 1 | newproperty(:tlog_enabled) do 2 | include EasyType 3 | 4 | desc 'Enables jdbc tlog functionality' 5 | newvalues(true,false) 6 | 7 | defaultto 'false' 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource['tlog_enabled'] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/archive_path.rb: -------------------------------------------------------------------------------- 1 | newproperty(:archive_path) do 2 | include EasyType 3 | 4 | desc 'the archive path for WLST scripts we want to keep' 5 | 6 | defaultto '/tmp/orawls-archive' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource[self.name] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/connect_url.rb: -------------------------------------------------------------------------------- 1 | newproperty(:connect_url) do 2 | include EasyType 3 | 4 | desc 'The url to connect to' 5 | defaultto 't3://localhost:7001' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource[self.name] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/custom_trust.rb: -------------------------------------------------------------------------------- 1 | newproperty(:custom_trust) do 2 | include EasyType 3 | 4 | desc 'The custom trust enabled' 5 | 6 | newvalues(:true, :false) 7 | 8 | defaultto :false 9 | 10 | to_translate_to_resource do |raw_resource| 11 | raw_resource[self.name] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/debug_module.rb: -------------------------------------------------------------------------------- 1 | newproperty(:debug_module) do 2 | include EasyType 3 | 4 | desc 'Toggles retaining of WLST Python scripts' 5 | 6 | newvalues(:true, :false) 7 | defaultto :false 8 | 9 | to_translate_to_resource do | raw_resource| 10 | raw_resource[self.name] 11 | end 12 | 13 | end 14 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/extra_arguments.rb: -------------------------------------------------------------------------------- 1 | newproperty(:extra_arguments) do 2 | include EasyType 3 | 4 | desc 'extra arguments passed on to the wls deamon' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource[self.name] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/name.rb: -------------------------------------------------------------------------------- 1 | newparam(:name) do 2 | include EasyType 3 | 4 | desc 'The name of the setting' 5 | 6 | isnamevar 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource[self.name] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/post_classpath.rb: -------------------------------------------------------------------------------- 1 | newproperty(:post_classpath) do 2 | include EasyType 3 | 4 | desc 'the post classpath' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource[self.name] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/tmp_path.rb: -------------------------------------------------------------------------------- 1 | newproperty(:tmp_path) do 2 | include EasyType 3 | 4 | desc 'the tmp path for WLST output scripts' 5 | 6 | defaultto '/tmp' 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource[self.name] 10 | end 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/trust_keystore_file.rb: -------------------------------------------------------------------------------- 1 | newproperty(:trust_keystore_file) do 2 | include EasyType 3 | 4 | desc 'The trust keystore file' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource[self.name] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/trust_keystore_passphrase.rb: -------------------------------------------------------------------------------- 1 | newproperty(:trust_keystore_passphrase) do 2 | include EasyType 3 | 4 | desc 'The trust keystore passphrase' 5 | 6 | to_translate_to_resource do |raw_resource| 7 | raw_resource[self.name] 8 | end 9 | 10 | def change_to_s(currentvalue, newvalue) 11 | if currentvalue == :absent 12 | "set trust keystore passphrase" 13 | else 14 | "changed trust keystore passphrase" 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/use_default_value_when_empty.rb: -------------------------------------------------------------------------------- 1 | newproperty(:use_default_value_when_empty) do 2 | include EasyType 3 | 4 | desc 'Use default value when attribute value is not provided' 5 | 6 | newvalues(:true, :false) 7 | 8 | defaultto :true 9 | 10 | to_translate_to_resource do |raw_resource| 11 | raw_resource[self.name] 12 | end 13 | 14 | end 15 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/user.rb: -------------------------------------------------------------------------------- 1 | newproperty(:user) do 2 | include EasyType 3 | 4 | desc 'Operating System user' 5 | defaultto 'oracle' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource[self.name] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/weblogic_home_dir.rb: -------------------------------------------------------------------------------- 1 | newproperty(:weblogic_home_dir) do 2 | include EasyType 3 | 4 | desc 'The WLS homedir' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource[self.name] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_setting/weblogic_user.rb: -------------------------------------------------------------------------------- 1 | newproperty(:weblogic_user) do 2 | include EasyType 3 | 4 | desc 'the weblogic user account' 5 | defaultto 'weblogic' 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource[self.name] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_singleton_service/additional_migration_attempts.rb: -------------------------------------------------------------------------------- 1 | newproperty(:additional_migration_attempts) do 2 | include EasyType 3 | 4 | desc 'additional migration attempts' 5 | 6 | defaultto 2 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['additional_migration_attempts'] 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_singleton_service/class_name.rb: -------------------------------------------------------------------------------- 1 | newproperty(:class_name) do 2 | include EasyType 3 | 4 | desc 'The fully qualified classname of the singleton service' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['class_name'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_singleton_service/cluster.rb: -------------------------------------------------------------------------------- 1 | newproperty(:cluster) do 2 | include EasyType 3 | 4 | desc 'The cluster this singleton service should be targetted to' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['cluster'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_singleton_service/millis_to_sleep_between_attempts.rb: -------------------------------------------------------------------------------- 1 | newproperty(:millis_to_sleep_between_attempts) do 2 | include EasyType 3 | 4 | desc 'The amount of milliseconds to wait between attempts to migrate this singleton service' 5 | 6 | defaultto 300000 7 | 8 | to_translate_to_resource do | raw_resource| 9 | raw_resource['millis_to_sleep_between_attempts'] 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_singleton_service/notes.rb: -------------------------------------------------------------------------------- 1 | newproperty(:notes) do 2 | include EasyType 3 | 4 | desc 'Optional notes to attach to this singleton service for documentation purposes' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['notes'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_singleton_service/singleton_service_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:singleton_service_name) do 2 | include EasyType 3 | 4 | isnamevar 5 | 6 | desc 'The name of this singleton service' 7 | end 8 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_singleton_service/user_preferred_server.rb: -------------------------------------------------------------------------------- 1 | newproperty(:user_preferred_server) do 2 | include EasyType 3 | 4 | desc 'The preferred server to run this singleton service on' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['user_preferred_server'] 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_user/description.rb: -------------------------------------------------------------------------------- 1 | newproperty(:description) do 2 | include EasyType 3 | 4 | desc 'The user description' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['description'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_host/channel.rb: -------------------------------------------------------------------------------- 1 | newproperty(:channel) do 2 | include EasyType 3 | 4 | desc 'Server channel name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['channelname'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_host/virtual_host_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:virtual_host_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The virtual host name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_host/virtual_host_names.rb: -------------------------------------------------------------------------------- 1 | newproperty(:virtual_host_names, :array_matching => :all) do 2 | include EasyType 3 | 4 | desc 'virtual host names' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | unless raw_resource['virtualhostnames'].nil? 8 | raw_resource['virtualhostnames'].split(',') 9 | end 10 | end 11 | 12 | end 13 | 14 | def virtual_host_names 15 | self[:virtual_host_names] ? self[:virtual_host_names].join(',') : '' 16 | end 17 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_target/channel.rb: -------------------------------------------------------------------------------- 1 | newproperty(:channel) do 2 | include EasyType 3 | 4 | desc 'virtual target channel name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['channelname'] 8 | end 9 | 10 | defaultto 'PartitionChannel' 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_target/port.rb: -------------------------------------------------------------------------------- 1 | newproperty(:port) do 2 | include EasyType 3 | 4 | desc 'The port of the virtual target' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['port'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_target/portoffset.rb: -------------------------------------------------------------------------------- 1 | newproperty(:portoffset) do 2 | include EasyType 3 | 4 | desc 'The port offset of the virtual target' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['portoffset'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_target/uriprefix.rb: -------------------------------------------------------------------------------- 1 | newproperty(:uriprefix) do 2 | include EasyType 3 | 4 | desc 'The uri prefix of the virtual target' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['uriprefix'] 8 | end 9 | 10 | defaultto '/' 11 | 12 | end 13 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_target/virtual_host_names.rb: -------------------------------------------------------------------------------- 1 | newproperty(:virtual_host_names, :array_matching => :all) do 2 | include EasyType 3 | 4 | desc 'virtual target host names' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | unless raw_resource['virtualhostnames'].nil? 8 | raw_resource['virtualhostnames'].split(',') 9 | end 10 | end 11 | 12 | end 13 | 14 | def virtual_host_names 15 | self[:virtual_host_names] ? self[:virtual_host_names].join(',') : '' 16 | end 17 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_virtual_target/virtual_target_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:virtual_target_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The virtual target name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager/capacity.rb: -------------------------------------------------------------------------------- 1 | newproperty(:capacity) do 2 | include EasyType 3 | 4 | desc 'The capacity constraint name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['capacity'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager/fairsharerequestclass.rb: -------------------------------------------------------------------------------- 1 | newproperty(:fairsharerequestclass) do 2 | include EasyType 3 | 4 | desc 'The fairshare request class name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['fairsharerequestclass'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager/maxthreadsconstraint.rb: -------------------------------------------------------------------------------- 1 | newproperty(:maxthreadsconstraint) do 2 | include EasyType 3 | 4 | desc 'The max threads constraint name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['maxthreadsconstraint'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager/minthreadsconstraint.rb: -------------------------------------------------------------------------------- 1 | newproperty(:minthreadsconstraint) do 2 | include EasyType 3 | 4 | desc 'The min threads constraint name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['minthreadsconstraint'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager/stuckthreads.rb: -------------------------------------------------------------------------------- 1 | newproperty(:stuckthreads) do 2 | include EasyType 3 | 4 | desc 'The stuckthreads of a workmanager' 5 | newvalues('1', '0') 6 | 7 | to_translate_to_resource do | raw_resource| 8 | raw_resource['stuckthreads'] 9 | end 10 | 11 | end 12 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager/workmanager_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:workmanager_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The workmanager name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager_constraint/constrainttype.rb: -------------------------------------------------------------------------------- 1 | newproperty(:constrainttype) do 2 | include EasyType 3 | 4 | desc 'Workmanager constraint name' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['constrainttype'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager_constraint/constraintvalue.rb: -------------------------------------------------------------------------------- 1 | newproperty(:constraintvalue) do 2 | include EasyType 3 | 4 | desc 'The value of a workmanager constraint' 5 | 6 | to_translate_to_resource do | raw_resource| 7 | raw_resource['constraintvalue'] 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /lib/puppet/type/wls_workmanager_constraint/workmanager_constraint_name.rb: -------------------------------------------------------------------------------- 1 | newparam(:workmanager_constraint_name) do 2 | include EasyType 3 | include EasyType::Validators::Name 4 | 5 | isnamevar 6 | 7 | desc 'The workmanager constraint name' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /lib/utils/indent.rb: -------------------------------------------------------------------------------- 1 | String.class_eval do 2 | 3 | def indent(count, char = ' ') 4 | gsub(/([^\n]*)(\n|$)/) do |match| 5 | last_iteration = ($1 == "" && $2 == "") 6 | line = "" 7 | line << (char * count) unless last_iteration 8 | line << $1 9 | line << $2 10 | line 11 | end 12 | 13 | end 14 | 15 | end 16 | -------------------------------------------------------------------------------- /manifests/init.pp: -------------------------------------------------------------------------------- 1 | # 2 | # orawls module init class 3 | # 4 | # Is not used for now 5 | # 6 | class orawls { 7 | } 8 | -------------------------------------------------------------------------------- /spec/default_facts.yml: -------------------------------------------------------------------------------- 1 | # Use default_module_facts.yml for module specific facts. 2 | # 3 | # Facts specified here will override the values provided by rspec-puppet-facts. 4 | --- 5 | concat_basedir: "" 6 | ipaddress: "172.16.254.254" 7 | is_pe: false 8 | macaddress: "AA:AA:AA:AA:AA:AA" 9 | -------------------------------------------------------------------------------- /spec/defines/copydomain_spec.rb: -------------------------------------------------------------------------------- 1 | describe 'orawls::copydomain', :type => :define do 2 | 3 | end -------------------------------------------------------------------------------- /spec/defines/domain_spec.rb: -------------------------------------------------------------------------------- 1 | describe 'orawls::domain', :type => :define do 2 | 3 | end -------------------------------------------------------------------------------- /spec/functions/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore -------------------------------------------------------------------------------- /spec/hosts/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore -------------------------------------------------------------------------------- /templates/fmw_silent_mft_1213.rsp.epp: -------------------------------------------------------------------------------- 1 | <%- | String $middleware_home_dir, 2 | Optional[String] $oracleHome = undef, 3 | Optional[String] $install_type = undef, 4 | Optional[String] $weblogic_home_dir = undef | -%> 5 | [ENGINE] 6 | 7 | #DO NOT CHANGE THIS. 8 | Response File Version=1.0.0.0.0 9 | 10 | [GENERIC] 11 | 12 | #The oracle home location. This can be an existing Oracle Home or a new Oracle Home 13 | ORACLE_HOME=<%= $middleware_home_dir %> 14 | 15 | 16 | -------------------------------------------------------------------------------- /templates/utils/oraInst.loc.epp: -------------------------------------------------------------------------------- 1 | <%- | String $ora_inventory_dir, 2 | String $os_group = 'dba' | -%> 3 | inventory_loc=<%= $ora_inventory_dir %> 4 | inst_group=<%= $os_group %> 5 | -------------------------------------------------------------------------------- /templates/utils/rcu_passwords.txt.erb: -------------------------------------------------------------------------------- 1 | <%= @rcu_sys_password %> 2 | <% @componentsPasswords.each do |val| -%> 3 | <%= val %> 4 | <% end -%> -------------------------------------------------------------------------------- /templates/weblogic_silent_install.xml.epp: -------------------------------------------------------------------------------- 1 | <%- | String $middleware_home_dir, 2 | Optional[String] $install_type = 'WebLogic Server', 3 | Optional[String] $weblogic_home_dir = undef | -%> 4 | 5 | 6 | 7 | 8 | 9 | 10 | --------------------------------------------------------------------------------