summaryrefslogtreecommitdiffstats
path: root/modules/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-03-19 15:05:37 -0400
committerJesse Luehrs <doy@tozt.net>2022-03-19 15:05:37 -0400
commit687fa4c800f9aee29c50e7e90c4ba3049182203b (patch)
tree8ee46a74591a14958700c5de97bb2aae3563dff1 /modules/tozt
parent5af66045cba333f81f5b7b0603aa6136c095381e (diff)
downloadpuppet-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/cgitrc2
-rwxr-xr-xmodules/tozt/files/new-git-repo2
-rw-r--r--modules/tozt/manifests/metabase.pp2
-rw-r--r--modules/tozt/manifests/site.pp2
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",