Skip to content

Instantly share code, notes, and snippets.

Dan Iverson iversond

Block or report user

Report or block iversond

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
iversond / prompt.bashrc
Created Apr 20, 2019
My preferred bash prompt
View prompt.bashrc
PS1=$'\\[\\033]0;\\W\\007\\]\\[\E[1m\\]\\n\\[\E[38;5;166m\\]\\u\\[\E[97m\\] at \\[\E[38;5;136m\\]\\h\\[\E[97m\\] in \\[\E[38;5;64m\\]\\w\\n\\[\E[97m\\]$ \\[\E(B\E[m\\]'
PS2=$'\\[\E[38;5;136m\\]\206\222 \\[\E(B\E[m\\]'
PS4='+ '
View gist:01c5a80e0a85d040229be50761b652e1
// slack2html
// by @levelsio
iversond / domains.yaml
Last active Sep 18, 2019
Default domain configuration for the DPK. Used with Hiera Hashing to allow environments to overrride/add to the defaults
View domains.yaml
# TNSnames.ora
db_host: "%{hiera('db_server')}"
db_port: "%{hiera('db_port')}"
db_protocol: TCP
db_service_name: "%{hiera('db_name')}"
# Application Servers
iversond / common.yaml
Created Jan 22, 2019
Common configuration shared across all DPK environments
View common.yaml
ensure: present
env_type: midtier
server_type: "%{::ps_role}"
domain_type: "%{::ps_role}"
region: "%{::region}"
peoplesoft_base: c:/psft
peoplesoft_base_norm: "c:\\psft"
unicode_db: false
iversond / applyPT856Upgrade.ps1
Created Aug 31, 2018
Powershell script to run the PeopleTools 8.56 Upgrade job headlessly. A few assumptions with the script: All manual steps are marked as complete.; your PT Client installs are at c:\client-8.xx.xx
View applyPT856Upgrade.ps1
Apply the PeopleTools 8.56 Upgrade Project
Automate the Change Assistant job that applies the PTU856 project to a database.
Which database to encrypt the password
PeopleTools version to apply
iversond / fixRubyGems.ps1
Created Mar 26, 2018
Script to download the updated CA file to RubyGems on Windows will work. From the blog post:
View fixRubyGems.ps1
$CACertFile = Join-Path -Path $ENV:AppData -ChildPath 'RubyCACert.pem'
If (-Not (Test-Path -Path $CACertFile)) {
"Downloading CA Cert bundle.."
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri '' -UseBasicParsing -OutFile $CACertFile | Out-Null
"Setting CA Certificate store set to $CACertFile.."
iversond /
Last active Apr 23, 2018
psadmin.conf 2018 Session Descriptions

Implementing DPK To Build PeopleSoft Servers at Capella University

Peyton Colburn

(Sunday Session)

This session will cover seven lessons we learned from implementing the Deployment Packages. We will discuss how we got management buy-in, how we work collaboratively on the DPK, what resourses we used to learn Puppet, how we structured our Hiera data, and how to bring the entire PS Admin team up to speed.

Running a PeopleSoft Elasticsearch Cluster on Kubernetes

iversond / app.rb
Created Mar 2, 2018
Custom facter fact to return the first 2 characters as the Fact `app`
View app.rb
Facter.add(:app) do
setcode do
app = Facter.value(:hostname)[0..1]
if app.downcase.match(/lm/)
app = "hr"
View psadmin.conf.2018.yaml
title: 'psadmin.conf'
version: '2018'
description: 'The only conference for PeopleSoft Administrators.'
long_description: >
psadmin.conf is a conference specifically for PeopleSoft Administrators.
The conference features talks from expert admins on a variety of topics.
The goal of the conference is to expand your knowledge of PeopleSoft
Administration and network with admins from around the country.
iversond / enableRubyGems.ps1
Last active Nov 22, 2017
For DPK installations on Windows, this script will fix the RubyGems CA issue and add the Puppet-based RubyGems location to `PATH`
View enableRubyGems.ps1
# Enable RubyGems
# The RubyGems included with the DPK can't download from due to an oudated SSL Certificate
# invoke-webrequest -outfile $env:TEMP\enableRubyGems.ps1; . $env:TEMP\enableRubyGems.ps1
$puppetGemFolder = Resolve-Path 'C:\Program Files\Puppet Labs\Puppet\sys\ruby\lib\ruby\*\rubygems\ssl_certs\'
Invoke-WebRequest -OutFile $puppetGemFolder\RubyGemsCA.pem
You can’t perform that action at this time.