fixed server resource path
This commit is contained in:
parent
4c36eec49e
commit
6109323640
11 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ import org.domaindrivenarchitecture.provs.server.domain.CertmanagerEndpoint
|
||||||
import org.domaindrivenarchitecture.provs.server.domain.k3s.Certmanager
|
import org.domaindrivenarchitecture.provs.server.domain.k3s.Certmanager
|
||||||
import org.domaindrivenarchitecture.provs.server.domain.k3s.K3sConfig
|
import org.domaindrivenarchitecture.provs.server.domain.k3s.K3sConfig
|
||||||
|
|
||||||
private const val k3sResourcePath = "org/domaindrivenarchitecture/provs/infrastructure/k3s/"
|
private const val k3sResourcePath = "org/domaindrivenarchitecture/provs/server/infrastructure/k3s/"
|
||||||
private const val k3sManualManifestsDir = "/etc/rancher/k3s/manifests/"
|
private const val k3sManualManifestsDir = "/etc/rancher/k3s/manifests/"
|
||||||
private const val k3sAutomatedManifestsDir = "/var/lib/rancher/k3s/server/manifests/"
|
private const val k3sAutomatedManifestsDir = "/var/lib/rancher/k3s/server/manifests/"
|
||||||
private const val k3sConfigFile = "/etc/rancher/k3s/config.yaml"
|
private const val k3sConfigFile = "/etc/rancher/k3s/config.yaml"
|
||||||
|
|
|
@ -7,7 +7,7 @@ import org.domaindrivenarchitecture.provs.framework.ubuntu.filesystem.base.fileE
|
||||||
import org.domaindrivenarchitecture.provs.server.domain.k3s.K3sConfig
|
import org.domaindrivenarchitecture.provs.server.domain.k3s.K3sConfig
|
||||||
|
|
||||||
val loopbackFile = "/etc/netplan/99-loopback.yaml"
|
val loopbackFile = "/etc/netplan/99-loopback.yaml"
|
||||||
val resourcePath = "org/domaindrivenarchitecture/provs/infrastructure/network/"
|
val resourcePath = "org/domaindrivenarchitecture/provs/server/infrastructure/network/"
|
||||||
|
|
||||||
fun Prov.testNetworkExists(): Boolean {
|
fun Prov.testNetworkExists(): Boolean {
|
||||||
return fileExists(loopbackFile)
|
return fileExists(loopbackFile)
|
||||||
|
|
Loading…
Reference in a new issue