From 46a0dfd0a659c4085696b9fc89021298a61b85a6 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 17 Dec 2022 20:57:20 +0100 Subject: Add Proxmox networking --- personal_infra/puppet/modules/proxmox/manifests/init.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 personal_infra/puppet/modules/proxmox/manifests/init.pp (limited to 'personal_infra/puppet/modules/proxmox/manifests') diff --git a/personal_infra/puppet/modules/proxmox/manifests/init.pp b/personal_infra/puppet/modules/proxmox/manifests/init.pp new file mode 100644 index 00000000..dd06cdd0 --- /dev/null +++ b/personal_infra/puppet/modules/proxmox/manifests/init.pp @@ -0,0 +1,11 @@ +class proxmox { + file {'/etc/network/interfaces': + content => epp('proxmox/interfaces', { + "network" => lookup("'$ansible_inventory_hostname'.network"), + }), + } + ~> + exec {'/usr/sbin/ifreload -a': + refreshonly => true + } +} -- cgit v1.2.3