If you get this error when running sudo salt-ssh '*' test.ping:
"No hosts found with target * of type glob"
Check the file /etc/salt/roster for fomatting errors.
Note: It doesn't like tabs.
--- | |
# Set CHIP up as an airplay server. | |
# Based on https://www.hackster.io/11798/c-h-i-p-play-speakers-7cebb9 | |
# Note; you will still have to edit shairport-sync.conf to set the name | |
- name: configure chips for iot shairport use | |
hosts: shairport-chips | |
become_user: root |
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap> | |
<FullscreenVideo> | |
<remote> | |
<back>stop</back> | |
</remote> | |
<keyboard> | |
<back>stop</back> | |
<backspace>stop</backspace> | |
<escape>stop</escape> |
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap> | |
<global> | |
<keyboard> | |
<escape>Pause</escape> | |
<key id="251">activatewindow(home)</key> | |
<key id="252">activatewindow(videos,movietitles)</key> |
/var/nzbget/dst/nzbget.log { | |
missingok | |
notifempty | |
size 2M | |
rotate 4 | |
copytruncate | |
} |
Starting syslog-ng: Error binding socket; addr='AF_UNIX(/dev/log)', error='Address already in use (98)' | |
Error initializing source driver; source='s_sys', id='s_sys#1' | |
Error initializing message pipeline; | |
[FAILED] | |
to solve: rm /dev/log |
#!/usr/bin/python3 | |
#Simple prog to chase leds up and down for the rasberrypi piface | |
#The higher the load, the slower they go | |
from time import sleep | |
import pifacedigitalio | |
import sys | |
if __name__ == "__main__": |
#!/usr/bin/python | |
#silly program to light up LEDs on raspberrypi piface depending on system load | |
#basically multiplys load by x10, rounds, and lights up that many leds | |
from time import sleep | |
import pifacedigitalio | |
import sys | |
DELAY = 1.0 # seconds |
If you get this error when running sudo salt-ssh '*' test.ping:
"No hosts found with target * of type glob"
Check the file /etc/salt/roster for fomatting errors.
Note: It doesn't like tabs.
#!/usr/bin/perl -w | |
# | |
#kb calculation by david marsh | |
# | |
#version 1.11 | |
# | |
#This program is free software: you can redistribute it and/or modify | |
#it under the terms of the GNU General Public License as published by | |
#the Free Software Foundation, either version 3 of the License, or | |
#(at your option) any later version. |