Salt templates, modules, and states for BRTT Antelope software
The following pf files are jinja templated for use by states. they can be sourced from salt://antelope/files
- license.pf
- site.pf
- rtexec.pf
- orbserver.pf
- orb2orb.pf
NOTE: license.pf
and site.pf
are populated directly from a salt pillar, and may be installed directly using the included statefiles, due to their custom nature and their tendency to be consistent per installation. Other pf file templates may exist in multiple versions and formats and are designed to be used by custom salt states.
Execution module with the following commands
install
- install Antelope from ISO or directory structureupdate
- run Antelope update commandrun
- run any Antelope commandis_updated
- return whether uninstalled patches are availableis_installed
- return whether a given version is installedrtinit
- run rtinit in a specified directoryrtexec
(beta) - Start/stop control for rtexec (still flakey)
State which satifies dependencies and installs the sofware using the command module. In future, could use a custom state.
State to install dependent packages for Antelope. For all OS's, there are packages needed by the installer itself, as well as packages and services needed to run the software.
State to setup python for use with Antelope. For both system python and the version included with the software, this state properly adds the Antelope python modules to the path via the sitecustomize.py
file. Also adds some static links to compiled libs used by the Antelope python version for cross-system support.
State to install the software license file, with keys from a pillar. See pillar.example
for details.
State to install site.pf file from pillar info
(Alpha) test state to deploy instances of rtexec, not fully implemented, may work better as a custom state.
Copyright 2014 Mark Williams at Nevada Seismological Laboratory
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.