This repository was archived by the owner on Dec 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66class virtualbox {
77
88 exec { 'Kill Virtual Box Processes' :
9- command => ' pkill "VBoxXPCOMIPCD" || true && pkill "VBoxSVC" || true && pkill "VBoxHeadless" || true' ,
10- path => ' /usr/bin:/usr/sbin:/bin:/usr/local/bin' ,
11- # returns => [0,1],
12- # refreshonly => true,
9+ command => ' pkill "VBoxXPCOMIPCD" || true && pkill "VBoxSVC" || true && pkill "VBoxHeadless" || true' ,
10+ path => ' /usr/bin:/usr/sbin:/bin:/usr/local/bin' ,
11+ refreshonly => true ,
1312 }
1413
1514 package { 'VirtualBox-4.3.2-90405' :
Original file line number Diff line number Diff line change 11require 'spec_helper'
22
33describe 'virtualbox' do
4+ it do
5+ should contain_exec ( 'Kill Virtual Box Processes' ) . with ( {
6+ :command => 'pkill "VBoxXPCOMIPCD" || true && pkill "VBoxSVC" || true && pkill "VBoxHeadless" || true' ,
7+ :path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin' ,
8+ :refreshonly => true ,
9+ } )
10+ end
411 it do
512 should contain_package ( 'VirtualBox-4.3.2-90405' ) . with ( {
613 :ensure => 'installed' ,
You can’t perform that action at this time.
0 commit comments