This repository is a collection of custom ACM plug-ins. The PeopleCode is in plain text files can be copied into a custom PTEM_CONFIG%
application package.
- Navigation to "PeopleTools > Automated Config Manager > ACM Utilities > Manage Plugins"
- Enter the name of the ACM App Class and a description.
- Click "Add to Group" and select (or create) an ACM Group to add the plugin to.
- Click Save.
The plugin will be available on ACM templates.
This plug has 5 parameters:
gateway_host
: URL for Gatewaygateway_port
: 8000gateway_ssl_port
: 8443use_ssl_gateway
: false|truedefault_local_node
: '%LocalNode'
gateway_port
: 8000 # This is the local PIA HTTP portgateway_ssl_port
: 443 # This is the Load Balancer HTTPS portlb_gateway_url
: "%{hiera('dns_name')}"use_ssl_gateway
: truedefault_local_node
: "%{hiera('gateway_node_name')}"enable_lb_gateway
: true|falsegateway_lb_host
: "%{::fqdn}" # This host will be added to the list of IB Gateways that are load balanced
This plugin has four parameters:
distnodename
: The name of the Report Nodeopsys
: (Not used)winnetworkpath
: The file path to the Report Repositoryurl
: The URL for thepsreports
servlet
This plugin has one parameter: tablelist
. tablelist
takes a comma separated list of table names and will run truncate table %table(&tablename)
for each table in the list.
This plugin requires the following parameters:
webprofilename
: The webprofile to add authorized sitesauthorized_sites_count
: The number of authorized site entriessite1_authsiteproto
: 'H' for HTTP or 'S' for HTTPSsite1_authsitehostname
: The authorized site hostsite1_authsiteportnum
: The authorized site portsite1_ptcorstype
: CORS Checkbox 'Y' or 'N'site1_ptsecuritytype1
: Framable Checkbox 'Y' or 'N'site1_ptsecuritytype2
: CheckToken Checkbox 'Y' or 'N'
Repeat siteX_*
parameters for each authorized site entry (matching number in authorized_sites_count
)
This plugin requires the following parameters:
servername
: Process Scheduler server to configuredaemonenabled
: Enabled? '0' or '1'daemonsleeptime
: Number, sleep timedaemoncyclecnt
: Number, recycle countdaemonprcsinst
: Number, Daemon process instancedaemongroup
: String, Daemon process group
Add the code as an AppClass to PTEM_CONFIG
and you can reference the plugin like any delivered plugin.
component_postboot_setup_list:
integration_broker_lb:
run_control_id: intbroker_lb
os_user: "%{hiera('domain_user')}"
db_settings:
db_name: "%{hiera('db_name')}"
db_type: "%{hiera('db_platform')}"
db_opr_id: "%{hiera('db_user')}"
db_opr_pwd: "%{hiera('db_user_pwd')}"
db_connect_id: "%{hiera('db_connect_id')}"
db_connect_pwd: "%{hiera('db_connect_pwd')}"
acm_plugin_list:
IOGatewayLBURLs:
env.gateway_port: "%{hiera('pia_http_port')}"
env.gateway_ssl_port: 443
env.lb_gateway_url: "%{hiera('dns_name')}"
env.use_ssl_gateway: true
env.default_local_node: "%{hiera('gateway_node_name')}"
env.enable_lb_gateway: true
env.gateway_lb_host: "%{::fqdn}"
acm_plugin_order:
- IOGatewayLBURLs
component_postboot_setup_order:
- integration_broker_lb