View installPodman.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
function echoinfo() { | |
local GC="\033[1;32m" | |
local EC="\033[0m" | |
printf "${GC} ☆ INFO${EC}: %s${GC}\n${EC}" "$@"; | |
} | |
function echoerror() { | |
local RC="\033[1;31m" |
View refresh.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ----------- | |
-- System Name | |
-- ----------- | |
-- Persist the GUID across refreshes - used by the EMF Hub | |
UPDATE sysadm.psoptions | |
SET | |
guid = '<static guid>', | |
shortname = '<DBNAME>', | |
longname = '<Application> <Environment>', | |
systemtype = '<XLAT Types>', |
View renameIBnodes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ------------------------- | |
-- Rename Default Local Node | |
-- ------------------------- | |
-- Rename IB Nodes | |
UPDATE sysadm.psmsgnodedefn | |
SET | |
msgnodename = 'HNONPROD', | |
authoptn = 'P', |
View refreshtables.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- System Base Tables | |
ps.psdbowner | |
sysadm.psstatus | |
sysadm.psstatus | |
sysadm.psoprdefn | |
sysadm.psaccessprfl | |
sysadm.psaccessprofile | |
sysadm.psoptions | |
-- Branding |
View prebuild_cache.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function run_loadcache(){ | |
if [[ ${RESET} == 'true' ]]; then | |
echoinfo "Removing previous cache" | |
rm -rf ${PS_SERVDIR}/CACHE/1/*.DAT | |
rm -rf ${PS_SERVDIR}/CACHE/1/*.KEY | |
rm -rf ${PS_SERVDIR}/CACHE/STAGE/stage/*.DAT | |
rm -rf ${PS_SERVDIR}/CACHE/STAGE/stage/*.KEY | |
fi | |
View ca-apply-ptp.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-----------------------------------------------------------[Parameters]---------------------------------------------------------- | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)][String]$DATABASE, | |
[Parameter(Mandatory=$true)][String]$PT_VERSION, | |
[Parameter()][String]$CA_PATH = "C:\Program Files\PeopleSoft\Change Assistant" | |
) | |
#------------------------------------------------------------[Variables]---------------------------------------------------------- |
View create-ca-env.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-----------------------------------------------------------[Parameters]---------------------------------------------------------- | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)][String]$ACCESS_ID, | |
[Parameter(Mandatory=$true)][String]$ACCESS_PWD, | |
[Parameter(Mandatory=$true)][String]$CONNECT_ID, | |
[Parameter(Mandatory=$true)][String]$CONNECT_PWD, | |
[Parameter(Mandatory=$true)][String]$OPR_ID, | |
[Parameter(Mandatory=$true)][String]$OPR_PWD, |
View ps-hide-signon.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Toggle Login */ | |
function hideLogin(isHidden) { | |
if (isHidden) { | |
document.getElementsByClassName('ps_signinentry')[0].style.display = "none"; | |
document.getElementById('maint-mode').style.display = "block"; | |
} else { | |
document.getElementsByClassName('ps_signinentry')[0].style.display = "block"; | |
document.getElementById('maint-mode').style.display = "none"; | |
} | |
} |
View applyPT860.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#PSScriptInfo | |
.SYNOPSIS | |
Apply the PeopleTools 8.60 Upgrade Project | |
.DESCRIPTION | |
Automate the Change Assistant job that applies the PTU860 project to a database. | |
.PARAMETER DATABASE | |
Which database to encrypt the password | |
.PARAMETER PT_VERSION | |
PeopleTools version to apply | |
.PARAMETER CA_BASE |
View upgrade_acl.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: System-level read access | |
context: | |
application: rundeck | |
for: | |
project: | |
- allow: '.*' # allow view/admin of all projects | |
system: | |
- match: | |
name: '.*' | |
allow: [read,write,run,kill] |
NewerOlder