|
1 | | -Bolt module for bootstrapping installation of the openvox-agent package. |
| 1 | +# openvox_bootstrap |
| 2 | + |
| 3 | +[Bolt](https://www.puppet.com/docs/bolt/latest/bolt.html) module for |
| 4 | +bootstrapping installation of the openvox-agent package. |
| 5 | + |
| 6 | +Provides some of the functionality of the [puppet_agent::install |
| 7 | +tasks](https://github.com/puppetlabs/puppetlabs-puppet_agent/tree/main?tab=readme-ov-file#puppet_agentinstall) |
| 8 | +for [openvox](https://voxpupuli.org/openvox/) packages from |
| 9 | +https://apt.overlookinfratech.com, https://yum.overlookinfratech.com. |
| 10 | + |
| 11 | +The puppet_agent module makes use of the Perforce repositories instead. |
| 12 | + |
| 13 | +## Usage |
| 14 | + |
| 15 | +Assumes you have Bolt installed. |
| 16 | + |
| 17 | +### openvox_boostrap::install |
| 18 | + |
| 19 | +Installs the openvox8 collection by default (Puppet:tm: 8). |
| 20 | + |
| 21 | +```sh |
| 22 | +bolt task run openvox_bootstrap::install \ |
| 23 | + --targets <target> \ |
| 24 | + --run-as root |
| 25 | +``` |
| 26 | + |
| 27 | +#### Usage with Bolt apply_prep() function |
| 28 | + |
| 29 | +Bolt's |
| 30 | +[apply_prep](https://www.puppet.com/docs/bolt/latest/plan_functions#apply-prep) |
| 31 | +function ensures that the latest version of Puppet:tm: is installed on |
| 32 | +a node by calling the puppet_agent::install task if the agent is not |
| 33 | +detected on the node. |
| 34 | + |
| 35 | +The openvox_bootstrap::install task can be used in its place to |
| 36 | +instead ensure that openvox-agent is installed. |
| 37 | + |
| 38 | +The apply_prep() function relies on Bolt's |
| 39 | +[puppet_library](https://www.puppet.com/docs/bolt/latest/using_plugins#puppet-library-plugins) |
| 40 | +plugin configuration. |
| 41 | + |
| 42 | +To use openvox_bootstrap instead, configure your bolt_project.yaml |
| 43 | +with: |
| 44 | + |
| 45 | +```yaml |
| 46 | +plugin-hooks: |
| 47 | + puppet_library: |
| 48 | + plugin: task |
| 49 | + task: openvox_bootstrap::install |
| 50 | +``` |
| 51 | +
|
| 52 | +### openvox_bootstrap::install_build_artifact |
| 53 | +
|
| 54 | +The openvox_bootstrap::install_build_artifact task is a development |
| 55 | +task that can be used to install a build artifact package directly |
| 56 | +from the https://artifact.overlookinfratech.com repository for testing |
| 57 | +prior to release. |
| 58 | +
|
| 59 | +```sh |
| 60 | +bolt task run openvox_bootstrap::install \ |
| 61 | + --targets <target> \ |
| 62 | + --run-as root |
| 63 | +``` |
| 64 | + |
| 65 | +## TODO |
| 66 | + |
| 67 | +* Windows support |
| 68 | +* Sles support (handle repository gpg key) |
| 69 | +* MacOS support |
| 70 | + |
| 71 | +## License |
| 72 | + |
| 73 | +Copyright (C) 2025 Joshua Partlow |
| 74 | + |
| 75 | +This program is free software: you can redistribute it and/or modify |
| 76 | +it under the terms of the GNU Affero General Public License as published |
| 77 | +by the Free Software Foundation, either version 3 of the License, or |
| 78 | +(at your option) any later version. |
| 79 | + |
| 80 | +This program is distributed in the hope that it will be useful, |
| 81 | +but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 82 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 83 | +GNU Affero General Public License for more details. |
| 84 | + |
| 85 | +You should have received a copy of the GNU Affero General Public License |
| 86 | +along with this program. If not, see <https://www.gnu.org/licenses/>. |
0 commit comments