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
apiVersion: v1 | |
items: | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
kots.io/app-slug: cd4pe | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"kots.io/app-slug":"cd4pe"},"labels":{"app.kubernetes.io/name":"cd4pe","app.kubernetes.io/part-of":"cd4pe","kots.io/app-slug":"cd4pe","kots.io/backup":"velero"},"name":"cd4pe","namespace":"pam"},"spec":{"ports":[{"name":"cd4pe-web","port":8080,"targetPort":"cd4pe-web"},{"name":"cd4pe-backend","port":8000,"targetPort":"cd4pe-backend"}],"selector":{"app.kubernetes.io/name":"cd4pe","app.kubernetes.io/part-of":"cd4pe"},"type":"ClusterIP"}} | |
creationTimestamp: "2021-10-21T22:21:52Z" |
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
# This is the backend application we are protecting with OpenID Connect | |
upstream pe { | |
zone pe 64k; | |
server localhost:443; | |
} | |
# Custom log format to include the 'sub' claim in the REMOTE_USER field | |
log_format main_jwt '$remote_addr - $jwt_claim_sub [$time_local] "$request" $status ' | |
'$body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"'; |
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
[root@pe-compiler-3d68c4-2 ~]# puppet agent -t | |
Info: Using configured environment 'production' | |
Info: Retrieving pluginfacts | |
Info: Retrieving plugin | |
Info: Retrieving locales | |
Info: Loading facts | |
Info: Caching catalog for pe-compiler-3d68c4-2.us-west1-c.c.slice-cody.internal | |
Info: Applying configuration version '1604615464' | |
Notice: /Stage[main]/Puppet_enterprise::Profile::Master::Puppetdb/Pe_ini_setting[puppetdb.conf_server_urls]/value: value changed 'https://pe-compiler-3d68c4-2.us-west1-c.c.slice-cody.internal:8081' to 'https://pe-master-3d68c4-0.us-west1-a.c.slice-cody.internal:8081' | |
Info: Class[Puppet_enterprise::Profile::Master::Puppetdb]: Scheduling refresh of Service[pe-puppetserver] |
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
{ | |
"request": { | |
"type": "list" | |
}, | |
"status": 200, | |
"timestamp": 1602872954, | |
"value": { | |
"JMImplementation": { | |
"type=MBeanServerDelegate": { | |
"attr": { |
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
{ | |
"swagger" : "2.0", | |
"info" : { | |
"title" : "PowerStore REST API", | |
"description" : "Storage cluster REST API definition.", | |
"version" : "1.0", | |
"license" : { | |
"name" : "End User License Agreement", | |
"url" : "/locales/en-US/eula.txt" | |
} |
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
powerstore_nas_server { 'string': | |
backup_i_pv4_interface_id => 'string', | |
backup_i_pv6_interface_id => 'string', | |
current_node_id => 'string', | |
current_unix_directory_service => 'None', | |
default_unix_user => 'string', | |
default_windows_user => 'string', | |
description => 'string', | |
is_auto_user_mapping_enabled => false, | |
is_username_translation_enabled => false, |
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
default 10:24:15.630332-0700 Cisco AnyConnect Secure Mobility Client Function: launchRemoteCSDStub File: ../../vpn/Api/ConnectMgr.cpp Line: 9632 Downloading CSD update. | |
default 10:24:15.630389-0700 Cisco AnyConnect Secure Mobility Client Function: getCSDStub File: ../../vpn/Api/ConnectIfc.cpp Line: 1751 CSD Stub located | |
error 10:24:15.802284-0700 Cisco AnyConnect Secure Mobility Client Function: SendRequest File: ../../vpn/Api/CTransportCurlStatic.cpp Line: 1924 CURL error: 22 = The requested URL returned error: 404 Not Found | |
error 10:24:15.802397-0700 Cisco AnyConnect Secure Mobility Client Function: SendRequest File: ../../vpn/Api/CTransportCurlStatic.cpp Line: 2010 Invoked Function: curl_easy_perform Return Code: -29949899 (0xFE370035) Description: CTRANSPORT_ERROR_HTTP_RETURNED_ERROR:The HTTP server returned an error code (>= 400) HTTP status code received 404 | |
error 10:24:15.802440-0700 Cisco AnyConnect Secure Mobility Client Function: sendRequest File: ../../vpn/Api/ConnectIfc.cpp Line: 3352 Invoked Func |
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
# /etc/puppetlabs/code/environments/production/modules/mymodule/lib/puppet/functions/mymodule/upcase.rb | |
require 'cassandra' | |
require 'json' | |
require 'yaml' | |
class MetadataServiceSessionAdapter < Puppet::Pops::Adaptable::Adapter | |
attr_accessor :session | |
end | |
Puppet::Functions.create_function(:'puppet_metadata_service::data_hash', Puppet::Functions::InternalFunction) do |
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
[root@pe-compiler-0bdfdb-0 production]# FACTER_fqdn=testnode1.example.com puppet apply -e 'class test($value3, $value2) { notice($value3, $value2) }; include test; notice(lookup(test::value1))' --debug --trace | |
--- | |
Debug: Automatic Parameter Lookup of 'test::value3' | |
Searching for "lookup_options" | |
Global Data Provider (hiera configuration version 5) | |
Using configuration "/etc/puppetlabs/puppet/hiera.yaml" | |
Hierarchy entry "Classifier Configuration Data" | |
No such key: "lookup_options" | |
Environment Data Provider (hiera configuration version 5) |
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
# /etc/puppetlabs/code/environments/production/modules/mymodule/lib/puppet/functions/mymodule/upcase.rb | |
require 'cassandra' | |
require 'json' | |
require 'yaml' | |
Puppet::Functions.create_function(:'puppet_metadata_service::data_hash') do | |
dispatch :hiera_data do | |
param 'Hash', :options | |
param 'Puppet::LookupContext', :context |
NewerOlder