spelling: environment

This commit is contained in:
Josh Soref 2018-03-13 07:41:21 +00:00
parent 9b9ab4c492
commit 04d6bfc696
4 changed files with 4 additions and 4 deletions

View File

@ -2228,7 +2228,7 @@
* core: All HTTP downloads across Packer now support the standard * core: All HTTP downloads across Packer now support the standard
proxy environmental variables (`HTTP_PROXY`, `NO_PROXY`, etc.) [GH-252] proxy environmental variables (`HTTP_PROXY`, `NO_PROXY`, etc.) [GH-252]
* builder/amazon: API requests will use HTTP proxy if specified by * builder/amazon: API requests will use HTTP proxy if specified by
enviromental variables. environmental variables.
* builder/digitalocean: API requests will use HTTP proxy if specified * builder/digitalocean: API requests will use HTTP proxy if specified
by environmental variables. by environmental variables.

View File

@ -410,7 +410,7 @@ func setCloudEnvironment(c *Config) error {
name := strings.ToUpper(c.CloudEnvironmentName) name := strings.ToUpper(c.CloudEnvironmentName)
envName, ok := lookup[name] envName, ok := lookup[name]
if !ok { if !ok {
return fmt.Errorf("There is no cloud envionment matching the name '%s'!", c.CloudEnvironmentName) return fmt.Errorf("There is no cloud environment matching the name '%s'!", c.CloudEnvironmentName)
} }
env, err := azure.EnvironmentFromName(envName) env, err := azure.EnvironmentFromName(envName)

View File

@ -32,7 +32,7 @@ mv $TOMCAT_NAME /opt
wget $JENKINS_URL wget $JENKINS_URL
mv jenkins.war $TOMCAT_PATH/webapps/ mv jenkins.war $TOMCAT_PATH/webapps/
#set emvironment #set environment
echo "TOMCAT_PATH=\"$TOMCAT_PATH\"">>/etc/profile echo "TOMCAT_PATH=\"$TOMCAT_PATH\"">>/etc/profile
echo "JENKINS_HOME=\"$TOMCAT_PATH/webapps/jenkins\"">>/etc/profile echo "JENKINS_HOME=\"$TOMCAT_PATH/webapps/jenkins\"">>/etc/profile
echo PATH="\"\$PATH:\$TOMCAT_PATH:\$JENKINS_HOME\"">>/etc/profile echo PATH="\"\$PATH:\$TOMCAT_PATH:\$JENKINS_HOME\"">>/etc/profile

View File

@ -338,7 +338,7 @@ func (p *Provisioner) retryable(f func() error) error {
} }
} }
// Enviroment variables required within the remote environment are uploaded within a PS script and // Environment variables required within the remote environment are uploaded within a PS script and
// then enabled by 'dot sourcing' the script immediately prior to execution of the main command // then enabled by 'dot sourcing' the script immediately prior to execution of the main command
func (p *Provisioner) prepareEnvVars(elevated bool) (envVarPath string, err error) { func (p *Provisioner) prepareEnvVars(elevated bool) (envVarPath string, err error) {
// Collate all required env vars into a plain string with required formatting applied // Collate all required env vars into a plain string with required formatting applied