Skip to content

Instantly share code, notes, and snippets.

View bastelfreak's full-sized avatar
🏠
Working from home

Tim Meusel bastelfreak

🏠
Working from home
View GitHub Profile
---
appveyor.yml:
delete: true
.vscode:
delete: true
.travis.yml:
delete: true
.devcontainer/Dockerfile:
delete: true
.devcontainer/devcontainer.json:
haproxy in front of CERN's puppetserves uses [puppetlabs-haproxy](https://forge.puppet.com/puppetlabs/haproxy)
## HaProxy Service
We use `rh-haproxy18-haproxy`
```puppet
exec{'/usr/bin/yum -y erase haproxy':
#!/bin/bash
echo "this is an awesome script"
exit 0

Keybase proof

I hereby claim:

  • I am bastelfreak on github.
  • I am bastelfreak (https://keybase.io/bastelfreak) on keybase.
  • I have a public key whose fingerprint is C10B 6298 A584 A563 2E25 4DA3 04D6 59E6 BF1C 4CC0

To claim this, I am signing this object:

# installimage - Style Guide
---
## Contents
+ [Indentation Guidelines](#indentation-guidelines)
+ [Multiline Output to File](#multiline-output-to-file)
+ [Functions](#functions)
+ [Escaping](#escaping)
+ [Preferred Usage of Bash Builtins](#preferred-usage-of-bash-builtins)
root@mysql02:~# puppet agent -t --debug
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/uuidgen does not exist
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
Debug: Failed to load library 'ldap' for feature 'ldap'
Debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
Debug: /User[puppet]: Provider useradd does not support features libuser; not managing attribute forcelocal
Debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist
@bastelfreak
bastelfreak / gist:8060271
Created December 20, 2013 19:45
trying to start puppetmasterd with puma
[root@puppet ~]# puma /usr/share/puppet/rack/puppetmasterd/config.ru
Puma starting in single mode...
* Version 2.7.1, codename: Earl of Sandwich Partition
* Min threads: 0, max threads: 16
* Environment: development
! Unable to load application
/usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- puppet/util/command_line (LoadError)
from /usr/local/rvm/rubies/ruby-2.0.0-p353/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/share/puppet/rack/puppetmasterd/config.ru:32:in `block in <main>'
from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
HOST:
fe80::5054:ff:fe90:7bfb dev virbr1 lladdr 52:54:00:90:7b:fb STALE
2a01:4f8:11a:b00::1 dev virbr1 FAILED
fe80::5054:ff:fe5a:d830 dev virbr1 lladdr 52:54:00:5a:d8:30 REACHABLE
2a01:4f8:11a:b00::1 dev enp5s0f0 lladdr 00:21:59:c1:53:d1 router REACHABLE
fe80::5054:ff:fe60:f7b1 dev virbr1 lladdr 52:54:00:60:f7:b1 STALE
fe80::5054:ff:fe62:6e2 dev virbr1 lladdr 52:54:00:62:06:e2 STALE
fe80::5054:ff:fe80:20f2 dev virbr1 lladdr 52:54:00:80:20:f2 STALE
2a01:4f8:11a:b01::1 dev virbr1 lladdr 52:54:00:5a:d8:30 STALE
fe80::5054:ff:fe8e:b13c dev virbr1 lladdr 52:54:00:8e:b1:3c STALE