spelling: environment
This commit is contained in:
parent
9b9ab4c492
commit
04d6bfc696
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue