aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/modules/proxmox/manifests/init.pp
blob: dd06cdd01aa026d15e2393f54d159e7edacacd82 (plain)
1
2
3
4
5
6
7
8
9
10
11
class proxmox {
  file {'/etc/network/interfaces':
    content => epp('proxmox/interfaces', {
      "network" => lookup("'$ansible_inventory_hostname'.network"),
    }),
  }
  ~>
  exec {'/usr/sbin/ifreload -a':
    refreshonly => true
  }
}