https://github.com/simp/pupmod-simp-xinetd
The SIMP xinetd Puppet Module
https://github.com/simp/pupmod-simp-xinetd
hacktoberfest
Last synced: 8 months ago
JSON representation
The SIMP xinetd Puppet Module
- Host: GitHub
- URL: https://github.com/simp/pupmod-simp-xinetd
- Owner: simp
- License: other
- Created: 2015-05-19T09:49:44.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-09-25T17:00:19.000Z (9 months ago)
- Last Synced: 2025-10-05T18:44:55.779Z (8 months ago)
- Topics: hacktoberfest
- Language: Ruby
- Size: 290 KB
- Stars: 2
- Watchers: 15
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
[](http://www.apache.org/licenses/LICENSE-2.0.html)
[](https://bestpractices.coreinfrastructure.org/projects/73)
[](https://forge.puppetlabs.com/simp/xinetd)
[](https://forge.puppetlabs.com/simp/xinetd)
[](https://travis-ci.org/simp/pupmod-simp-xinetd)
* [This is a SIMP module](#this-is-a-simp-module)
* [Module Description](#module-description)
* [Examples](#examples)
* [Set up an 'uptime' service](#set-up-an-uptime-service)
* [Set up VNC forwarding](#set-up-vnc-forwarding)
* [Reference](#reference)
* [Development](#development)
## This is a SIMP module
This module is a component of the [System Integrity Management Platform](https://simp-project.com),
a compliance-management framework built on Puppet.
If you find any issues, they can be submitted to our [JIRA](https://simp-project.atlassian.net/).
Please read our [Contribution Guide](https://simp.readthedocs.io/en/stable/contributors_guide/index.html).
## Module Description
This module provides for configuration of the `xinetd` daemon and allows users
manage services to run under `xinetd`.
## Examples
### Set up an 'uptime' service
```puppet
xinetd::service { 'uptime':
server => '/usr/bin/uptime',
port => 12345,
protocol => 'tcp',
user => 'nobody',
x_type => 'UNLISTED',
x_wait => 'no',
socket_type => 'stream',
trusted_nets => ['ALL']
```
### Set up VNC forwarding
For this example, an SSH tunnel is expected to be used.
```puppet
xinetd::service { 'my_vnc':
banner => '/dev/null',
flags => ['REUSE','IPv4'],
protocol => 'tcp',
socket_type => 'stream',
x_wait => 'no',
x_type => 'UNLISTED',
user => 'nobody',
server => '/usr/bin/Xvnc',
server_args => "-inetd -localhost -audit 4 -s 15 -query localhost -NeverShared -once -SecurityTypes None -desktop my_vnc -geometry 800x600 -depth 16"
disable => 'no',
trusted_nets => ['127.0.0.1'],
port => 23456
}
```
## Reference
Plesae see [REFERENCE.md](./REFERENCE.md) for a full details.
# Development
Please read our [Contribution Guide](https://simp.readthedocs.io/en/stable/contributors_guide/index.html).
Visit the [project homepage](https://simp-project.com) and look at our issues on
[JIRA](https://simp-project.atlassian.net).