facing problem in setting up puppet master agent/proxy/device and a backend device.

14 views
Skip to first unread message

nidhi mittal hada

unread,
May 26, 2017, 8:26:56 AM5/26/17
to Puppet Users
hello all,

This is first time i am setting up puppet infra.
Where i have two linux centos machines and one backend device 
on which my puppet agent will route actions.

I have been able to setup basic master -agent communication.
I tested it with - running site.pp on puppet agent, 
by fetching site.pp puppet file, 
kept on puppet master machine.

its working fine.

Next step i want to setup is, a device to which puppet agent will connect and apply actions on.

Here i need to download/install puppetforge specific module too written specific for that backend device.

My doubts start here - 

1) Puppet module install <module-name> -- Do i have to install module on puppet master or on puppet agent or on both ?

2) node <node-name> {
   some puppet resource action
}

this is my site.pp on puppet master.

This node-name in site.pp in puppet master - this will be name of puppet agent or my backend device name ?
i think it will be name of puppet agent - kindly confirm.







   












Maxim Nikolaev

unread,
May 28, 2017, 1:29:26 AM5/28/17
to Puppet Users
Modules are always installed on puppermaster. It compike catalog and send it to agent. Catalog is running in agent and apply changes. So answer for your questions:
1. module should be installwd in master
2. node name shoukd be your agent. Generally, in this case it can be master itself. Parameters in module should be related to backend device.
Reply all
Reply to author
Forward
0 new messages