/*
Provisions a thrust environment based on settings.
*/
func (sbtp SingleBinaryThrustProvisioner) Provision() error {
	err := sbtp.extractToPath(spawn.GetDownloadPath())
	if err != nil {
		return err
	}
	return spawn.Bootstrap()
}
Пример #2
0
func (tp TutorialProvisioner) Provision() error {
	spawn.SetBaseDirectory("") // Means use the users home directory
	return spawn.Bootstrap()

}