From 9dabe5cb134a7b51bfb73be5d7044ddb9f43779c Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 27 Nov 2023 18:44:52 +0200 Subject: [PATCH] add path --- manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 0ca4d0f..eaa1ff7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -116,5 +116,12 @@ class mastodon ( command => "${mastodon_home}/.rbenv/src/configure", cwd => "${mastodon_home}/.rbenv/", creates => "${mastodon_home}/.rbenv/src/Makefile", + require => vcsrepo['rbenv'], + } + exec { 'make_rbenv': + command => '/usr/bin/make -C src', + cwd => "${mastodon_home}/.rbenv/", + # creates => "${mastodon_home}/.rbenv/src/Makefile", + require => Exec['configure_rbenv'], } }