func WriteBootstrapConfigFile(configs map[string]BootstrapConfig) error {
	data, err := yaml.Marshal(bootstrapConfigCollection{configs})
	if err != nil {
		return errors.Annotate(err, "cannot marshal bootstrap configurations")
	}
	return utils.AtomicWriteFile(JujuBootstrapConfigPath(), data, os.FileMode(0600))
}
// WriteBootstrapConfigFile marshals to YAML details of the given bootstrap
// configurations and writes it to the bootstrap config file.
WriteBootstrapConfigFile marshals to YAML details of the given bootstrap
configurations and writes it to the bootstrap config file.
// WriteBootstrapConfigFile marshals to YAML details of the given bootstrap // configurations and writes it to the bootstrap config file .
func WriteBootstrapConfigFile(configs map[string]BootstrapConfig) error {
	data, err := yaml.Marshal(bootstrapConfigCollection{configs})
	if err != nil {
		return errors.Annotate(err, "cannot marshal bootstrap configurations")
	}
	return utils.AtomicWriteFile(JujuBootstrapConfigPath(), data, os.FileMode(0600))
}
func WriteBootstrapConfigFile ( configs map [ string ] BootstrapConfig ) error { data , err := yaml . Marshal ( bootstrapConfigCollection { configs } ) if err != nil { return errors . Annotate ( err , " " ) } return utils . AtomicWriteFile ( JujuBootstrapConfigPath ( ) , data , os . FileMode ( 0600 ) ) }
WriteBootstrapConfigFile marshals to YAML details of the given bootstrap
configurations and writes it to the bootstrap config file.
WriteBootstrapConfigFile marshals to YAML details of the given bootstrap configurations and writes it to the bootstrap config file .