Bug #4548

Start puppetd on FreeBSD 8.0

Added by Kiril Varnakov almost 2 years ago. Updated over 1 year ago.

Status:Rejected Start date:08/17/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:agent
Target version:2.6.1
Affected Puppet version:2.6.1rc2 Branch:
Keywords:
Votes: 0

Description

Hello. After start puppetd with script in /usr/local/etc/rc.d/puppet, it continued start agent.

History

Updated by James Turnbull almost 2 years ago

  • Status changed from Unreviewed to Needs More Information

I am sorry I don’t understand the issue – can you please explain in more detail?

Updated by Kiril Varnakov almost 2 years ago

freebsd85# /usr/local/etc/rc.d/puppet start Starting puppet.

Hold on this moment. If write ‘ps ax’ in other ssh session, i see next:

freebsd85# ps ax | grep puppet

12655 ?? Ss 0:00.61 /usr/local/bin/ruby18 /usr/local/bin/puppet agent -l /var/puppet/log/puppetagent.log

12641 4 I+ 0:00.01 /bin/sh /usr/local/etc/rc.d/puppet start

12646 4 S+ 0:01.21 /usr/local/bin/ruby18 /usr/local/bin/puppet agent -l /var/puppet/log/puppetagent.log

Updated by James Turnbull almost 2 years ago

Kiril – I’m sorry but I still don’t see the issue?

Updated by Kiril Varnakov almost 2 years ago

What are you see?

Updated by James Turnbull almost 2 years ago

I don’t understand what the problem is. You start Puppet and it runs?

Updated by Kiril Varnakov almost 2 years ago

It want run twice. Why?

Updated by James Turnbull almost 2 years ago

That sounds like a downstream rc script issue – have you logged an issue with the packager?

Updated by Kiril Varnakov almost 2 years ago

Yes. Maybe not, i don’t understand question.

Updated by James Turnbull almost 2 years ago

  • Status changed from Needs More Information to Rejected

Then I suggest you follow up with them – we don’t manage rc scripts for downstream packages. Please feel free to re-open if it turns out to be an upstream issue.

Updated by Kiril Varnakov almost 2 years ago

Ok, thank you

Updated by Russell Jackson over 1 year ago

Make sure you don’t have run_dir set in your puppet.conf. By default, it creates the pidfile in /var/run/puppet. If you change it away from this, the rc script won’t be able to find it and will assume it’s not running.

Updated by Kiril Varnakov over 1 year ago

[agent]

libdir = /var/puppet/lib
vardir=/var/puppet
pluginsync = false
rundir = /var/run/puppet
daemonize = true
logdir = /var/puppet/log
runinterval = 60

That is my config for agent.

Also available in: Atom PDF