You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
include git
git::config { 'core.excludesfile':
value => "/opt/svn/tutu-tools/git/.gitignore",
provider => 'system',
}
produces
Error: /usr/bin/git config --system core.excludesfile '/opt/svn/tutu-tools/git/.gitignore' returned 128 instead of one of [0]
Error: /Stage[main]/Git::Config[core.excludesfile]/Exec[git_config_core.excludesfile]/returns: change from notrun to 0 failed: /usr/bin/git config --system core.excludesfile '/opt/svn/tutu-tools/git/.gitignore' returned 128 instead of one of [0]
The text was updated successfully, but these errors were encountered:
ok. it looks like I've got to make it more careful about how it sorts out the user and environment when using the system provider. I think it needs to explictly run as root and spectify HOME=/root as an environment variable (which would also solve #40 )
produces
The text was updated successfully, but these errors were encountered: