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
50 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
• 50,440 points
51 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
• 50,440 points
28 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
95 views
+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

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

answered Mar 26, 2018 in Puppet by shubham
• 6,910 points
457 views
+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,400 points
416 views
0 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
232 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
• 50,440 points
67 views