diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-03-19 15:05:37 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-03-19 15:05:37 -0400 |
commit | 687fa4c800f9aee29c50e7e90c4ba3049182203b (patch) | |
tree | 8ee46a74591a14958700c5de97bb2aae3563dff1 /modules/tozt | |
parent | 5af66045cba333f81f5b7b0603aa6136c095381e (diff) | |
download | puppet-tozt-687fa4c800f9aee29c50e7e90c4ba3049182203b.tar.gz puppet-tozt-687fa4c800f9aee29c50e7e90c4ba3049182203b.zip |
github no longer supports git:// urls
Diffstat (limited to 'modules/tozt')
-rw-r--r-- | modules/tozt/files/cgitrc | 2 | ||||
-rwxr-xr-x | modules/tozt/files/new-git-repo | 2 | ||||
-rw-r--r-- | modules/tozt/manifests/metabase.pp | 2 | ||||
-rw-r--r-- | modules/tozt/manifests/site.pp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/tozt/files/cgitrc b/modules/tozt/files/cgitrc index 4564b16..fcd867d 100644 --- a/modules/tozt/files/cgitrc +++ b/modules/tozt/files/cgitrc @@ -13,7 +13,7 @@ repository-sort=age max-stats=year max-repo-count=500 -clone-url=doy@tozt.net:git/$CGIT_REPO_URL https://git.tozt.net/$CGIT_REPO_URL git@github.com:doy/$CGIT_REPO_URL git://github.com/doy/$CGIT_REPO_URL https://github.com/doy/$CGIT_REPO_URL +clone-url=doy@tozt.net:git/$CGIT_REPO_URL https://git.tozt.net/$CGIT_REPO_URL git@github.com:doy/$CGIT_REPO_URL https://github.com/doy/$CGIT_REPO_URL snapshots=tar.gz zip readme=:README.md diff --git a/modules/tozt/files/new-git-repo b/modules/tozt/files/new-git-repo index 0519242..43c619b 100755 --- a/modules/tozt/files/new-git-repo +++ b/modules/tozt/files/new-git-repo @@ -33,7 +33,7 @@ package NewGitRepo { git( 'clone', '--bare', - "git://github.com/$github_user/$opts{name}", + "https://github.com/$github_user/$opts{name}", $new_dir ); git(qw(remote rm origin)); diff --git a/modules/tozt/manifests/metabase.pp b/modules/tozt/manifests/metabase.pp index d3f6c66..9e0ed18 100644 --- a/modules/tozt/manifests/metabase.pp +++ b/modules/tozt/manifests/metabase.pp @@ -69,7 +69,7 @@ class tozt::metabase { } exec { "clone metabase-utils": - command => "/usr/bin/git clone git://github.com/doy/metabase-utils", + command => "/usr/bin/git clone https://github.com/doy/metabase-utils", user => "doy", cwd => "/home/doy/coding", creates => "/home/doy/coding/metabase-utils", diff --git a/modules/tozt/manifests/site.pp b/modules/tozt/manifests/site.pp index f28619a..25cde43 100644 --- a/modules/tozt/manifests/site.pp +++ b/modules/tozt/manifests/site.pp @@ -8,7 +8,7 @@ class tozt::site { } exec { "clone tozt.net": - command => "/usr/bin/git clone git://github.com/doy/tozt-hugo", + command => "/usr/bin/git clone https://github.com/doy/tozt-hugo", user => "doy", cwd => "/home/doy/coding", creates => "/home/doy/coding/tozt-hugo", |