I'm trying to provision a server with my puphpet configuration. I can link with my remote server but then I get the following error when running vagrant provision
Bringing machine 'default' up with 'managed' provider...
==> default: The managed server is already linked.
ari@debian:~/Documents/vagrant_provision_dev_server$ vagrant provision
==> default: Rsyncing folder: /home/ari/Documents/vagrant_provision_dev_server/ => /vagrant
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mkdir -p /vagrant
Stdout from the command:
Stderr from the command:
sudo: nenhum tty presente e nenhum programa de askpass especificado
Here is my Vagrantfile:
# -*- mode: ruby -*-
dir = File.dirname(File.expand_path(__FILE__))
require 'yaml'
require "#{dir}/puphpet/ruby/deep_merge.rb"
require "#{dir}/puphpet/ruby/to_bool.rb"
require "#{dir}/puphpet/ruby/puppet.rb"
configValues = YAML.load_file("#{dir}/puphpet/config.yaml")
data = configValues['vagrantfile']
Vagrant.configure('2') do |config|
config.vm.box = "tknerr/managed-server-dummy"
config.vm.provider :managed do |managed, override|
managed.server = "10.1.1.64"
override.ssh.username = "inovarti"
override.ssh.private_key_path = "~/.ssh/id_rsa"
end
end
I can ssh normally into the server with this same user and with this same id_rsa in terminal.
I'm trying to provision a server with my puphpet configuration. I can link with my remote server but then I get the following error when running
vagrant provisionBringing machine 'default' up with 'managed' provider...
==> default: The managed server is already linked.
ari@debian:~/Documents/vagrant_provision_dev_server$ vagrant provision
==> default: Rsyncing folder: /home/ari/Documents/vagrant_provision_dev_server/ => /vagrant
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mkdir -p /vagrant
Stdout from the command:
Stderr from the command:
sudo: nenhum tty presente e nenhum programa de askpass especificado
Here is my Vagrantfile:
I can ssh normally into the server with this same user and with this same id_rsa in terminal.