From 08a9ff658f14b6ccd0d396711304b74e51307c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 31 Oct 2021 01:11:18 +0200 Subject: Work on netbooting raspberry pis. --- manifests/site.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests/site.pp') diff --git a/manifests/site.pp b/manifests/site.pp index 1bf73f1..467ab68 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -38,6 +38,12 @@ node 'gandalf.adrift.space' { nginx_server => 'gandalf' } + + # raspi { '': + # version => '2021-05-07', + # dir => '/usr/local/raspi', + # } + } node 'hornquist.se' { -- cgit v1.2.3 From 85793838bc917566d739b330255d11e941320b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 13 Dec 2021 23:35:56 +0100 Subject: Add losetup. --- manifests/site.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'manifests/site.pp') diff --git a/manifests/site.pp b/manifests/site.pp index 467ab68..4abc5e4 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -3,6 +3,7 @@ node 'gandalf.adrift.space' { addr => '3', } + include ::losetup include ::profiles::workstation include ::profiles::gandalf_web -- cgit v1.2.3 From 0301818fa87bf588dfcd13c1644936aa5537fa15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 13 Dec 2021 23:38:02 +0100 Subject: Gandalf web certbot. --- manifests/site.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'manifests/site.pp') diff --git a/manifests/site.pp b/manifests/site.pp index 4abc5e4..165b085 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -6,7 +6,11 @@ node 'gandalf.adrift.space' { include ::losetup include ::profiles::workstation - include ::profiles::gandalf_web + $certname = 'adrift.space' + + class { '::profiles::gandalf_web': + certname => $certname, + } nginx::resource::location { '/varselklotet': server => 'gandalf', @@ -29,7 +33,7 @@ node 'gandalf.adrift.space' { ], nginx => { server_name => "bookmark.${facts['fqdn']}", - certname => 'bookmark.gandalf.adrift.space', + certname => $certname, } } -- cgit v1.2.3 From fa66475b6dd9835ac6f060202acc744632dd4c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 13 Dec 2021 23:39:36 +0100 Subject: Raspi setup was a bad idea. --- manifests/site.pp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'manifests/site.pp') diff --git a/manifests/site.pp b/manifests/site.pp index 165b085..89eef6d 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -43,12 +43,6 @@ node 'gandalf.adrift.space' { nginx_server => 'gandalf' } - - # raspi { '': - # version => '2021-05-07', - # dir => '/usr/local/raspi', - # } - } node 'hornquist.se' { -- cgit v1.2.3