Strange

Unfortunately I didn't keep the instance of the VM I just got those
results above from.

Having just recreated the VM (always from a snapshot of 12.04.1 before
first boot but after installation) following the same steps and before I
connected it to the puppetmaster i tested and it worked just fine as you
said. After connecting to the puppetmaster it continued to work just
fine.

I had created an puppetmaster entry for puppet's init script, but only
after i discovered the problem initially and only to solve that problem.
I have tested with that entry enabled and disabled so it appears to make
no difference. Indeed the only difference between the two files is one
(the one installed by the puppetmaster) has
PIDFILE="/var/run/puppet/agent.pid" and the other (before puppetmaster
changed it) had "/var/run/puppet/${NAME}.pid" (difference tracked with
mercurial)

So i'm now a bit confused as to how this could have happened, but it
doesn't appear to be a bug as I originally thought.

This is how events have progressed:

2012-10-02:
- on new physical server: - detected problem
- installed copy of 12.04.1 server on virtualbox for testing
- took snapshot before first boot
- detected same problem on VM after installation - discovered it had to do with 
name of pid file
- reported bug

2012-10-15
- saw response
- rolled VM back to snapshot above
- installed puppet and produced output as seen above in my previous reply 
(recorded with screen and then manually tidied)
- saw response
- rolled VM back to snapshot above
- installed puppet without joining to puppetmaster - no problem
- joined to puppetmaster having commented out the entry that affects 
/etc/init.d/puppet - no problem
- uncommented entry - /etc/init.d/puppet changed - no problem

In conclusion

I don't know what was causing the problem initially but whatever it was appears 
to have gone away. Unless an update for puppet has been released between 2nd 
and 15th then I can't understand how come it now works, but it does so I shan't 
complain.
I am sorry - It seems I've been wasting your time.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1060184

Title:
  puppet client init script pid file error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1060184/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to