Skip to content

Commit

Permalink
Implement a more elegant workaround for Guest Updater being weird
Browse files Browse the repository at this point in the history
The .conf option was causing ~20% CPU utilization while idle. Lame.
  • Loading branch information
Jeff George committed Dec 23, 2015
1 parent 9b28678 commit a55696b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
10 changes: 6 additions & 4 deletions puppet/precip/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@
include 'precip::httpd'
include 'precip::database'

file { "/etc/init/vboxadd.conf":
content => template("precip/vboxadd.conf.erb"),
ensure => 'file',
mode => '0644',
# More elegant workaround for vbguest's issue #95
# See: https://github.com/dotless-de/vagrant-vbguest/issues/95#issuecomment-163777475
file { '/sbin/vboxadd':
ensure => "link",
force => "true",
target => "/sbin/rcvboxadd",
}

file { "/etc/init/restart_services_once_mounted.conf":
Expand Down
9 changes: 0 additions & 9 deletions puppet/precip/templates/vboxadd.conf.erb

This file was deleted.

0 comments on commit a55696b

Please sign in to comment.