add create
This commit is contained in:
parent
e4c0fe981d
commit
690d5214ad
1 changed files with 5 additions and 5 deletions
|
@ -156,22 +156,22 @@ class mastodon (
|
||||||
group => 'mastodon',
|
group => 'mastodon',
|
||||||
require => Vcsrepo['rbenv'],
|
require => Vcsrepo['rbenv'],
|
||||||
}
|
}
|
||||||
exec { 'update_ruby':
|
exec { 'install_ruby':
|
||||||
command => "${mastodon_home}/.rbenv/bin/rbenv install 3.2.2",
|
command => "${mastodon_home}/.rbenv/libexec/rbenv install 3.2.2",
|
||||||
environment => [
|
environment => [
|
||||||
'RUBY_CONFIGURE_OPTS=--with-jemalloc',
|
'RUBY_CONFIGURE_OPTS=--with-jemalloc',
|
||||||
],
|
],
|
||||||
user => 'mastodon',
|
user => 'mastodon',
|
||||||
cwd => "${mastodon_home}/.rbenv/",
|
cwd => "${mastodon_home}/.rbenv/",
|
||||||
# creates => '',
|
creates => "${mastodon_home}/.rbenv/versions/3.2.2/bin/ruby",
|
||||||
require => Vcsrepo['ruby_build'],
|
require => Vcsrepo['ruby_build'],
|
||||||
}
|
}
|
||||||
# exec { 'set_global_ruby_version':
|
# exec { 'set_global_ruby_version':
|
||||||
# command => "${mastodon_home}/.rbenv/bin/rbenv global 3.2.2",
|
# command => "${mastodon_home}/.rbenv/libexec/rbenv global 3.2.2",
|
||||||
# user => 'mastodon',
|
# user => 'mastodon',
|
||||||
# cwd => "${mastodon_home}/.rbenv/",
|
# cwd => "${mastodon_home}/.rbenv/",
|
||||||
# # creates => '',
|
# # creates => '',
|
||||||
# require => Vcsrepo['ruby_build'],
|
# require => Exec['install_ruby'],
|
||||||
# }
|
# }
|
||||||
# exec { 'install_bundler':
|
# exec { 'install_bundler':
|
||||||
# command => 'gem install bundler --no-document',
|
# command => 'gem install bundler --no-document',
|
||||||
|
|
Loading…
Reference in a new issue