aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/modules/proxmox/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'personal_infra/puppet/modules/proxmox/manifests')
-rw-r--r--personal_infra/puppet/modules/proxmox/manifests/init.pp11
1 files changed, 11 insertions, 0 deletions
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
+ }
+}