On Monday, 17 August 2015 16:07:23 UTC+5:30, Martin Alfke wrote: > > > On 17 Aug 2015, at 11:38, Ayyanar <ayyan...@gmail.com <javascript:>> > wrote: > > > I don't want to fetch the configuration for particular interval. > > > > example default runintervel = 30min. > > I want to never fetch the configuration. > > How to set this value. > > > The “default_runinterval” only has a meaning when you have the puppet > agent running. > Maybe you want to ensure the service is stopped and removed from run > levels? > > service { ‘puppet’: > ensure => stopped, > enable => false, > } > > or: (from defaults.rb): > :runinterval => { > :default => "30m", > :type => :duration, > :desc => "How often puppet agent applies the catalog. > Note that a runinterval of 0 means \"run continuously\" rather > than > \"never run.\" If you want puppet agent to never run, you should > start > it with the `--no-client` option. #{AS_DURATION}", > },
Hi Martin Path => /etc/puppet/manifest/site.pp In main site.pp file contain these scripts. node "agent-node-domain" { file { "/var/lib/test": ensure => "directory", owner => ayyanar, group => ayyanar, mode => "755", recurse => true, } } This configuration is automatically fetched every 30 min from agent. I don't want to check the master every 30 min. I want to set the agent to "never-run". I started the puppet agent { [ayyanar@h1 ~]$ sudo service puppet start --no-client Starting puppet agent: [ OK ] [ayyanar@h1 ~]$ } Is this correct method. I started the puppet agent with --no-client but it is again automatically fetch the configuration. I don't know why. How to solve this. Thanks, Ayyanar -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7333538c-02a8-47d1-ac2d-c0a1d4c90527%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.