Hi there! Over the past few months we've worked with Foreman in several different projects and we'd like to share two of these projects, which might be useful to you. :)
foreman-yml [1] =============== Foreman-yml is a command line tool written in Python, which provides the ability to define the whole Foreman configuration (OS, partitioning templates, provisioning templates, etc.) in a simple and readable YAML file. In comparison to the hammer-cli foreman-yml is able to resolve the object names to its corresponding IDs. Meaning for example you can use the template names when defining the operating system without having to worry about the IDs. This also includes linking the corresponding objects, e.g. "check" the needed partiton templates in the OS context. Foreman Ansible playbook [2] ============================ In addition we've created a Foreman Ansible playbook from scratch, which currently offers the following features: * setup database (SQLite or MySQL) * setup webserver (plain nginx as a proxy or nginx-passenger) * setup isc-dhcp-server * setup TFTP server * setup foreman-proxy * setup Foreman including configuration (templates, hosts, domains, etc.) The playbook shouldn't replace the foreman-installer but rather provide an alternative way to setup Foreman instances for Ansible-oriented environments, which often do not include any Puppet servers at all. Currently it doesn't cover all the possible features of the foreman-installer but on the other hand allows one to fully configure Foreman thanks to the integrated foreman-yml tool. We made sure the playbook runs on many different distributions: * Debian 7 & 8 * Ubuntu 14.04 & 16.04 * CentOS 6 & 7 * Red Hat Enterprise Linux 6 & 7 For us this provides a nice and even more important reproducable way to deploy hands-free installations of Foreman. Both tools are freely available under the GPLv3 license and are hosted on GitHub. We hope some of you can make use of them and would love to hear your feedback. Contributions are more than welcome! :) [1] https://github.com/adfinis-sygroup/foreman-yml [2] https://github.com/adfinis-sygroup/foreman-ansible Cheers Michael -- Adfinis SyGroup AG Michael Hofer, System Engineer Keltenstrasse 98 | CH-3018 Bern Tel. +41 31 550 31 11 -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
pgps7ENHtkcrA.pgp
Description: OpenPGP digital signature
