summaryrefslogtreecommitdiffstats
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
parent5af66045cba333f81f5b7b0603aa6136c095381e (diff)
downloadpuppet-tozt-687fa4c800f9aee29c50e7e90c4ba3049182203b.tar.gz
puppet-tozt-687fa4c800f9aee29c50e7e90c4ba3049182203b.zip
github no longer supports git:// urls
-rw-r--r--bin/helpers/functions.sh2
-rwxr-xr-xbin/helpers/launch-partofme2
-rw-r--r--modules/conf/manifests/user.pp2
-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
7 files changed, 7 insertions, 7 deletions
diff --git a/bin/helpers/functions.sh b/bin/helpers/functions.sh
index 9ca8591..1fcb753 100644
--- a/bin/helpers/functions.sh
+++ b/bin/helpers/functions.sh
@@ -1,7 +1,7 @@
#!/bin/sh
conf_location="/usr/local/share/puppet-tozt"
-conf_repo="git://github.com/doy/puppet-tozt"
+conf_repo="https://github.com/doy/puppet-tozt"
create_droplet() {
_name="$1"
diff --git a/bin/helpers/launch-partofme b/bin/helpers/launch-partofme
index 4ff7004..b3c9802 100755
--- a/bin/helpers/launch-partofme
+++ b/bin/helpers/launch-partofme
@@ -4,7 +4,7 @@ set -o pipefail
host="${1:-partofme}"
conf_location="/usr/local/share/puppet-tozt"
-conf_repo="git://github.com/doy/puppet-tozt"
+conf_repo="https://github.com/doy/puppet-tozt"
ssh_opts="-o ControlMaster=auto -o ControlPath=~/.ssh/puppet-tozt-%r-%h-%p -o ControlPersist=5"
diff --git a/modules/conf/manifests/user.pp b/modules/conf/manifests/user.pp
index 894f5e3..689b1b2 100644
--- a/modules/conf/manifests/user.pp
+++ b/modules/conf/manifests/user.pp
@@ -13,7 +13,7 @@ define conf::user($user=$name) {
}
exec { "git clone doy/conf for $user":
- command => "/usr/bin/git clone git://github.com/doy/conf",
+ command => "/usr/bin/git clone https://github.com/doy/conf",
user => $user,
cwd => $home,
creates => "$home/conf",
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",