Puppet Class: wls_profile::admin_server::wls_datasources
- Inherits:
- wls_profile
- Defined in:
- manifests/admin_server/wls_datasources.pp
Summary
This class is the default implementation for defining WebLogic datasources.Overview
+--
+
wls_profile::wls_datasources
Using hiera, you can customize some of the aspects of this process.
When these customizations aren't enough, you can replace the class with your own class. See wls_profile::weblogic for an explanation on how to do this.
–++–
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'manifests/admin_server/wls_datasources.pp', line 16
class wls_profile::admin_server::wls_datasources(
Hash $list,
) inherits wls_profile {
echo {"WebLogic Datasources ${list.keys.join(',')} ":
withpath => false,
}
#
# This is a simple way to get started. It is easy to get started, but
# soon your hiera yaml become a nightmare. Our advise is when you need
# to let puppet manage your tablespaces, to override this class and
# add your own puppet implementation. This is much better maintainable
# and adds more consistency,
#
create_resources(wls_datasource, $list)
}
|