summaryrefslogtreecommitdiffstats
path: root/modules/partofme
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-07-01 16:38:39 -0400
committerJesse Luehrs <doy@tozt.net>2021-07-01 16:38:39 -0400
commite3b2d23de6c9433bdc70edf9fd88b9b881e11a08 (patch)
treeac6e5021595b8a44072e278502764b25f763fc08 /modules/partofme
parent49f194ba39d42ac1e77d5fec1880b91d2317fa0c (diff)
downloadpuppet-tozt-e3b2d23de6c9433bdc70edf9fd88b9b881e11a08.tar.gz
puppet-tozt-e3b2d23de6c9433bdc70edf9fd88b9b881e11a08.zip
remove twitch stuff
Diffstat (limited to 'modules/partofme')
-rw-r--r--modules/partofme/files/twitch6
-rw-r--r--modules/partofme/manifests/twitch.pp30
2 files changed, 0 insertions, 36 deletions
diff --git a/modules/partofme/files/twitch b/modules/partofme/files/twitch
deleted file mode 100644
index de5a5a7..0000000
--- a/modules/partofme/files/twitch
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-vtmode graphics
-trap "vtmode text" EXIT
-
-streamlink -p "cvlc -A alsa --alsa-audio-device hdmi:CARD=PCH,DEV=2 -V fb --no-fb-tty" twitch.tv/"${1}" best
diff --git a/modules/partofme/manifests/twitch.pp b/modules/partofme/manifests/twitch.pp
deleted file mode 100644
index 9899a5e..0000000
--- a/modules/partofme/manifests/twitch.pp
+++ /dev/null
@@ -1,30 +0,0 @@
-class partofme::twitch {
- include c_toolchain
-
- package { ["streamlink", "vlc"]:
- ensure => installed;
- }
-
- file {
- "/usr/local/bin/twitch":
- mode => "0755",
- source => 'puppet:///modules/partofme/twitch';
- "/usr/local/src/vtmode.c":
- source => 'puppet:///modules/partofme/vtmode.c';
- }
-
- exec { "compile vtmode":
- command => "/usr/bin/cc /usr/local/src/vtmode.c -o /usr/local/bin/vtmode",
- creates => "/usr/local/bin/vtmode",
- require => [
- File["/usr/local/src/vtmode.c"],
- Class["c_toolchain"],
- ],
- notify => Exec["suid vtmode"];
- }
-
- exec { "suid vtmode":
- command => "/usr/bin/chmod u+s /usr/local/bin/vtmode",
- refreshonly => true;
- }
-}