I've just encountered and fixed the exact same error message.
The repo (and the .git directory in it) contained files not owned by the
user specfied in the vcsrepo command. Ensure the ownership of the directory
before vcsrepo-ing it:
file { "/home/myuser/myrepo":
ensure => directory,
On Wednesday, December 25, 2013 9:47:39 AM UTC-6, Felix.Frank wrote:
>
> Hi,
>
> for what it's worth - the error seems to indicate that su considers
> "/usr/local/bin/git config remote.origin.url" to be the name of an
> executable file that contains a space.
>
I agree that it looks like the
Hi,
for what it's worth - the error seems to indicate that su considers
"/usr/local/bin/git config remote.origin.url" to be the name of an
executable file that contains a space.
I cannot fathom why this is inflicting you now, though.
On 12/23/2013 09:12 PM, Patrick Gibson wrote:
> Error: /Stage[
Does anyone have any advice on simulating the environment and conditions
under which processes are run by Puppet? I'd really like to get the bottom
of this, as other commands I'm running via other classes are working fine.
Thanks,
Patrick
On Monday, 23 December 2013 12:12:40 UTC-8, Patrick Gi
If I manually clone the repo, I get a similarly puzzling error:
Error: /Stage[main]/myuser/Vcsrepo[/home/myuser/myrepo]: Could not
evaluate: Execution of '/usr/bin/su myuser -c "/usr/local/bin/git config
remote.origin.url"' returned 127: -su: /usr/local/bin/git config
remote.origin.url: No such
(I should mention this is on FreeBSD 9.2.)
On Saturday, 21 December 2013 18:33:45 UTC-8, Patrick Gibson wrote:
>
> I'm using the vcsrepo module to clone a git repo as a particular user, and
> I'm getting a puzzling error:
>
> Debug: Executing '/usr/bin/su myuser -c "/usr/local/bin/git clone
> g.