Found why the first run succeeded, because I used our old username/password method for cloning the git. It went wrong from the moment I tried to use ssh keys. Some additional info (r10k.yaml):
--- cachedir: /var/cache/r10k sources: mymodules: basedir: /etc/puppetlabs/puppet/environments remote: git://<server>:7990/scm/ns/puppet.git git: private_key: /home/puppetmaster/.ssh/id_rsa provider: rugged username: puppetmaster Any help would be greatly appreciated. Op donderdag 3 december 2015 13:50:43 UTC+1 schreef dcroonen: > > Hi all > > Just installed a fresh pe master. While running pe_r10k for the second > time I got the following error: > > r10k deploy environment -p -v debug2 > [2015-12-03 13:41:10 - DEBUG1] Testing to see if feature pe_license is > available. > [2015-12-03 13:41:10 - DEBUG2] Attempting to load library 'pe_license' for > feature pe_license > [2015-12-03 13:41:10 - DEBUG1] Feature pe_license is available. > [2015-12-03 13:41:10 - DEBUG2] pe_license feature is available, loading PE > license key > [2015-12-03 13:41:10 - DEBUG1] Testing to see if feature rugged is > available. > [2015-12-03 13:41:10 - DEBUG2] Attempting to load library 'rugged' for > feature rugged > [2015-12-03 13:41:10 - DEBUG1] Feature rugged is available. > [2015-12-03 13:41:10 - DEBUG] Fetching > 'git://<server>:7990/scm/ns/puppet.git' to determine current branches. > [2015-12-03 13:41:10 - DEBUG1] Fetching remote 'origin' at > /var/cache/r10k/git---<server>-7990-scm-ns-puppet.git > [2015-12-03 13:41:30 - ERROR] Unable to determine current branches for Git > source 'mymodules' (/etc/puppetlabs/puppet/environments) > Original exception: > Early EOF at /var/cache/r10k/git---<server>-7990-scm-ns-puppet.git > > The strange thing is while I ran r10k for the first time everything went > pretty well. > > Any ideas on how to fix this? > > Greetings > Davy > -- 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/79bae772-15b5-4989-9f09-0ff84b81f32b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.