#6674 CFEngine Provisioner Broken on Debian (http > https)
This commit is contained in:
parent
ac3b24d93e
commit
37d7239803
|
@ -7,7 +7,9 @@ module VagrantPlugins
|
|||
machine.communicate.tap do |comm|
|
||||
comm.sudo("mkdir -p #{File.dirname(config.deb_repo_file)} && /bin/echo #{config.deb_repo_line} > #{config.deb_repo_file}")
|
||||
comm.sudo("GPGFILE=`tempfile`; wget -O $GPGFILE #{config.repo_gpg_key_url} && apt-key add $GPGFILE; rm -f $GPGFILE")
|
||||
|
||||
|
||||
comm.sudo("apt-get install -y --force-yes apt-transport-https");
|
||||
|
||||
comm.sudo("apt-get update")
|
||||
comm.sudo("apt-get install -y #{config.package_name}")
|
||||
end
|
||||
|
|
|
@ -51,7 +51,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
if @deb_repo_line == UNSET_VALUE
|
||||
@deb_repo_line = "deb http://cfengine.com/pub/apt/packages stable main"
|
||||
@deb_repo_line = "deb https://cfengine.com/pub/apt/packages stable main"
|
||||
end
|
||||
|
||||
@extra_agent_args = nil if @extra_agent_args == UNSET_VALUE
|
||||
|
@ -71,7 +71,7 @@ module VagrantPlugins
|
|||
@policy_server_address = nil if @policy_server_address == UNSET_VALUE
|
||||
|
||||
if @repo_gpg_key_url == UNSET_VALUE
|
||||
@repo_gpg_key_url = "http://cfengine.com/pub/gpg.key"
|
||||
@repo_gpg_key_url = "https://cfengine.com/pub/gpg.key"
|
||||
end
|
||||
|
||||
@upload_path = "/tmp/vagrant-cfengine-file" if @upload_path == UNSET_VALUE
|
||||
|
@ -81,7 +81,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
if @yum_repo_url == UNSET_VALUE
|
||||
@yum_repo_url = "http://cfengine.com/pub/yum/$basearch"
|
||||
@yum_repo_url = "https://cfengine.com/pub/yum/$basearch"
|
||||
end
|
||||
|
||||
if @package_name == UNSET_VALUE
|
||||
|
|
Loading…
Reference in New Issue