(#7) Update create_domain.pp to add validation.