Yehuda Katz
10/15/2026, 3:23 AMexec { 'redmine-bundler':
command => ['/opt/rbenv/shims/bundle', 'install'],
cwd => "${redmine_home}/application",
user => 'redmine',
group => 'redmine',
subscribe => Vcsrepo["${redmine_home}/application"],
refreshonly => true,
require => [
Vcsrepo["${redmine_home}/application"],
File["${redmine_home}/.bundle/config"],
File["${redmine_home}/application/.ruby-version"],
File["${redmine_home}/application/config/database.yml"],
],
}
When I sudo to the redmine user, this works fine, but then OpenVox runs, it gives weird errors:
Notice: /Stage[main]/Profile::Redmine::Application/Vcsrepo[/home/redmine/application]/ensure: created
Info: /Stage[main]/Profile::Redmine::Application/Vcsrepo[/home/redmine/application]: Scheduling refresh of Exec[redmine-bundler]
Notice: /Stage[main]/Profile::Redmine::Application/File[/home/redmine/application/.ruby-version]/ensure: defined content as '{sha256}e983ba5b93fa78bcffae242218f1aac4a15234508859728894ed59d678fcc439' (corrective)
Notice: /Stage[main]/Profile::Redmine::Application/File[/home/redmine/application/config/database.yml]/ensure: defined content as '{sha256}efc7711731003f16f4fc66b6245500a1572e78ab09fccc7cf934baaaebfdbe77' (corrective)
Notice: /Stage[main]/Profile::Redmine::Application/Exec[redmine-bundler]/returns: `/home/ykatz` is not writable.
Notice: /Stage[main]/Profile::Redmine::Application/Exec[redmine-bundler]/returns: Bundler will use `/tmp/bundler20261014-31881-7alb3j31881' as your home directory temporarily.
Notice: /Stage[main]/Profile::Redmine::Application/Exec[redmine-bundler]/returns: Fetching gem metadata from <https://rubygems.org/>.........
Notice: /Stage[main]/Profile::Redmine::Application/Exec[redmine-bundler]/returns: Resolving dependencies...
Notice: /Stage[main]/Profile::Redmine::Application/Exec[redmine-bundler]/returns: Fetching rake 13.4.2
Notice: /Stage[main]/Profile::Redmine::Application/Exec[redmine-bundler]/returns:
Notice: /Stage[main]/Profile::Redmine::Application/Exec[redmine-bundler]/returns: Retrying download gem from <https://rubygems.org/> due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/opt/rbenv/versions/4.0.7/lib/ruby/gems/4.0.0/cache/rake-13.4.2.gem`. It is likely that you need to grant write permissions for that path.
.....
The user ykatz isn't referenced anywhere that I can find (although that user does exist).
rbenv was installed using jdowning/puppet-rbenv and I can't find any reference to ykatz in any of those files either.
Any ideas?