Skip to content

Instantly share code, notes, and snippets.

@frozenfoxx
Created December 5, 2013 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frozenfoxx/7813420 to your computer and use it in GitHub Desktop.
Save frozenfoxx/7813420 to your computer and use it in GitHub Desktop.
# 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
:puppet:
remote: 'git@repo.mycompany.local/operations/puppet.git'
basedir: '/etc/puppet/environments'
@frozenfoxx
Copy link
Author

[R10K::TaskRunner - ERROR] Task #R10K::Task::Deployment::DeployEnvironments:0x7f49b155b0c0 failed while running: "git clone --mirror git@repo.mycompany.local/operations/puppet.git /var/cache/r10k/git@repo.mycompany.local-operations-puppet.git" returned with non-zero exit value 128

@frozenfoxx
Copy link
Author

[root@puppet r10k]# r10k deploy environment -p --verbose
[R10K::Task::Deployment::DeployEnvironments - INFO] Loading environments from all sources
[R10K::TaskRunner - ERROR] Task #R10K::Task::Deployment::DeployEnvironments:0x7f03d42f0060 failed while running: "git clone --mirror https://repo.mycompany.local/operations/puppet.git /var/cache/r10k/https---repo.mycompany.local-operations-puppet.git" returned with non-zero exit value 128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment