Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
- Puppet >= 5.5.0 < 7.0.0
Start using this module
Add this module to your Puppetfile:
mod 'mark0n-epics_gateway', '1.1.2'
Learn more about managing modules with a PuppetfileDocumentation
This Puppet module installs and configures the EPICS Channel Access Gateway. The gateway is run in 'procServ' to ease maintenance. The gateway can be started/stopped as a systemd service.
Note that there is a non-instance specific part which is only needed once for each host acting as a Channel Access gateway and an instance-specific part which is needed for each instance of the gateway. The general part can be found in class epics_gateway whereas epics_gateway::gateway needs to be instantiated for each gateway instance that should be run on the managed machine.
Examples that require multiple gateway instances on a single machine include:
a) A gateway machine providing access to an accelerator network as well as to an experimental network from the office network (three networks). b) A gateway machine that provides access back and forth between an accelerator network and an experimental network (thus acting as a forward and reverse gateway).
Examples
Make PVs from 192.168.1.xxx and 192.168.2.xxx available on 192.168.3.xxx:
include 'epics_gateway'
vcsrepo { '/etc/epics/cagateway-192.168.1.xxx':
...
}
vcsrepo { '/etc/epics/cagateway-192.168.2.xxx':
...
}
epics_gateway::gateway { '192.168.1.xxx':
server_ip => '192.168.3.1',
client_ip => '192.168.1.255',
require => Package['ioclogserver'],
subscribe => Vcsrepo['/etc/epics/cagateway-192.168.1.xxx'],
}
epics_gateway::gateway { '192.168.2.xxx':
server_ip => '192.168.3.1',
client_ip => '192.168.2.255',
require => Package['ioclogserver'],
subscribe => Vcsrepo['/etc/epics/cagateway-192.168.2.xxx'],
}
Contact
Author: Martin Konrad
Changelog
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v1.1.2 (2020-12-10)
Bugfixes
- Fix support for sending putlog messages to remote servers (-caputlog argument)
Dependencies
- puppetlabs-stdlib (>= 5.0.0 < 7.0.0)
MIT License (Expat) Copyright (c) 2013-2014 Michigan State University Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.