On Tuesday, March 11, 2014 3:10:25 PM UTC-5, Nick Miller wrote:
>
> Steps to reproduce:
>
> 1) Create a new git repository (I'm using Bitbucket)
>
> 2) Create a file called 'test1.txt', and push it to the repo.
>
> 3) Create a class to pull the repo.  I'm using ssh cert authentication, 
> but I'm not sure that matters
>
> class gitrepo {
>
>          vcsrepo { '/tmp/git/puppet-test':
>
>
>                 ensure          => latest,
>
>                 provider        => git,
>
>                 source          => 
> "g...@bitbucket.org:user/puppet-test.git",
>
>                 revision        => 'master',
>
>         }
>
>
>
> }
>
>
> 4) Run 'puppet agent --test' to pull the repo down
>
> 5) Add another file to the repo, say 'test2.txt' and push the changes to 
> git
>
> 6) Run 'puppet agent --test' again to pull the latest changes.
>
> Any changes to existing files don't seem to cause the problem, only new 
> files.
>
>

Inasmuch as I am supposing that the problem is related to specifics of how 
you are manipulating the repo, I was looking for more detail at step (5), 
and maybe also at step (2) and even step (1).  Before that, however, have 
you tried running the agent with debug output turned on?  That should yield 
a record of all the external commands that are being run.  In particular, 
it may yield a clue as to where the "origin/(detached from 3c40894)" is 
coming from.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/97e7a05e-94a0-4228-b815-2d2b1d929519%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to