Skip to content

Add issue_net_content parameter to allow custom banner content#439

Closed
jacobmw wants to merge 5 commits intosaz:masterfrom
jacobmw:feature/issue-net-content-parameter
Closed

Add issue_net_content parameter to allow custom banner content#439
jacobmw wants to merge 5 commits intosaz:masterfrom
jacobmw:feature/issue-net-content-parameter

Conversation

@jacobmw
Copy link

@jacobmw jacobmw commented Jan 30, 2026

This PR adds a new optional parameter issue_net_content to the ssh::server class that allows users to override the default issue.net template with custom content.

Changes:

  • Add issue_net_content parameter (Optional[String], defaults to undef)
  • When undef, uses the existing template (backward compatible)
  • When set, uses the provided string content instead of the template
  • Updated documentation in manifests/server.pp

Backward Compatibility:
✅ Fully backward compatible - existing configurations will continue to work unchanged

This is needed in order for class ssh::server::config to be able to find the variable.
Need to create $issue_net variable in ssh::server class
- Add optional issue_net_content parameter to ssh::server class
- Defaults to undef which uses the existing template
- When set, allows users to override with custom content
- Maintains backward compatibility
@jacobmw jacobmw closed this Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant