I want to fetch how many interfaces on remote machine and to configure them with Puppet manifest? All command and configuration execution should be on puppet client . IPs to the interface will be given by an input file which exist on puppet master node.
I want to assign a IP to an interface for multiple puppet clients on manifest runtime process. I am using Centos 7.1 on all nodes. I know the steps how to assign IP to network interfaces. But problem is that i don't know the interfaces name(eth0/eno1/eno49/or something else) on puppet client . My goal is to identifies the 4th interface of every node and assign a IPs(which will be taken as input in separate file at puppet master) with PUPPET MANIFEST