Skip to content

Commit

Permalink
Fix exists to exist since upgrade runners to vagrant 2.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JeGoi committed Jan 17, 2025
1 parent e879c71 commit ed8886c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ end

# include PacketFence(s) from PacketFence Vagrantfile
pfservers_vagrantfile = File.expand_path('pfservers/Vagrantfile')
load pfservers_vagrantfile if File.exists?(pfservers_vagrantfile)
load pfservers_vagrantfile if File.exist?(pfservers_vagrantfile)

# include switch(s) and supplicant(s) from Cumulus Vagrantfile
cumulus_vagrantfile = File.expand_path('cumulus/Vagrantfile')
load cumulus_vagrantfile if File.exists?(cumulus_vagrantfile)
load cumulus_vagrantfile if File.exist?(cumulus_vagrantfile)

# include switch(s) and supplicant(s) from Wireless Vagrantfile
wireless_vagrantfile = File.expand_path('wireless/Vagrantfile')
load wireless_vagrantfile if File.exists?(wireless_vagrantfile)
load wireless_vagrantfile if File.exist?(wireless_vagrantfile)

# include linux servers from linux_servers Vagrantfile
linux_servers_vagrantfile = File.expand_path('linux_servers/Vagrantfile')
load linux_servers_vagrantfile if File.exists?(linux_servers_vagrantfile)
load linux_servers_vagrantfile if File.exist?(linux_servers_vagrantfile)

0 comments on commit ed8886c

Please sign in to comment.