Skip to content

How to clone a private github repo #2

@edwin-bluekite

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.

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