Puppet How do i disable the default pull configuration so i can only push from my Puppet server when required

0 votes

I'm using a puppet server on linux machine and I have a puppet windows agent.

I would like to disable the agent runinterval permanently so that i can only push from my Puppet server as and when required. I followed a few suggestions that were available online that told me to include the following in Puppet server's /etc/puppetlabs/puppet/puppet.conf file, and restarted the server but still puppet agent fetches the catalog.

[agent]
daemonize=false

Is it possible to disable runinterval only on specific nodes. how?

Aug 7, 2019 in Puppet by Sam
• 6,260 points
1,568 views

1 answer to this question.

0 votes

In order to stop the Puppet service,you could do it easily with a puppet service resource:

service { 'puppet':
  ensure => stopped,
  enable => false,
}

To do this only on certain nodes, merely supply it for the corresponding node definitions in your classifier or main site manifest:

node /ones_to_disable/ {
  service { 'puppet':
    ensure => stopped,
    enable => false,
  }
}

This is the easy and common method for accomplishing push-style Puppet and disabling pull-style.

answered Aug 7, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

How do I install Puppet directly from the source?

Hey @Laksha,  First, install the Puppet tarball from ...READ MORE

answered Mar 8, 2019 in Puppet by Yesha
770 views
0 votes
1 answer

How do I override overriding the Default Xdebug Configuration?

 you can override the Xdebug configuration using ...READ MORE

answered Mar 12, 2019 in Puppet by Jason
694 views
0 votes
1 answer

How can i execute a single class from my puppet manifest file?

You can execute a subset of resources ...READ MORE

answered Aug 6, 2019 in Puppet by Sirajul
• 59,230 points
2,384 views
0 votes
1 answer

Puppet: How can i check for syntax errors on my puppet code? Is there any tool to do this?

At the lowest level of checking, you ...READ MORE

answered Aug 7, 2019 in Puppet by Sirajul
• 59,230 points
8,709 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,036 views
+2 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, 2019 in Puppet by Sirajul
• 59,230 points
3,003 views
0 votes
1 answer

Puppet: How can i connect the puppet server to an external node classifier?

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

answered Aug 2, 2019 in Puppet by Sirajul
• 59,230 points
1,059 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