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'], } }