Andrew Bogott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/164489

Change subject: You know what I hate?
......................................................................

You know what I hate?

I hate it when I wait an hour for vmbuilder to finish a clean build,
and then it errors out at the last minute because it can't unmount the
new volume because for some reason there's a puppet agent running
in the chroot that's holding a million files open for no reason.

This patch might make that happen less.

Change-Id: I5df02b755b2e0e0d42c247906a01a2f11fb23829
---
M modules/labs_vmbuilder/files/postinst.sh
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/89/164489/1

diff --git a/modules/labs_vmbuilder/files/postinst.sh 
b/modules/labs_vmbuilder/files/postinst.sh
index 4adc0aa..3fdc7b8 100644
--- a/modules/labs_vmbuilder/files/postinst.sh
+++ b/modules/labs_vmbuilder/files/postinst.sh
@@ -24,6 +24,7 @@
   rm /root/install_sudo.sh
   apt-get install -y puppet puppet-common facter nfs-client salt-minion
   /etc/init.d/salt-minion stop
+  /etc/init.d/puppet stop
   mv /etc/puppet/puppet.conf.install /etc/puppet/puppet.conf
   mv /etc/default/puppet.install /etc/default/puppet
   rm /etc/ssh/ssh_host*key*

-- 
To view, visit https://gerrit.wikimedia.org/r/164489
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5df02b755b2e0e0d42c247906a01a2f11fb23829
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to