This commit is contained in:
Antonio J. Delgado 2023-11-27 19:41:49 +02:00
parent d931973648
commit 198228f3ba

View file

@ -137,13 +137,13 @@ class mastodon (
require => Exec['configure_rbenv'], require => Exec['configure_rbenv'],
} }
file_line { 'mastodon_path': file_line { 'mastodon_path':
path => "${mastodon_home}/.bashrc/", path => "${mastodon_home}/.bashrc",
line => 'export PATH="$HOME/.rbenv/bin:$PATH"', line => 'export PATH="$HOME/.rbenv/bin:$PATH"',
match => '^export PATH="$HOME/.rbenv', match => '^export PATH="$HOME/.rbenv',
require => Vcsrepo['rbenv'], require => Vcsrepo['rbenv'],
} }
file_line { 'mastodon_rbenv_init': file_line { 'mastodon_rbenv_init':
path => "${mastodon_home}/.bashrc/", path => "${mastodon_home}/.bashrc",
line => 'eval "$(rbenv init -)"', line => 'eval "$(rbenv init -)"',
match => '^eval "$(rbenv init -)"', match => '^eval "$(rbenv init -)"',
require => Vcsrepo['rbenv'], require => Vcsrepo['rbenv'],