https://github.com/simp/simp-utils
Utilities for managing SIMP
https://github.com/simp/simp-utils
simp
Last synced: 10 months ago
JSON representation
Utilities for managing SIMP
- Host: GitHub
- URL: https://github.com/simp/simp-utils
- Owner: simp
- Created: 2017-06-08T18:24:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T00:20:08.000Z (about 3 years ago)
- Last Synced: 2023-03-11T07:28:36.460Z (about 3 years ago)
- Topics: simp
- Language: Ruby
- Size: 207 KB
- Stars: 0
- Watchers: 15
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://www.apache.org/licenses/LICENSE-2.0.html)
[](https://travis-ci.org/simp/simp-utils)
# simp-utils
Utilities for managing SIMP
## LDIFS
Example ldif files to help manage LDAP. These ldifs are installed in
`/usr/share/simp/ldifs`.
## Kickstart Scripts
Example kickstart scripts to help set up PXE booting are installed in
`/usr/share/simp/ks`.
## Scripts
This section contains a brief description of the scripts installed under
`/usr/local`. See each script's help for more details.
### /usr/local/bin/set_environment
This is a YAML-based node classifier which can be used as a Puppet
External Node Classifier (ENC).
### /usr/local/bin/unpack_dvd
Usage: ``unpack_dvd [options] /path/to/dvd/to/unpack``
This script unpacks either a SIMP ISO image or a distribution DVD to the specified
directory or `/var/www/yum/` (default).
The ``--help`` option gives a complete usage statement.
### /usr/local/sbin/gen-ldap-update
Usage: ``gen-ldap-update``
This is run on an LDAP server to generate an ldif file that can be used
to update attributes in LDAP.
### /usr/local/sbin/puppetlast
Usage: ``puppetlast [options]``
``puppetlast`` queries PuppetDB and returns a list of nodes and the last
time the catalog was compiled on each node.
The ``--help`` option gives a complete usage statement.
### /usr/local/sbin/simpenv
Usage:
``simpenv --list``
or
``simpenv -n|-c|-l|-a [new|copy|link] [EXISTING_ENV] NEWENV``
This script can be used to create or list environments in SIMP 6.4 or later.
The ``--help`` option gives a complete usage statement.
### /usr/local/sbin/updaterepos
Usage: ``updaterepos ``
This will go into each directory under ``repodir`` that is not named
``noarch`` and do the following:
- Update links to files under ``../noarch``
- Rebuild the ``repodata``
- Update the ``repodata`` to ensure it is readable by ``root:apache``