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
• 5,510 points
307 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
• 52,710 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
74 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
45 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
• 52,710 points
194 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
• 52,710 points
1,015 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
483 views
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, 2019 in Puppet by Sirajul
• 52,710 points
313 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
• 52,710 points
105 views