From 5c1e2a3a985e0c2b7a3ddbdde771b25ac3c93c7d Mon Sep 17 00:00:00 2001 From: Tim Kuhlman Date: Wed, 14 May 2014 16:59:47 -0600 Subject: [PATCH] Added apt-transport-https before defining the https based apt repo --- metadata.rb | 2 +- recipes/default.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/metadata.rb b/metadata.rb index b21dd44..dc3fa72 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,5 +1,5 @@ name "mini-mon" -maintainer "SOM Team" +maintainer "Mon Team" maintainer_email "hpcs-mon@hp.com" license "All rights reserved" description "Base setup for all vagrant boxes" diff --git a/recipes/default.rb b/recipes/default.rb index 195baf1..bddebf1 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -20,6 +20,10 @@ rb.run_action(:create) # Run during compile time so that apt::cacher-client has # Add in the cacher-client, it will do something or nothing depending on the value of node[:apt][:cacher_ipaddress] include_recipe('apt::cacher-client') +# Some barebones distros do not yet have this installed +package 'apt-transport-https' do + action :install +end apt_repository 'dev' do uri 'https://region-a.geo-1.objects.hpcloudsvc.com/v1/46995959297574/mini-mon/public_repo' arch 'amd64'