Skip to content

Instantly share code, notes, and snippets.

View cbrinker's full-sized avatar

Chris Brinker cbrinker

  • Google
  • Sunnyvale, CA
View GitHub Profile
This file has been truncated, but you can view the full file.
A
a
aa
aal
aalii
aam
Aani
aardvark
aardwolf
Aaron
Loaded plugins: priorities, update-motd, upgrade-helper, versionlock
664 packages excluded due to repository priority protections
Loaded plugins: priorities, update-motd, upgrade-helper, versionlock
664 packages excluded due to repository priority protections
Loaded plugins: priorities, update-motd, upgrade-helper, versionlock
664 packages excluded due to repository priority protections
Loaded tool drivers:
Action Chkconfig POSIX POSIXUsers VCS YUM
@cbrinker
cbrinker / gist:2b2aad1084e9e5c768a5
Created July 1, 2014 22:21
bcfg2-server is reporting an error like this for the end of about 10% of my client runs. bcfg2-server-1.3.3-5.el6.noarch
Client metadata resolution error for SERVER_NAME: Cannot add new client SERVER_NAME; no default group set
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Bcfg2/Server/Core.py", line 882, in build_metadata#012
imd = self.metadata.get_initial_metadata(client_name)
File "/usr/lib/python2.6/site-packages/Bcfg2/Server/Plugins/Metadata.py", line 1207, in get_initial_metadata
"Cannot add new client %s; no default group set" % client)
MetadataConsistencyError: Cannot add new client SERVER_NAME; no default group set
Installing: python-psutil-0.6.1-1.el6.x86_64
Installing: python-netifaces-0.5-1.el6.x86_64
Installing: stackdriver-agent-5.3.0-157.el6.x86_64
Error in POSTIN scriptlet in rpm package stackdriver-agent-5.3.0-157.el6.x86_64
Installing: stackdriver-extractor-44-1.el6.noarch
Error in POSTIN scriptlet in rpm package stackdriver-extractor-44-1.el6.noarch
*** glibc detected *** /usr/bin/python2.6: corrupted double-linked list: 0x00000000023af200 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x793b6)[0x7fce16c633b6]
/lib64/libc.so.6(+0x7b72c)[0x7fce16c6572c]
- hosts: '*eb-*'
sudo: yes
roles:
- { role: httpd, tags: ["httpd"] }
- { role: eb, tags: ["eb"] }
- hosts: '*-pkg-*'
sudo: yes
roles:
- { role: pkg-server, tags: ["package-server"] }
$ cat group_vars/all
foo: bar
$ cat test.yml
---
# file: test.yml
- hosts: localhost
tasks:
- name: Create foo
template: src=foo.j2 dest=/tmp/foo
//usr/share/bcfg2/xsl-transforms/ nodes-digest-www.xsl nodes-digest <lxml.etree._ElementTree object at 0x270f908>
Traceback (most recent call last):
File "/usr/sbin/bcfg2-build-reports", line 279, in <module>
stylesheet = XSLT(p)
File "xslt.pxi", line 395, in lxml.etree.XSLT.__init__ (src/lxml/lxml.etree.c:107850)
File "lxml.etree.pyx", line 228, in lxml.etree._ExceptionContext._raise_if_stored (src/lxml/lxml.etree.c:6786)
lxml.etree.XSLTParseError: Cannot resolve URI /usr/share/bcfg2/xsl-transforms/xsl-transform-includes/html-templates.xsl
==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing:
bcfg2-server noarch 1.1.3-1.el6 epel 337 k
Installing for dependencies:
avahi-libs x86_64 0.6.25-11.12.amzn1 amzn-main 52 k
cairo
char *c[]= {"ENTER", "NEW", "POINT", "FIRST", };
char **cp[]= {c + 3, c + 2, c + 1, c};
char ***cpp= cp;
main()
{
printf("%s", **++cpp);
printf("%s ", *--*++cpp + 3);
printf("%s", *cpp[-2] + 3);
printf("%s\n", cpp[-1][-1] + 1);
}
@cbrinker
cbrinker / gist:1248714
Created September 28, 2011 18:09
.screenrc
# ------------------------------------------------------------------------------
# SCREEN BOOLEANS
# ------------------------------------------------------------------------------
startup_message off # Show copyright during strartup?
deflogin off # Is window Logged in?
autodetach on # Autodetach upon hangup
crlf off # Copying of text regions with cr or just lf
vbell off # Visual Bell off, (Using Audio Bell)
defutf8 on # Run everything in unicode, allowing display of i18n
#nethack on # More entertaining messaging