From 28be822a5f13aafc8f54eb3677ade6dbe58260fa Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 27 Nov 2023 20:08:13 +0200 Subject: [PATCH] use list --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index f595742..1cfe88b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -157,7 +157,7 @@ class mastodon ( require => Vcsrepo['rbenv'], } exec { 'install_ruby': - command => "${mastodon_home}/.rbenv/bin/rbenv install 3.2.2", + command => ["${mastodon_home}/.rbenv/bin/rbenv", 'install', '3.2.2'], path => "${mastodon_home}/.rbenv/bin:/usr/sbin:/usr/bin:/sbin:/bin", environment => [ 'RUBY_CONFIGURE_OPTS=--with-jemalloc',