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] |
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
filename="terraform-provider-oci_v3.85.0_x4" | |
git filter-branch --prune-empty -d /tmp/scratch \ | |
--index-filter "git rm --cached -f --ignore-unmatch $filename" \ | |
--tag-name-filter cat -- --all |
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
#!/usr/bin/env bash | |
# shellcheck disable=2059,2154,2034,2155,2046,2086 | |
#=============================================================================== | |
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 spelllang=en ft=sh | |
#=============================================================================== | |
# | |
# FILE: oci_fss_snapshots.sh | |
# | |
# USAGE: ./oci_fss_snapshots.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
#!/usr/bin/env bash | |
# shellcheck disable=2059,2154,2034,2155,2046,2086 | |
#=============================================================================== | |
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 spelllang=en ft=sh | |
#=============================================================================== | |
# | |
# Usage: scan_log4j.sh <Fix Y/N> <(Optional) Debug: true/false> | |
# | |
# Examples: | |
# Scan and Fix libraries |
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
set-location e:\psoft\dpk\puppet | |
# pia_domain_list | |
(get-content -Path .\modules\pt_profile\manifests\pt_pia.pp) -replace "hiera\(\'pia_domain_list\'\)", "lookup('pia_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_pia.pp | |
(get-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp) -replace "hiera\(\'pia_domain_list\'\)", "lookup('pia_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp | |
# appserver_domain_list | |
(get-content -Path .\modules\pt_profile\manifests\pt_appserver.pp) -replace "hiera\(\'appserver_domain_list\'\)", "lookup('appserver_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_appserver.pp | |
(get-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp) -replace "hiera\(\'appserver_domain_list\'\)", "lookup('appserver_domain_list', undef, undef, '')" | set-content -Path .\modules\pt_profile\manifests\pt_domain_boot.pp |
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
#!/usr/bin/env bash | |
# shellcheck disable=2059,2154,2034,2155,2046,2086 | |
#=============================================================================== | |
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 spelllang=en ft=sh | |
#=============================================================================== | |
# | |
# DESCRIPTION: Apply security and bug fixes to GitLab. | |
# | |
#=============================================================================== |
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
import PT_PC_UTIL:StringMap; | |
import PTEM_CONFIG:IEMConfigurationPlugin; | |
import PTEM_CONFIG:PTEMHelpMessage; | |
import PTEM_CONFIG:PTEMVariableProperty; | |
import PTEM_CONFIG:EMConfigurationPlugin; | |
class IOGatewayServiceURLs extends PTEM_CONFIG:EMConfigurationPlugin | |
method getPluginHelpMessage() Returns PTEM_CONFIG:PTEMHelpMessage; | |
method getProperties() Returns array of PTEM_CONFIG:PTEMVariableProperty; | |
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
# Escape any variables that are not passed by Terraform ($$) | |
$hostname = "${hostname}" | |
# Set NODENAME Env Var | |
[Environment]::SetEnvironmentVariable("NODENAME", $hostname) | |
[Environment]::SetEnvironmentVariable("NODENAME", $hostname, [System.EnvironmentVariableTarget]::Machine) | |
# Add hosts Entry | |
# This is needed so the pt_pia status checking works | |
# The cloned instance does not update hosts, so we do it ourselves |
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
-- Remove PRCS Request Submitted notifications | |
update sysadm.PSPTPNCOLLEVTS set event_name = ' ' where PTPNCOLLNAME = 'PRCSPTPNCOLLECTION'; | |
commit; | |
-- Validation: Collection PRCSPTPNCOLLECTION should have no event_name set | |
select * from sysadm.PSPTPNCOLLEVTS where PTPNCOLLNAME = 'PRCSPTPNCOLLECTION'; |
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
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# User specific aliases and functions | |
PATH=$PATH:/opt/puppetlabs/puppet/bin; export PATH | |
if tput setaf 1 &> /dev/null; then |