Skip to content

Fixes #39627 - Support OpenVox Agent for FreeBSD - #11162

Open
adamruzicka wants to merge 1 commit into
theforeman:developfrom
adamruzicka:freebsd-puppet
Open

Fixes #39627 - Support OpenVox Agent for FreeBSD#11162
adamruzicka wants to merge 1 commit into
theforeman:developfrom
adamruzicka:freebsd-puppet

Conversation

@adamruzicka

Copy link
Copy Markdown
Contributor

This changes from puppet 5 (default) or puppet 6 (parameter) to openvox 8 (default) or puppet 8 (parameter).

Additionally this moves from writing to an rc.conf file to using the sysrc utility when setting up the agent to run as a service.


if os_family == 'Freebsd'
freebsd_package = host_param_true?('enable-puppet6') ? 'puppet6' : 'puppet5'
freebsd_package = host_param_true?('enable-puppet8') ? 'puppet8' : 'openvox-agent8'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the FreeBSD Puppet agent bootstrap template to default to OpenVox 8 while still allowing Puppet 8 via host parameter, and modernizes service enablement using sysrc.

Changes:

  • Switch FreeBSD default agent package from Puppet 5/6 selection to openvox-agent8 by default, with puppet8 when enable-puppet8 is set.
  • Replace direct /etc/rc.conf append with sysrc for enabling the Puppet service on FreeBSD.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This changes from puppet 5 (default) or puppet 6 (parameter)
to openvox 8 (default) or puppet 8 (parameter).

Additionally this moves from writing to an rc.conf file to using the
sysrc utility when setting up the agent to run as a service.

@lzap lzap left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird this is passing without any snapshot test, is this even used? Ah we might not be doing FreeBSD snapshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants