Skip to content

How to clone a private github repo #2

Description

@edwin-bluekite

Which is the best way to clone a private repo,
I tested adding the the ssh key with ssh-add exec in the puppet recipe, but it doesn't works.

git::repo{'ux_app':
  path   => '/opt/app',
  source => 'git@github.com:edwin/ux_app.git'
}

how can I add the private key before clonning the repo.
thanks in advance.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions