diff --git a/data/common.yaml b/data/common.yaml new file mode 100644 index 0000000..772d115 --- /dev/null +++ b/data/common.yaml @@ -0,0 +1,15 @@ +--- +hitch::package_name: "hitch" +hitch::service_name: "hitch" +hitch::config_root: "/etc/hitch" +hitch::config_file: "/etc/hitch/hitch.conf" +hitch::dhparams_file: "/etc/hitch/dhparams.pem" +hitch::dhparams_content: undef +hitch::purge_config_root: false +hitch::file_owner: "root" +hitch::frontend: "[*]:443" +hitch::backend: "[::1]:80" +hitch::write_proxy_v2: "off" +hitch::ciphers: "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH" +hitch::prefer_server_ciphers: "on" +hitch::domains: {} diff --git a/data/os/Debian.yaml b/data/os/Debian.yaml new file mode 100644 index 0000000..aaf2796 --- /dev/null +++ b/data/os/Debian.yaml @@ -0,0 +1,3 @@ +--- +hitch::user: "_hitch" +hitch::group: "_hitch" diff --git a/data/os/RedHat.yaml b/data/os/RedHat.yaml new file mode 100644 index 0000000..df16fcf --- /dev/null +++ b/data/os/RedHat.yaml @@ -0,0 +1,3 @@ +--- +hitch::user: "hitch" +hitch::group: "hitch" diff --git a/hiera.yaml b/hiera.yaml new file mode 100644 index 0000000..8ae0729 --- /dev/null +++ b/hiera.yaml @@ -0,0 +1,12 @@ +--- +version: 5 +defaults: + datadir: data + data_hash: yaml_data + +hierarchy: + - name: "OS Family" + path: "os/%{facts.os.family}.yaml" + + - name: "common" + path: "common.yaml"