theforeman / puppet-foreman

Puppet module for Foreman
GNU General Public License v3.0
104 stars 269 forks source link

add `foreman_location` and `foreman_organization` resources #1179

Open dmaes opened 2 weeks ago

dmaes commented 2 weeks ago

This PR adds foreman_location and foreman_organization resources, as well as some helper functions on the foreman_resource resource.

For now, I only added the parameters that we use ourselves. If required, I can add the others too, but I won't be able to test those on a live instance.

Also my first time writing rspec tests, so let me know if something can be improved on that side too.