Skip to content

Instantly share code, notes, and snippets.

View matfrancs's full-sized avatar

Matias Cabezas matfrancs

View GitHub Profile
apiVersion: v1
data:
tls.crt: {{ .Values.tls.cert | b64enc }}
tls.key: {{ .Values.tls.cert | b64enc }}
kind: Secret
metadata:
name: {{ template "app.fullname" . }}-tls
type: kubernetes.io/tls
{{ $global := . }}
{{- define "float-marketing.ingress" }}
@matfrancs
matfrancs / keybase.md
Last active September 21, 2016 12:36

Keybase proof

I hereby claim:

  • I am matfrancs on github.
  • I am matfranc (https://keybase.io/matfranc) on keybase.
  • I have a public key whose fingerprint is 87BB D6F7 DB7E 559A 48C7 4D0B 7FF0 7AE3 F85E 6D2C

To claim this, I am signing this object:

test-soluscn288xen.accountservergroup.com
test-soluscn283xen-sl-london.accountservergroup.com
siteadmin-cloud-testing.accountservergroup.com
platinumhosting.webserversystems.com
floyd-hook-test.accountservergroup.com
main.webserversystems.com
hrvoje.known.pw
cpanel-cloud-testing.webserversystems.com
q21.webserversystems.com
serbs1.webserversystems.com
[root@maestro bin]# cat kniferemove.sh
#!/bin/bash
export CHEF_ENV=maestro
### Log in /var/log/chef/kniferemove.log
echo "#####################i#######################################################" | sudo tee -a /var/log/chef/kniferemove.log
echo "Node list from $(date)" | sudo tee -a /var/log/chef/kniferemove.log
echo "#############################################################################" | sudo tee -a /var/log/chef/kniferemove.log
root@bertoli [/etc/chef]# chef-client
Starting Chef Client, version 12.4.1
================================================================================
Chef encountered an error attempting to load the node data for "bertoli.accountservergroup.com"
================================================================================
Authentication Error:
---------------------
Failed to authenticate to the chef server (http 401).
root@bertoli [/etc/chef]# chef-client
Starting Chef Client, version 12.4.1
Creating a new client identity for bertoli.accountservergroup.com using the validator key.
[2016-01-19T11:10:46-06:00] WARN: Failed to read the private key /etc/chef/validation.pem: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/chef/validation.pem>
================================================================================
Chef encountered an error attempting to create the client "bertoli.accountservergroup.com"
================================================================================
Private Key Not Found:
matias.cabezas@core:~$ cat knifestatus.txt |grep hours| egrep "^[0-9]+3"
403643 hours ago, cpanel-testing.webserversystems.com.
403643 hours ago, sdfsjdfdlsk.woohoo.com.
403643 hours ago, test-soluscn288xen.accountservergroup.com.
403643 hours ago, siteadmin-cloud-testing.accountservergroup.com.
403643 hours ago, test-soluscn284xen-sl-london.accountservergroup.com.
403643 hours ago, test-soluscn290xen.accountservergroup.com.
403643 hours ago, test-soluscn283xen-sl-london.accountservergroup.com.
8372 hours ago, egypt.webserversystems.com, egypt.webserversystems.com, 108.174.157.100, centos 5.11.
7366 hours ago, main.webserversystems.com, main.webserversystems.com, 159.100.177.11, centos 5.11.
root@aphro [~]# php -i
phpinfo()
PHP Version => 5.3.29
System => Linux aphro.accountservergroup.com 3.14.25-grsec.3.el5 #1 SMP Wed Mar 4 21:32:41 GMT 2015 x86_64
Build Date => Sep 10 2015 12:53:58
Configure Command => './configure' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-wddx' '--enable-zip' '--prefix=/usr/local' '--with-libdir=lib64' '--with-bz2' '--with-curl=/opt/wwwh/libcurl' '--with-freetype-dir=/usr' '--with-gd' '--with-gmp' '--with-gettext' '--with-imap=/opt/wwwh/libimapc' '--with-imap-ssl' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-mcrypt=/opt/wwwh/libmcrypt' '--with-mm=/opt/wwwh/libmm' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/opt/wwwh/libopenssl' '--with-openssl-dir=/opt/wwwh/libopenssl' '--with-pcre-regex=/
root@bertoli [/usr/local/bin]# cat su_filter.sh
#!/bin/bash -e
# This script is called by /etc/pam.d/su in order
# to limit customer_services to only su into customer
# accounts.
SRC_USER="$PAM_RUSER"
DST_USER="$PAM_USER"
matias.cabezas@core:~$ ssh -vvv -p 8822 bertoli
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to bertoli [184.173.81.144] port 8822.
debug1: Connection established.
debug1: identity file /home/matias.cabezas/.ssh/id_rsa type -1
debug1: identity file /home/matias.cabezas/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier