Open ericzolf opened 8 years ago
bootstrap.py expects the HG to be set up properly: https://github.com/Katello/katello-client-bootstrap/blob/master/README.md#assumptions
if you do not have the HG set up to use puppet, you can skip it completelly with --skip-puppet
Hi Evgeni,
I'm fine with the fact that it's working as it should (it's not a bug, it's a feature), but it doesn't mean we can't change the way it works, and I think that there are customers using Puppet only for gathering facts, in which case, it doesn't make sense to care about the Puppet environment.
OK, I've rephrased it as RFE.
KR, Eric
As the subject says, create_host fails with an error that a null environment_id isn't acceptable.
Adding the following two lines solved the issue for me, but it sounds slightly ugly, because it assumes an ID of 1 for production, and I don't know if there are no side effects if the Puppet environment of the created host is set "forcefully" to production:
bootstrap-envid_patch.txt