Replicating the Foreman environment


I am looking for a way to replicate the production Foreman environment in our DEV or Sandpit environment. This is how we have setup the infrastructure such as Contents views, subnets, Domains, Computer profiles and every thing except the clients

Is there any way to do this?

Tanks in advance

Hey @SarathHewage,
you can try GitHub - theforeman/forklift: Helpful deployment scripts for Foreman and Katello
there are many useful boxes, and if you need content views, look for the katello boxes, e.g:
forklift/99-local.yaml.example at master · theforeman/forklift · GitHub
to spin it up you’ll need to run: vagrant up centos8-katello-nightly-stable

We also have Ansible Modules that make configuring things like content views, subnets etc easier, so that you could use the same playbooks to configure all your environments to match?

I could recommend my talk from FOSDEM 2021: FOSDEM 2021 - your management layer should be cattle too