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
/etc/puppet/modules
âââ 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, 2019 in Puppet by Liana
45 views

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, 2019 by Sirajul
• 57,940 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, 2019 in Puppet by Sirajul
• 57,940 points
101 views
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, 2019 in Puppet by Sirajul
• 57,940 points
141 views
0 votes
1 answer
+15 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,450 points
681 views
+2 votes
1 answer
0 votes
1 answer

Can i install puppet master and puppet agent on the same centos machine? How will that work?

Yes, It's now possible to install both ...READ MORE

answered Aug 6, 2019 in Puppet by Sirajul
• 57,940 points
152 views
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, 2019 in Puppet by Sirajul
• 57,940 points
530 views