Last active
December 15, 2015 19:10
-
-
Save larstobi/5309639 to your computer and use it in GitHub Desktop.
r10k syncronize error
https://github.com/adrienthebo/r10k/issues/14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git --git-dir /etc/puppetlabs/puppet/environments/dev/modules/rsyslog/.git --work-tree /etc/puppetlabs/puppet/environments/dev/modules/rsyslog fetch --prune cache | |
fatal: 'cache' does not appear to be a git repository | |
fatal: The remote end hung up unexpectedly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod 'rsyslog', | |
:git => 'git://github.com/puppetlabs-operations/puppet-rsyslog.git' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The location to use for storing cached Git repos | |
:cachedir: '/var/cache/r10k' | |
# A list of git repositories to create | |
:sources: | |
# This will clone the git repository and instantiate an environment per | |
# branch in /etc/puppet/environments | |
:larstobi: | |
remote: 'git@github.com:larstobi/r10k-shared.git' | |
basedir: '/etc/puppetlabs/puppet/environments' | |
# This directory will be purged of any directory that doesn't map to a | |
# git branch | |
:purgedirs: | |
- '/etc/puppetlabs/puppet/environments' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[R10K::Deployment::EnvironmentCollection - INFO] Updating git cache for git@github.com:larstobi/r10k-shared.git | |
[R10K::Synchro::Git - DEBUG] Updating existing cache at /var/cache/r10k/git@github.com-larstobi-r10k-shared.git | |
[R10K::Deployment::EnvironmentCollection - INFO] Updating git cache for git@github.com:larstobi/r10k-shared.git | |
[R10K::Action::Environment::Deploy - INFO] Deploying environment dev | |
[R10K::Action::Module::Deploy - INFO] Deploying module rsyslog | |
[R10K::Synchro::Git - DEBUG] Updating existing cache at /var/cache/r10k/git---github.com-puppetlabs-operations-puppet-rsyslog.git | |
[R10K::Action::Module::Deploy - ERROR] Could not synchronize /etc/puppetlabs/puppet/environments/dev/modules/rsyslog: "git --git-dir /etc/puppetlabs/puppet/environments/dev/modules/rsyslog/.git --work-tree /etc/puppetlabs/puppet/environments/dev/modules/rsyslog fetch --prune cache" returned with non-zero exit value 128 | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/synchro/git.rb:222:in `git' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/synchro/git.rb:143:in `fetch' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/synchro/git.rb:69:in `sync' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/module/git.rb:22:in `sync!' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/action/module.rb:27:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/runner.rb:31:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/builder.rb:102:in `call' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/action/environment.rb:38:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/runner.rb:31:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/builder.rb:102:in `call' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/cli/synchronize.rb:37:in `command' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:296:in `call' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:296:in `run_this' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:249:in `run' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:262:in `run' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/bin/r10k:7 | |
/usr/local/bin/r10k:19:in `load' | |
/usr/local/bin/r10k:19 | |
[R10K::Action::Module::Deploy - INFO] Deploying module git | |
[R10K::Synchro::Git - DEBUG] Updating existing cache at /var/cache/r10k/git@github.com-puppetlabs-operations-puppet-git.git | |
[R10K::Action::Environment::Deploy - INFO] Deploying environment master | |
[R10K::Action::Module::Deploy - INFO] Deploying module rsyslog | |
[R10K::Action::Module::Deploy - ERROR] Could not synchronize /etc/puppetlabs/puppet/environments/master/modules/rsyslog: "git --git-dir /etc/puppetlabs/puppet/environments/master/modules/rsyslog/.git --work-tree /etc/puppetlabs/puppet/environments/master/modules/rsyslog fetch --prune cache" returned with non-zero exit value 128 | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/synchro/git.rb:222:in `git' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/synchro/git.rb:143:in `fetch' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/synchro/git.rb:69:in `sync' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/module/git.rb:22:in `sync!' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/action/module.rb:27:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/runner.rb:31:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/builder.rb:102:in `call' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/action/environment.rb:38:in `call' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/action/environment.rb:41:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/runner.rb:31:in `call' | |
/var/lib/gems/1.8/gems/middleware-0.1.0/lib/middleware/builder.rb:102:in `call' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/lib/r10k/cli/synchronize.rb:37:in `command' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:296:in `call' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:296:in `run_this' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:249:in `run' | |
/var/lib/gems/1.8/gems/cri-2.3.0/lib/cri/command.rb:262:in `run' | |
/var/lib/gems/1.8/gems/r10k-0.0.9/bin/r10k:7 | |
/usr/local/bin/r10k:19:in `load' | |
/usr/local/bin/r10k:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment