This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Install Puppet Content Template from git repository #136
Labels
enhancement
New feature or request
Comments
Hello, Maybe consider https://github.com/hashicorp/go-getter ? And use as
from code is simple as err := getter.Get(dest, templateUrl) go getter manage probably all kind of source (or this is not what the issue desribe ^^) |
Thanks for the points @ahmet2mir ! That is good to know. Yes, this is the kind of workflow we're aiming for with that, but have not gotten to how the commandline will be implemented yet. |
michaeltlombardi
changed the title
Install from Github repo
Install Puppet Content Template from git repository
Aug 19, 2021
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Sep 27, 2021
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Sep 28, 2021
Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag.
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Sep 28, 2021
…/install_template_from_git
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Sep 28, 2021
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Sep 28, 2021
Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag.
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Sep 28, 2021
Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag.
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Oct 7, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant.
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Oct 8, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant.
petergmurphy
pushed a commit
to petergmurphy/pdkgo
that referenced
this issue
Oct 8, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant.
petergmurphy
pushed a commit
that referenced
this issue
Oct 12, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant. Added appropriate documentation to `CHANGELOG.md` and `README.md`.
petergmurphy
pushed a commit
that referenced
this issue
Oct 12, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant. Added appropriate documentation to `CHANGELOG.md` and `README.md`.
petergmurphy
pushed a commit
that referenced
this issue
Oct 12, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant. Added appropriate documentation to `CHANGELOG.md` and `README.md`.
petergmurphy
pushed a commit
that referenced
this issue
Oct 12, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant. Added appropriate documentation to `CHANGELOG.md` and `README.md`.
petergmurphy
pushed a commit
that referenced
this issue
Oct 13, 2021
Added `--git-uri` flag that takes a string variable as its argument. Modified existing code in the `executeInstall` method so that it checks if the `--git-uri` flag is being used. The appropriate function for template installation will be called based on this check. `preExecute` function changed to provide the correct template installation path for the `--git-uri` flag. Implemented functions that allow for the cloning of templates from a remote repository using a git URI. Added unit and acceptance tests where relevant. Added appropriate documentation to `CHANGELOG.md` and `README.md`.
sanfrancrisko
pushed a commit
that referenced
this issue
Oct 13, 2021
…from_git_repo (GH-136) Install template from git repo
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This ticket implements a method to download a PCT from the Github repo it is stored at and install it to the template cache path.
git
to be available on PATHUser Experience
pct install --git-uri https://github.com/someone/some-template.git
pct install --git-uri https://github.com/someone/some-template.git --templatepath ./foo
Out of Scope
These features are out of scope for this ticket:
The text was updated successfully, but these errors were encountered: