Would i be able to utilize same module that i have in puppet master in my puppet agent?

0 votes

I have a puppet setup that consists of a puppet master on centos and a puppet agent that is on another centos machine.I have a module on my puppet master that i wish to apply to the node agent. Can i do this? what's the way ahead?

puppet module list
âââ mstanislav-yum (v1.0.0)

I'm trying to apply it to the node but couldn't find any changes:

root@puppetclient: puppet agent --test
Info: Retrieving plugin
Info: Caching catalog for puppetclient
Info: Applying configuration version '1355737643'
Finished catalog run in 0.10 seconds
Aug 7 in Puppet by Liana

1 answer to this question.

0 votes

Yes, you can do this.

The issue that i could think of in your case is that you haven't declared the module (assigned it to your node) yet...

Add this to site.pp:

node 'fqdn of client' {
  include yum

Then, run the following command:

puppet agent -t 

This should do!

answered Aug 7 by Sirajul
• 40,980 points

Related Questions In Puppet

0 votes
1 answer

Does puppet forge have modules that i can use to Install LAMP stack?

Puppet forge has modules for installing and ...READ MORE

answered Jul 30 in Puppet by Sirajul
• 40,980 points
0 votes
1 answer

How do i configure my puppet server to be connected to an ENC?

You need to configure two settings to ...READ MORE

answered Aug 30 in Puppet by Sirajul
• 40,980 points
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can i check the requests of certificates from puppet agent to puppet master?

You could do this by executing the ...READ MORE

answered Jul 24 in Puppet by Sirajul
• 40,980 points