You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BSD is currently "not supported" by the install script.
TL;DR: if you want FreeBSD support in a single script for all operating systems it must be made sh-compatibile, at least for the FreeBSD code path, or require a FreeBSD system where someone or something pre-installed bash. You will also have to live with facter2 at least for some time or compile relevant packages from the port collections (on every node, or just on one node and distribute your own binary packages).
An sh-compatibile unattended Puppet OpenSource installation on FreeBSD using its package system (with Facter2) boils down to this (the bootstrap and update phases are required if it is a fresh install where pkg has not been used before):
This will install the agent and the master (configured to run in mongrel) with the appropriate rc scripts to start them at boot (disabled by default).
We are using a variant of that script to set up production FreeBSD-11-RELEASE systems and as far as I can tell they integrate without problems with a Puppet Collections 1 server running on linux, but we are also considering switching to building it through ports to get the newer facter3.
The text was updated successfully, but these errors were encountered:
Thanks for the info, will remain as reference for who wants/needs to implement it via a PR (eventually using sh instead of bash, as long as nothing breaks).
Or I will do it as when possible.
BSD is currently "not supported" by the install script.
TL;DR: if you want FreeBSD support in a single script for all operating systems it must be made sh-compatibile, at least for the FreeBSD code path, or require a FreeBSD system where someone or something pre-installed
bash
. You will also have to live with facter2 at least for some time or compile relevant packages from the port collections (on every node, or just on one node and distribute your own binary packages).Here are some relevant info:
An sh-compatibile unattended Puppet OpenSource installation on FreeBSD using its package system (with Facter2) boils down to this (the
bootstrap
andupdate
phases are required if it is a fresh install wherepkg
has not been used before):This will install the agent and the master (configured to run in mongrel) with the appropriate rc scripts to start them at boot (disabled by default).
We are using a variant of that script to set up production FreeBSD-11-RELEASE systems and as far as I can tell they integrate without problems with a Puppet Collections 1 server running on linux, but we are also considering switching to building it through ports to get the newer facter3.
The text was updated successfully, but these errors were encountered: