Skip to content

Instantly share code, notes, and snippets.

View roidelapluie's full-sized avatar

Julien roidelapluie

View GitHub Profile
#!/usr/bin/expect
set package_0 [ lindex $argv 0 ]
send_user "calling rpmsign --addsign $package_0\nargv: $argv"
spawn rpmsign "--addsign" $package_0
expect "Enter pass phrase: "
send {GPGPASSWORD}
send \r
expect eof
From what I understand, munging is taking user input and transforming it.
Let's say Yum repos.
yum {
'puppetlabs':
enable => true,
}
But then, the yumrepo accepts true, false, 0, 1.

Keybase proof

I hereby claim:

  • I am roidelapluie on github.
  • I am roidelapluie (https://keybase.io/roidelapluie) on keybase.
  • I have a public key whose fingerprint is 0C7F 1877 69D0 72B9 3B64 2BB9 E484 2505 33AE 92DA

To claim this, I am signing this object:

data.template_file.nginx-config.1: Refreshing state...
data.template_file.nginx-config.0: Refreshing state...
kubernetes_service.rmll_demo: Refreshing state... (ID: default/rmll-demo-nginx-service)
kubernetes_config_map.nginx-config.1: Refreshing state... (ID: default/nginx-rmll02)
kubernetes_config_map.nginx-config.0: Refreshing state... (ID: default/nginx-rmll01)
kubernetes_pod.rmll-demo.0: Creating...
metadata.#: "" => "1"
metadata.0.generation: "" => "<computed>"
metadata.0.labels.%: "" => "1"
metadata.0.labels.run: "" => "nginx"
2017/07/04 10:51:09 [INFO] Terraform version: 0.10.0 a26ff83279df8e632c8366b08653e12aa570f144+CHANGES
2017/07/04 10:51:09 [INFO] Go runtime version: go1.8
2017/07/04 10:51:09 [INFO] CLI args: []string{"/home/roidelapluie/bin/terraform", "apply", "-var", "machine_count=2"}
2017/07/04 10:51:09 [DEBUG] Attempting to open CLI config file: /home/roidelapluie/.terraformrc
2017/07/04 10:51:09 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/07/04 10:51:09 [INFO] CLI command args: []string{"apply", "-var", "machine_count=2"}
2017/07/04 10:51:09 [INFO] command: empty terraform config, returning nil
2017/07/04 10:51:09 [DEBUG] command: no data state file found for backend config
2017/07/04 10:51:09 [DEBUG] New state was assigned lineage "489c5e1c-2ff7-4adb-bdce-cbeb91688cc9"
2017/07/04 10:51:09 [INFO] command: backend initialized: <nil>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="/dashboard/style.css">
groups:
- name: datetime
rules:
- record: daily_saving_time_belgium
expr: |
(vector(0) and (month() < 3 or month() > 10))
or
(vector(1) and (month() > 3 and month() < 10))
or
(
[C7.5.1804-base]
name=CentOS-7.5.1804 - Base
baseurl=http://vault.centos.org/7.5.1804/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[C7.5.1804-updates]
name=CentOS-7.5.1804 - Updates
baseurl=http://vault.centos.org/7.5.1804/updates/$basearch/
@roidelapluie
roidelapluie / main.go
Created September 26, 2019 08:21
Read Alertmanager NFLOG
package main
import (
"errors"
"flag"
"fmt"
"io"
"os"
"github.com/gogo/protobuf/jsonpb"
@roidelapluie
roidelapluie / main.go
Created September 26, 2019 12:51
nflogerror_exporter
package main
import (
"encoding/json"
"errors"
"flag"
"fmt"
"hash/fnv"
"io"
"io/ioutil"