From f3b93c4720ae15edc7862f96b31110356d66020c Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 8 Mar 2019 14:16:02 +0000 Subject: [PATCH] features/deployCode - Updating vagrant install files --- Vagrantfile | 9 +++++---- dev-config.yml | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 8752953..dc9796d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -7,9 +7,9 @@ Vagrant.configure(2) do |config| required_plugins = %w( vagrant-vbguest ) _retry = false - + required_plugins.each do |plugin| - unless Vagrant.has_plugin? plugin + unless Vagrant.has_plugin? plugin system "vagrant plugin install #{plugin}" _retry = true end @@ -25,7 +25,7 @@ Vagrant.configure(2) do |config| # VM has an IP on local network - using DHCP config.vm.network "public_network", use_dhcp_assigned_default_route: true - + # Assign a second nic to VirtualBox config.vm.provider :virtualbox do |vb, override| override.vm.network "private_network", ip: devConfig["ip"] @@ -50,7 +50,8 @@ Vagrant.configure(2) do |config| devConfig['rom_store_url'], devConfig['rom_store_sas'], devConfig['settings_url'], - devConfig['settings_sas'] + devConfig['settings_sas'], + devConfig['eventhubskey'] ] config.vm.provision "IP address", type: "shell", diff --git a/dev-config.yml b/dev-config.yml index ca1e5ea..3c571f2 100644 --- a/dev-config.yml +++ b/dev-config.yml @@ -25,4 +25,6 @@ azure_storage_share_name: 'assharegseun' rom_store_url: 'asdevstorgameseun' rom_store_sas: '?sv=2017-07-29&sig=6b4UveGRv2SAD5RjexdmoVzIek9zkIdsXNem6OtCo2E%3D&se=2119-02-27T15%3A53%3A10Z&srt=sco&ss=bf&sp=ra' settings_url: 'asdevblob' -settings_sas: '?sv=2017-07-29&sig=yHerX6jRg4cOOIZOsJqjtLtDr4mqqBD8LhFbPDF2eu8%3D&se=2119-02-27T15%3A53%3A11Z&srt=sco&ss=bf&sp=r' \ No newline at end of file +settings_sas: '?sv=2017-07-29&sig=yHerX6jRg4cOOIZOsJqjtLtDr4mqqBD8LhFbPDF2eu8%3D&se=2119-02-27T15%3A53%3A11Z&srt=sco&ss=bf&sp=r' + +eventhubskey: 'eaJbOPKbJMz3S/A5cOHRQtDNEw2VJ4FxQCjCaZJuE88='