license + aesthetics

This commit is contained in:
kitzman 2021-11-14 18:12:52 +02:00
parent f8a2b16c75
commit e065803b47
Signed by: kitzman
GPG Key ID: 83289D84AA7C9A54
14 changed files with 25 additions and 25 deletions

View File

@ -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

View File

@ -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" {

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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
}

View File

@ -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

View File

@ -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"
}
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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"}}