From e3b2d23de6c9433bdc70edf9fd88b9b881e11a08 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 1 Jul 2021 16:38:39 -0400 Subject: remove twitch stuff --- modules/partofme/files/twitch | 6 ------ modules/partofme/manifests/twitch.pp | 30 ------------------------------ 2 files changed, 36 deletions(-) delete mode 100644 modules/partofme/files/twitch delete mode 100644 modules/partofme/manifests/twitch.pp (limited to 'modules/partofme') 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; - } -} -- cgit v1.2.3-54-g00ecf