Apply module to puppet client

0 votes

I'm new to puppet.I have Puppet master and client on centos6. 

In Master have one module:

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

So I want to apply the same module to my puppet client but I can't or I don't know why

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

but there are not any changes to the client

Mar 12, 2019 in Puppet by Kiran
644 views

1 answer to this question.

0 votes

Add this to site.pp:

node 'fqdn of client' {
  include yum
} 

Then, you can run puppet agent -t to see it in action. The reason why rthis is happening is that you haven't declared the module that is assigned to your node yet.

answered Mar 12, 2019 by Yesha

Related Questions In Puppet

0 votes
1 answer

Error: Ruby run error after connecting puppet apply to PuppetDB.

If Puppet apply is configured incorrectly, this error is ...READ MORE

answered Jul 31, 2019 in Puppet by Sirajul
• 59,230 points
919 views
0 votes
1 answer

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

Yes, you can do this. The issue that ...READ MORE

answered Aug 7, 2019 in Puppet by Sirajul
• 59,230 points
522 views
0 votes
1 answer

Puppet: How to install a module from a release tarball?

To install a module from a release ...READ MORE

answered Aug 26, 2019 in Puppet by anonymous
1,363 views
+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

Deploying windows server through Puppet is similar ...READ MORE

answered Mar 27, 2018 in Puppet by shubham
• 7,340 points
1,881 views
+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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,040 views
+2 votes
1 answer
0 votes
1 answer

How does Puppet apply configuration to agent nodes?

Puppet follows this workflow: There is a factor ...READ MORE

answered Mar 8, 2019 in Puppet by Veena
1,267 views
0 votes
1 answer

Puppet+Kubernetes: Should i install Docker inorder to start using puppetlabs/kubernetes module?

The puppetlabs/kubernetes module installs and configures Kubernetes. You need ...READ MORE

answered Aug 23, 2019 in Puppet by Sirajul
• 59,230 points
759 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP