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 in Puppet by Sam
• 4,120 points
75 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 by Sirajul
• 38,420 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 in Puppet by Yesha
53 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 in Puppet by Jason
27 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 in Puppet by Sirajul
• 38,420 points
33 views
0 votes
1 answer
+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,380 points
215 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 in Puppet by Sirajul
• 38,420 points
86 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 in Puppet by Sirajul
• 38,420 points
47 views