license + aesthetics
This commit is contained in:
parent
f8a2b16c75
commit
e065803b47
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# Server-related variables
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
resource "null_resource" "provisioned_server" {
|
||||
connection {
|
||||
host = var.server_host
|
||||
port = 22
|
||||
user = "root"
|
||||
agent = true
|
||||
host = var.server_host
|
||||
port = 22
|
||||
user = "root"
|
||||
agent = true
|
||||
}
|
||||
|
||||
provisioner "remote-exec" {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# Empty for now
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
terraform {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# Linode-specific inputs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
resource "linode_instance" "main_instance" {
|
||||
|
@ -52,11 +52,11 @@ resource "linode_firewall" "main_firewall" {
|
|||
module "bubblewrap" {
|
||||
source = "../bubblewrap"
|
||||
|
||||
server_host = linode_instance.main_instance.ip_address
|
||||
server_host = linode_instance.main_instance.ip_address
|
||||
}
|
||||
|
||||
module "podman" {
|
||||
source = "../znc"
|
||||
|
||||
server_host = linode_instance.main_instance.ip_address
|
||||
server_host = linode_instance.main_instance.ip_address
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# Server-related variables
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
resource "null_resource" "provisioned_server" {
|
||||
connection {
|
||||
host = var.server_host
|
||||
port = 22
|
||||
user = "root"
|
||||
agent = true
|
||||
host = var.server_host
|
||||
port = 22
|
||||
user = "root"
|
||||
agent = true
|
||||
}
|
||||
|
||||
provisioner "remote-exec" {
|
||||
|
@ -14,7 +14,7 @@ resource "null_resource" "provisioned_server" {
|
|||
}
|
||||
|
||||
provisioner "file" {
|
||||
source = "../scripts/container_init/container"
|
||||
source = "../scripts/container_init/container"
|
||||
destination = "/etc/init.d/container"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# Empty for now
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
cd $HOME
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
set -e
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
set -e
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
# Upper case variables are here for backward compatibility.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (C) 2021 kitzman-terraform Authors kitzman
|
||||
# Copyright (C) 2021 kewl-infrastructure-utils Authors kitzman
|
||||
# SPDX-License-Identifier: GPL-3.0+
|
||||
|
||||
: ${command_user:=${command_user:-"znc"}}
|
||||
|
|
Loading…
Reference in New Issue