diff --git a/manifests/init.pp b/manifests/init.pp index 83fdee7..fd155db 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -27,7 +27,7 @@ # [*ruby_version*] # String with the ruby version to use. Default: 3.2.2 # - +# class mastodon ( String $ensure = 'present', String $hostname = 'mastodon.example.org', diff --git a/templates/install_ruby.sh.erb b/templates/install_ruby.sh.erb index 13d611d..4a7090e 100644 --- a/templates/install_ruby.sh.erb +++ b/templates/install_ruby.sh.erb @@ -1,7 +1,6 @@ #!/bin/bash set -euo pipefail -su '<%= @mastodon_user %>' if [ ! -e '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/ruby' ]; then cd '<%= @mastodon_home %>' RUBY_CONFIGURE_OPTS=--with-jemalloc '<%= @mastodon_home %>/.rbenv/bin/rbenv' install '<%= @ruby_version %>'