Skip to content

Instantly share code, notes, and snippets.

workspace/sandbox/ruby-unf on  106957c  on 🐳  v19.03.8-ce 
➜ /home/jaym/.gem/ruby/2.7.0/bin/licensee _9.13.2_
License:        NOASSERTION
Matched files:  LICENSE, README.md
LICENSE:
  Content hash:  a5a8524b84fab8d078a0c91aa7183e859e5f79f0
  Attribution:   Copyright (c) 2011, 2012 Akinori MUSHA
  Confidence:    98.51%
  Matcher:       Licensee::Matchers::Dice
systemctl stop chef-automate
systemctl disable chef-automate
rm -rf /hab/svc
rm -rf /hab/sup
rm -rf /hab/user
rm -rf /hab/pkgs
rm -f /bin/chef-automate
rm -f /bin/hab
package main
import (
"crypto/tls"
"fmt"
"net/http"
"net/http/httputil"
"net/url"
"os"
"strings"
~/workspace/habitat on  jdm/hab-svc-dir-perms [⇣⇡$?] on 🐳 v18.06.1-ce
➜ ./run-bats.sh
Sending build context to Docker daemon 298.5kB
Step 1/3 : FROM ubuntu:18.04
---> cd6d8154f1e1
Step 2/3 : RUN useradd hab
---> Using cache
---> b098731a282c
Step 3/3 : RUN apt-get update && apt-get -y install jq curl git && apt-get -y install libarchive-dev libsodium-dev libczmq-dev busybox && git clone https://github.com/sstephenson/bats /bats && cd /bats && git checkout v0.4.0 && ./install.sh /usr/local
---> Using cache

Keybase proof

I hereby claim:

To claim this, I am signing this object:

May 08 14:43:33 automate-deployment hab[28431]: automate-postgresql.default(O): Starting PostgreSQL
May 08 14:43:33 automate-deployment hab[28431]: automate-postgresql.default(O): 2018-05-08 14:43:33 GMT [30570]: [1-1] user=,db=,client= (0:F0001)FATAL: pre-existing shared memory block (key 5432001, ID 0) is still in use
May 08 14:43:33 automate-deployment hab[28431]: automate-postgresql.default(O): 2018-05-08 14:43:33 GMT [30570]: [2-1] user=,db=,client= (0:F0001)HINT: If you're sure there are no old server processes still running, remove the shared memory block or just delete the file "postmaster.pid".
@jaym
jaym / bumpme
Last active October 8, 2017 13:00
0
# Use the gummiboot efi boot loader.
#boot.loader.gummiboot.enable = true;
boot.loader.grub.enable = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.efiSupport = true;
boot.loader.efi.canTouchEfiVariables = true;
{pkgs ? import <nixpkgs> {} }:
with pkgs;
let
np = nodePackages.override { generated = ./packages.nix; self = np; };
in
np.dnschain
WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #<Chef::Exceptions::Group: group[group207] (dynamically defined) had an error: Chef::Exceptions::Group: Cannot modify group[group207] - group does not exist!>. Instead consider providing a specific error class or message. This message can be supressed by setting: `RSpec::Expectations.configuration.warn_about_potential_false_positives = false`. Called from /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.6.0/spec/functional/resource/group_spec.rb:371:in `block (4 levels) in <top (required)>'.
Ran gpasswd -M Gordon,Eric group4202 returned 3>. Instead consider providing a specific error class or message. This message can be supressed by setting: `RSpec::Expectations.configurat