Ever wanted to squash the first two commits with a “git rebase -i”? No? Me neither. Until today. Stackoverflow to the rescue: git rebase -i –root Done.
Month: July 2015
Puppet spec fixtures
That’s how you specify branches in puppetlabs’ spec_helper fixtures.yml: fixtures: forge_modules: stdlib: repo: “puppetlabs/stdlib” ref: “4.6.0” symlinks: mapr_helpers: “#{source_dir}” repositories: mapr: repo: “http://myurl/puppet-mapr.git” # this is a branch. stolen from: don’t remember. ref: ‘remotes/origin/ab/devel’
Docker, http and TLS
Today seems to be “annoyme-day”. This error message with docker: $ docker push myrepo.com:5000/name/image Post http:///var/run/docker.sock/v1.19/images/myrepo.com:5000 \ /name/image/push?tag=: read unix /var/run/docker.sock: \ connection reset by peer. Are you trying to connect to \ a TLS-enabled daemon without TLS? … does not necessarily mean that we use http:// instead of https://. It can also mean that […]
If you want to download and save it so <something> stops f*cking bugging you, you need to have it. Here’s a quick way. Shamelessly stolen from here: http://is.gd/A11rNR openssl s_client -host google.com -port 443 -prexit -showcerts
Docker and proxies
… so I don’t forget. “docker pull” will not use the HTTP_PROXY variable. Why? Because “docker” is just the cli program which tells the daemon what to do. And the daemon probably does not know about the variable if just set in the terminal. So, what to do to make docker use it described pretty […]
Puppet Quiz: What’s wrong here?
The error is: Dependency cycle. The code is: class my::own::docker { include ::docker file { ‘/var/lib/docker’: ensure => directory, before => Class[‘docker’], } } Why? 🙂 It’s rather simple here, in the real class it really took me a while to find it.