summaryrefslogtreecommitdiff
path: root/frontends/Rexfile
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/Rexfile')
-rw-r--r--frontends/Rexfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index 3e72227..b673897 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -11,6 +11,7 @@
use Rex -feature => [ '1.14', 'exec_autodie' ];
use Rex::Logger;
use File::Slurp;
+use File::Basename qw(dirname);
# REX CONFIG SECTION
@@ -650,6 +651,14 @@ task 'gogios',
group => 'wheel',
mode => '744';
+ # Shuriken album-age check plugin (canonical copy lives in the shuriken.sh
+ # repo; read it from the sibling checkout so there is one source of truth).
+ file '/usr/local/bin/check_shuriken_age',
+ content => read_file( dirname(__FILE__) . '/../../shuriken.sh/contrib/check_shuriken_age' ),
+ owner => 'root',
+ group => 'wheel',
+ mode => '755';
+
file '/var/run/gogios',
ensure => 'directory',
owner => '_gogios',