HomePhabricator

Fix race in puppet::self (puppet.conf compilation)

Authored by mmodell on Apr 22 2016, 4:37 AM.

Description

Fix race in puppet::self (puppet.conf compilation)

Sometimes puppet::self compiles the puppet.conf before removing the
10-main.conf in puppet.conf.d, causing the puppet.con to contain
both the main.conf and self.conf templates.

It should have only one or the other and this change should ensure
that the operations happen in the correct order (hopefully!)

Bug: T132689
Change-Id: I4c08e6e74764a51f31d57c97d383c4dbb03f021a