Skip to content

Instantly share code, notes, and snippets.

View roidelapluie's full-sized avatar
🔥

Julien roidelapluie

🔥
  • O11y
View GitHub Profile
<!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">
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>
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"

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:

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.
#!/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
class {
'foo':
service_ensure => 'running',
}
assertion { 'the service runs':
subject => Service['foo'],
attribute => 'ensure',
### 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 19E6 703D 4113 236A 4C1F B492 9ADD 8741 5AA3 2256
To claim this, I am signing this object:
@roidelapluie
roidelapluie / site.pp
Created September 3, 2014 08:27
Allow virtual workaround
if $::puppetversion =~ /^3.6.[12]/ {
Package {
allow_virtual => true,
}
}
x=['x']
for i in x:
x.append('x')
print len(x)