Make use of YAMLs block literals to remove \n text and make input easier (no escaping of " for example).
This commit is contained in:
parent
3cb583cce7
commit
a7d55db213
|
@ -1,123 +1,163 @@
|
||||||
:box_already_exists: "This box appears to already exist! Please call `vagrant box remove <%= box_name %>`
|
# Using YAMLs Block Literals to preserve new lines
|
||||||
\nand then try to add it again."
|
# http://en.wikipedia.org/wiki/YAML#Newlines_preserved
|
||||||
:box_add_already_exists: "A box with the name '<%= box_name %>' already exists, please use another name or use `vagrant box remove <%= box_name %>`"
|
# In short, | means keep new lines, trim whitespace left and right
|
||||||
:box_download_unknown_type: "Unknown URI type for box download."
|
# The |- does the above, but trims the new line at the end of all text
|
||||||
:box_remove_doesnt_exist: "The box you're attempting to remove does not exist!"
|
|
||||||
:box_specified_doesnt_exist: "Specified box `<%= box_name %>` does not exist!
|
|
||||||
|
|
||||||
\nThe box must be added through the `vagrant box add` command. Please view
|
:box_already_exists: |-
|
||||||
\nthe documentation associated with the command for more information."
|
This box appears to already exist! Please call `vagrant box remove <%= box_name %>`
|
||||||
:box_not_specified: "No base box was specified! A base box is required as a staring point
|
and then try to add it again.
|
||||||
\nfor every vagrant virtual machine. Please specify one in your Vagrantfile
|
:box_add_already_exists: |-
|
||||||
\nusing `config.vm.box`"
|
A box with the name '<%= box_name %>' already exists, please use another name or use `vagrant box remove <%= box_name %>`
|
||||||
:chef_base_invalid_provisioner: "Vagrant::Provisioners::Chef is not a valid provisioner! Use ChefSolo or ChefServer instead."
|
:box_download_unknown_type: |-
|
||||||
:chef_server_url_required: "Chef server provisioning requires that the `config.chef.chef_server_url` be set to the
|
Unknown URI type for box download.
|
||||||
\nURL of your chef server. Examples include \"http://12.12.12.12:4000\" and
|
:box_remove_doesnt_exist: |-
|
||||||
\n\"http://myserver.com:4000\" (the port of course can be different, but 4000 is the default)"
|
The box you're attempting to remove does not exist!
|
||||||
:chef_server_validation_key_required: "Chef server provisioning requires that the `config.chef.validation_key_path` configuration
|
:box_specified_doesnt_exist: |-
|
||||||
\nbe set to a path on your local machine of the validation key used to register the
|
Specified box `<%= box_name %>` does not exist!
|
||||||
\nVM with the chef server."
|
|
||||||
:chef_server_validation_key_doesnt_exist: "The validation key set for `config.chef.validation_key_path` does not exist! This
|
|
||||||
\nfile needs to exist so it can be uploaded to the virtual machine. It is
|
|
||||||
\ncurrently set to \"<%= Vagrant.config.chef.validation_key_path %>\""
|
|
||||||
:command_box_invalid: "Please specify a valid action to take on the boxes, either
|
|
||||||
\n`add` or `remove`. Examples:
|
|
||||||
|
|
||||||
\nvagrant box add name uri
|
The box must be added through the `vagrant box add` command. Please view
|
||||||
\nvagrant box remove name
|
the documentation associated with the command for more information.
|
||||||
\nvagrant box list"
|
:box_not_specified: |-
|
||||||
:dotfile_error: "The dotfile which Vagrant uses to store the UUID of the project's
|
No base box was specified! A base box is required as a staring point
|
||||||
\nvirtual machine already exists and is not a file! The dotfile is
|
for every vagrant virtual machine. Please specify one in your Vagrantfile
|
||||||
\ncurrently configured to be `<%= env.dotfile_path %>`
|
using `config.vm.box`
|
||||||
|
:chef_base_invalid_provisioner: |-
|
||||||
|
Vagrant::Provisioners::Chef is not a valid provisioner! Use ChefSolo or ChefServer instead.
|
||||||
|
:chef_server_url_required: |-
|
||||||
|
Chef server provisioning requires that the `config.chef.chef_server_url` be set to the
|
||||||
|
URL of your chef server. Examples include "http://12.12.12.12:4000" and
|
||||||
|
"http://myserver.com:4000" (the port of course can be different, but 4000 is the default)
|
||||||
|
:chef_server_validation_key_required: |-
|
||||||
|
Chef server provisioning requires that the `config.chef.validation_key_path` configuration
|
||||||
|
be set to a path on your local machine of the validation key used to register the
|
||||||
|
VM with the chef server.
|
||||||
|
:chef_server_validation_key_doesnt_exist: |-
|
||||||
|
The validation key set for `config.chef.validation_key_path` does not exist! This
|
||||||
|
file needs to exist so it can be uploaded to the virtual machine. It is
|
||||||
|
currently set to "<%= Vagrant.config.chef.validation_key_path %>"
|
||||||
|
:command_box_invalid: |-
|
||||||
|
Please specify a valid action to take on the boxes, either
|
||||||
|
`add` or `remove`. Examples:
|
||||||
|
|
||||||
\nTo change this value, please see `config.vagrant.dotfile_name`
|
vagrant box add name uri
|
||||||
|
vagrant box remove name
|
||||||
|
vagrant box list
|
||||||
|
:dotfile_error: |-
|
||||||
|
The dotfile which Vagrant uses to store the UUID of the project's
|
||||||
|
virtual machine already exists and is not a file! The dotfile is
|
||||||
|
currently configured to be `<%= env.dotfile_path %>`
|
||||||
|
|
||||||
\nThis often exists if you're trying to create a Vagrant virtual
|
To change this value, please see `config.vagrant.dotfile_name`
|
||||||
\nenvironment from your home directory. To resolve this, you can either
|
|
||||||
\nmodify the configuration a bit, or simply use a different directory."
|
|
||||||
:downloader_file_doesnt_exist: "The given box does not exist on the file system:\n
|
|
||||||
|
|
||||||
\n<%= source_url %>"
|
This often exists if you're trying to create a Vagrant virtual
|
||||||
:environment_not_created: "The task you're trying to run requires that the vagrant environment
|
environment from your home directory. To resolve this, you can either
|
||||||
\nalready be created, but unfortunately this vagrant still appears to
|
modify the configuration a bit, or simply use a different directory.
|
||||||
\nhave no box! You can setup the environment by setting up your
|
:downloader_file_doesnt_exist: |-
|
||||||
\n<%= Vagrant::Environment::ROOTFILE_NAME %> and running `vagrant up`"
|
The given box does not exist on the file system:
|
||||||
:package_include_file_doesnt_exist: "File specified to include: '<%= filename %>' does not exist!"
|
|
||||||
:package_requires_export: "Package must be used in conjunction with export."
|
|
||||||
:provisioner_invalid_class: "Provisioners must be an instance of Vagrant::Provisioners::Base"
|
|
||||||
:provisioner_unknown_type: "Unknown provisioner type: <%= provisioner %>"
|
|
||||||
:rootfile_already_exists: "It looks like this directory is already setup for vagrant! (A <%= Vagrant::Environment::ROOTFILE_NAME %>
|
|
||||||
\nalready exists.)"
|
|
||||||
:rootfile_not_found: "A `<%= Vagrant::Environment::ROOTFILE_NAME %>` was not found! This file is required for vagrant to run
|
|
||||||
\nsince it describes the expected environment that vagrant is supposed
|
|
||||||
\nto manage. Please create a `<%= Vagrant::Environment::ROOTFILE_NAME %>` and place it in your project
|
|
||||||
\nroot."
|
|
||||||
:ssh_bad_permissions: "The private key to connect to this box via SSH has invalid permissions
|
|
||||||
\nset on it. The permissions of the private key should be set to 0600, otherwise SSH will
|
|
||||||
\nignore the key. Vagrant tried to do this automatically for you but failed. Please set the
|
|
||||||
\npermissions on the following file to 0600 and then try running this command again:
|
|
||||||
|
|
||||||
\n<%= key_path %>"
|
<%= source_url %>
|
||||||
:ssh_unavailable_windows: "`vagrant ssh` isn't available on the Windows platform. The vagrant.ppk
|
:environment_not_created: |-
|
||||||
\nfile is available at <%= key_path %>.ppk
|
The task you're trying to run requires that the vagrant environment
|
||||||
\nfor use with Putty. To do this create a new Putty session for vagrant@localhost on
|
already be created, but unfortunately this vagrant still appears to
|
||||||
\nport <%= ssh_port %>, in the Connection>SSH>Auth configuration section navigate
|
have no box! You can setup the environment by setting up your
|
||||||
\nto the vagrant.ppk file, select it, save the session for later use, and connect.
|
<%= Vagrant::Environment::ROOTFILE_NAME %> and running `vagrant up`
|
||||||
\nFor a more detailed guide please consult TODO LINK."
|
:package_include_file_doesnt_exist: |-
|
||||||
:virtualbox_import_failure: "The VM import failed! Try running `VBoxManage import` on the box file manually for more verbose error output."
|
File specified to include: '<%= filename %>' does not exist!
|
||||||
:virtualbox_invalid_version: "Vagrant has detected that you have VirtualBox version <%= version %> installed!
|
:package_requires_export: |-
|
||||||
\nVagrant requires that you use at least VirtualBox version 3.1. Please install
|
Package must be used in conjunction with export.
|
||||||
\na more recent version of VirtualBox to continue."
|
:provisioner_invalid_class: |-
|
||||||
:virtualbox_not_detected: "Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
|
Provisioners must be an instance of Vagrant::Provisioners::Base
|
||||||
\nIf VirtualBox is installed, you may need to tweak the paths to the `VBoxManage`
|
:provisioner_unknown_type: |-
|
||||||
\napplication which ships with VirtualBox and the path to the global XML configuration
|
Unknown provisioner type: <%= provisioner %>
|
||||||
\nwhich VirtualBox typically stores somewhere in your home directory.
|
:rootfile_already_exists: |-
|
||||||
|
It looks like this directory is already setup for vagrant! (A <%= Vagrant::Environment::ROOTFILE_NAME %>
|
||||||
|
already exists.)
|
||||||
|
:rootfile_not_found: |-
|
||||||
|
A `<%= Vagrant::Environment::ROOTFILE_NAME %>` was not found! This file is required for vagrant to run
|
||||||
|
since it describes the expected environment that vagrant is supposed
|
||||||
|
to manage. Please create a `<%= Vagrant::Environment::ROOTFILE_NAME %>` and place it in your project
|
||||||
|
root.
|
||||||
|
:ssh_bad_permissions: |-
|
||||||
|
The private key to connect to this box via SSH has invalid permissions
|
||||||
|
set on it. The permissions of the private key should be set to 0600, otherwise SSH will
|
||||||
|
ignore the key. Vagrant tried to do this automatically for you but failed. Please set the
|
||||||
|
permissions on the following file to 0600 and then try running this command again:
|
||||||
|
|
||||||
\nThe following shows how to configure VirtualBox. This can be done in the
|
<%= key_path %>
|
||||||
\nVagrantfile. Note that 90% of the time, you shouldn't need to do this if VirtualBox
|
:ssh_unavailable_windows: |-
|
||||||
\nis installed. Please use the various Vagrant support lines to request more information
|
`vagrant ssh` isn't available on the Windows platform. The vagrant.ppk
|
||||||
\nif you can't get this working.
|
file is available at <%= key_path %>.ppk
|
||||||
|
for use with Putty. To do this create a new Putty session for vagrant@localhost on
|
||||||
|
port <%= ssh_port %>, in the Connection>SSH>Auth configuration section navigate
|
||||||
|
to the vagrant.ppk file, select it, save the session for later use, and connect.
|
||||||
|
For a more detailed guide please consult TODO LINK.
|
||||||
|
:virtualbox_import_failure: |-
|
||||||
|
The VM import failed! Try running `VBoxManage import` on the box file manually for more verbose error output.
|
||||||
|
:virtualbox_invalid_version: |-
|
||||||
|
Vagrant has detected that you have VirtualBox version <%= version %> installed!
|
||||||
|
Vagrant requires that you use at least VirtualBox version 3.1. Please install
|
||||||
|
a more recent version of VirtualBox to continue.
|
||||||
|
:virtualbox_not_detected: |-
|
||||||
|
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
|
||||||
|
If VirtualBox is installed, you may need to tweak the paths to the `VBoxManage`
|
||||||
|
application which ships with VirtualBox and the path to the global XML configuration
|
||||||
|
which VirtualBox typically stores somewhere in your home directory.
|
||||||
|
|
||||||
\nVirtualBox::Command.vboxmanage = \"/path/to/my/VBoxManage\"
|
The following shows how to configure VirtualBox. This can be done in the
|
||||||
\nVirtualBox::Global.vboxconfig = \"~/path/to/VirtualBox.xml\""
|
Vagrantfile. Note that 90% of the time, you shouldn't need to do this if VirtualBox
|
||||||
:virtualbox_xml_not_detected: "Vagrant couldn't find your global VirtualBox.xml file!
|
is installed. Please use the various Vagrant support lines to request more information
|
||||||
|
if you can't get this working.
|
||||||
|
|
||||||
\nIf you just recently installed VirtualBox, make sure you've launched
|
VirtualBox::Command.vboxmanage = "/path/to/my/VBoxManage"
|
||||||
\nit at least once, since the initial launch will typically create this
|
VirtualBox::Global.vboxconfig = "~/path/to/VirtualBox.xml"
|
||||||
\nfile.
|
:virtualbox_xml_not_detected: |-
|
||||||
|
Vagrant couldn't find your global VirtualBox.xml file!
|
||||||
|
|
||||||
\nOtherwise, you may need to set the path to the VirtualBox.xml file
|
If you just recently installed VirtualBox, make sure you've launched
|
||||||
\nmanually. Note that 90% of people should never have to do this, so
|
it at least once, since the initial launch will typically create this
|
||||||
\ndon't be afraid to use the various Vagrant support lines to ask for
|
file.
|
||||||
\nhelp. To set the path manually:
|
|
||||||
|
|
||||||
\nVirtualBox::Global.vboxconfig = \"/path/to/VirtualBox.xml\""
|
Otherwise, you may need to set the path to the VirtualBox.xml file
|
||||||
:vm_failed_to_boot: "Failed to connect to VM! Failed to boot?"
|
manually. Note that 90% of people should never have to do this, so
|
||||||
:vm_not_running: "VM is not running! Nothing to shut down!"
|
don't be afraid to use the various Vagrant support lines to ask for
|
||||||
:vm_not_running_for_suspend: "The vagrant virtual environment you are trying to suspend must be running to be suspended."
|
help. To set the path manually:
|
||||||
:vm_not_suspended: "The vagrant virtual environment you are trying to resume is not in a suspended state."
|
|
||||||
:vm_port_collision: "Vagrant cannot forward the specified ports on this VM, since they
|
|
||||||
\nwould collide with another VirtualBox virtual machine's forwarded
|
|
||||||
\nports! The \"<%= name %>\" forwarded port (<%= hostport %>) is already in use on the host
|
|
||||||
\nmachine.
|
|
||||||
|
|
||||||
\nTo fix this, modify your current projects Vagrantfile to use another
|
VirtualBox::Global.vboxconfig = "/path/to/VirtualBox.xml"
|
||||||
\nport. Example, where '1234' would be replaced by a unique host port:
|
:vm_failed_to_boot: |-
|
||||||
|
Failed to connect to VM! Failed to boot?
|
||||||
|
:vm_not_running: |-
|
||||||
|
VM is not running! Nothing to shut down!
|
||||||
|
:vm_not_running_for_suspend: |-
|
||||||
|
The vagrant virtual environment you are trying to suspend must be running to be suspended.
|
||||||
|
:vm_not_suspended: |-
|
||||||
|
The vagrant virtual environment you are trying to resume is not in a suspended state.
|
||||||
|
:vm_port_collision: |-
|
||||||
|
Vagrant cannot forward the specified ports on this VM, since they
|
||||||
|
would collide with another VirtualBox virtual machine's forwarded
|
||||||
|
ports! The "<%= name %>" forwarded port (<%= hostport %>) is already in use on the host
|
||||||
|
machine.
|
||||||
|
|
||||||
\nconfig.vm.forward_port(\"<%= name %>\", <%= guestport %>, 1234)"
|
To fix this, modify your current projects Vagrantfile to use another
|
||||||
:vm_power_off_to_move_hd: "The virtual machine must be powered off to move its disk."
|
port. Example, where '1234' would be replaced by a unique host port:
|
||||||
:vm_power_off_to_package: "The vagrant virtual environment you are trying to package must be powered off."
|
|
||||||
:vm_mount_fail: "Failed to mount shared folders. vboxsf was not available."
|
|
||||||
:vm_ssh_auth_failed: "SSH authentication failed! While this could be due to a variety of reasons,
|
|
||||||
\nthe two most common are: private key path is incorrect or you're using a box
|
|
||||||
\nwhich was built for Vagrant 0.1.x.
|
|
||||||
|
|
||||||
\nVagrant 0.2.x dropped support for password-based authentication. If you're
|
config.vm.forward_port("<%= name %>", <%= guestport %>, 1234)
|
||||||
\ntring to `vagrant up` a box which does not support Vagrant's private/public
|
:vm_power_off_to_move_hd: |-
|
||||||
\nkeypair, then this error will be raised. To resolve this, read the guide
|
The virtual machine must be powered off to move its disk.
|
||||||
\non converting base boxes from password-based to keypairs here:
|
:vm_power_off_to_package: |-
|
||||||
|
The vagrant virtual environment you are trying to package must be powered off.
|
||||||
|
:vm_mount_fail: |-
|
||||||
|
Failed to mount shared folders. vboxsf was not available.
|
||||||
|
:vm_ssh_auth_failed: |-
|
||||||
|
SSH authentication failed! While this could be due to a variety of reasons,
|
||||||
|
the two most common are: private key path is incorrect or you're using a box
|
||||||
|
which was built for Vagrant 0.1.x.
|
||||||
|
|
||||||
\nhttp://vagrantup.com/docs/converting_password_to_key_ssh.html
|
Vagrant 0.2.x dropped support for password-based authentication. If you're
|
||||||
|
tring to `vagrant up` a box which does not support Vagrant's private/public
|
||||||
|
keypair, then this error will be raised. To resolve this, read the guide
|
||||||
|
on converting base boxes from password-based to keypairs here:
|
||||||
|
|
||||||
\nIf the box was built for 0.2.x and contains a custom public key, perhaps
|
http://vagrantup.com/docs/converting_password_to_key_ssh.html
|
||||||
\nthe path to the private key is incorrect. Check your `config.ssh.private_key_path`."
|
|
||||||
|
If the box was built for 0.2.x and contains a custom public key, perhaps
|
||||||
|
the path to the private key is incorrect. Check your `config.ssh.private_key_path`.
|
||||||
|
|
Loading…
Reference in New Issue