This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File managed by Puppet: <%= @name %> | |
[Service] | |
User=<%= @user %> | |
Group=<%= @group %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File { | |
mode => 0644, | |
} | |
class foo1 { | |
File { | |
mode => 0755, | |
} | |
include foo2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ locale | |
LANG=en_US.UTF-8 | |
LC_CTYPE="en_US.UTF-8" | |
... | |
$ getent passwd terom | |
terom:x:1402:100:Tero:/home/terom:/bin/bash | |
$ sudo LANG=C.UTF-8 puppet resource user terom ensure=present comment=Tëro | |
Notice: /User[terom]/comment: comment changed 'Tero' to 'Tëro' | |
user { 'terom': | |
ensure => 'present', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time="2015-04-16T12:26:34+03:00" level=error msg="Unable to update state of container \"4f446addcf63020db316cb7d0411dd7208d40f85002d0c974535d3d756c1cd84\"" id= | |
panic: runtime error: assignment to entry in nil map | |
goroutine 67 [running]: | |
runtime.panic(0x7cb140, 0xa3ef33) | |
/usr/lib/go/src/pkg/runtime/panic.c:279 +0xf5 | |
github.com/docker/swarm/cluster/swarm.(*node).updateContainer(0xc208029ba0, 0xc208760100, 0x40, 0xc208760140, 0x1, 0x4, 0xc2086a3140, 0x27, 0xc20889a4d0, 0xa4, | |
src/github.com/docker/swarm/cluster/swarm/node.go:276 +0x22f | |
github.com/docker/swarm/cluster/swarm.(*node).refreshContainers(0xc208029ba0, 0xc20845a100, 0x0, 0x0) | |
src/github.com/docker/swarm/cluster/swarm/node.go:202 +0x209 | |
github.com/docker/swarm/cluster/swarm.(*node).refreshLoop(0xc208029ba0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apr 22 01:50:43 yzzrt kernel: [19028755.094888] delay: estimated 353, actual 0 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094894] delay: estimated 352, actual 0 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094901] delay: estimated 353, actual 0 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094906] delay: estimated 353, actual 1 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094912] delay: estimated 354, actual 1 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094917] delay: estimated 354, actual 1 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094922] delay: estimated 353, actual 0 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094928] delay: estimated 353, actual 0 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.094933] delay: estimated 353, actual 1 | |
Apr 22 01:50:43 yzzrt kernel: [19028755.100016] ------------[ cut here ]------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Corrupted display with a 7800GT connected via DVI-HDMI to a 4k monitor. | |
# Monitor displays a mode of 1920x2160 @ 30Hz | |
$ uname -a | |
Linux yzzrt 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux | |
$ sudo lspci -s 01:00.0 -v | |
01:00.0 VGA compatible controller: NVIDIA Corporation G70 [GeForce 7800 GT] (rev a1) (prog-if 00 [VGA controller]) | |
Subsystem: Club-3D BV Device 0000 | |
Flags: bus master, fast devsel, latency 0, IRQ 16 | |
Memory at fd000000 (32-bit, non-prefetchable) [size=16M] | |
Memory at d0000000 (64-bit, prefetchable) [size=256M] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--dsk/vda-----dsk/vdb-- --dsk/vda-----dsk/vdb-- vda--vdb- | |
read writ: read writ|reads writs:reads writs|util:util | |
136k 16k:1060k 40k| 7 1 : 163 9 |6.00: 100 | |
0 132k: 876k 488k| 0 27 : 174 41 |0.40: 100 | |
36k 76k:1084k 44k| 9 12 : 229 12 |4.80: 100 | |
40k 0 :1468k 36k| 10 0 : 292 8 |2.40: 100 | |
40k 0 :1504k 76k| 10 0 : 283 14 |4.80: 100 | |
0 0 :1380k 20k| 0 0 : 264 4 | 0: 100 | |
0 0 : 884k 384k| 0 2 : 220 49 | 0: 100 | |
16k 44k:1120k 88k| 4 9 : 276 19 |5.20: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ipvsadm -C | |
$ etcdctl ls --recursive -p /clusterf | |
/clusterf/services/ | |
/clusterf/services/test/ | |
/clusterf/services/test/servers/ | |
/clusterf/services/test/servers/test3:1 | |
/clusterf/services/test/frontend | |
$ etcdctl get /clusterf/services/test/servers/test3:1 | |
{"ipv4": "10.3.107.1", "tcp": 1337} | |
$ etcdctl get /clusterf/services/test/frontend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ipvsadm | |
IP Virtual Server version 1.2.1 (size=4096) | |
Prot LocalAddress:Port Scheduler Flags | |
-> RemoteAddress:Port Forward Weight ActiveConn InActConn | |
$ etcdctl set /clusterf/services/test/frontend '{"ipv4": "10.107.107.107", "tcp": 1337}' | |
{"ipv4": "10.107.107.107", "tcp": 1337} | |
$ sudo ipvsadm | |
IP Virtual Server version 1.2.1 (size=4096) | |
Prot LocalAddress:Port Scheduler Flags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USER CMD PID FD MOUNT INUM MODE R/W SZ|DV | |
_dhcp dhcrelay 17341 text /usr 104215 -r-xr-xr-x r 25432 | |
_dhcp dhcrelay 17341 wd /var 15362 drwxr-xr-x r 512 | |
_dhcp dhcrelay 17341 root /var 15362 drwxr-xr-x r 512 | |
_dhcp dhcrelay 17341 tr /home 26105 -rw------- rw 11357 | |
_dhcp dhcrelay 17341 0 / 8761 crw-rw-rw- rw null | |
_dhcp dhcrelay 17341 1 / 8761 crw-rw-rw- rw null | |
_dhcp dhcrelay 17341 2 / 8761 crw-rw-rw- rw null | |
_dhcp dhcrelay 17341 3 / 8100 crw------- rw bpf0 | |
_dhcp dhcrelay 17341 4* internet dgram udp 10.12.1.253:67 <-> 10.7.1.212:67 |