11# openvox_bootstrap
22
3- [ Bolt] ( https://www.puppet.com/docs/bolt/latest/bolt.html ) module for
4- bootstrapping installation of the openvox-agent package .
3+ [ Bolt] module for bootstrapping installation of the [ openvox ]
4+ (Puppet< sup > : tm : </ sup >) packages .
55
66Provides 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.voxpupuli.org , https://yum.voxpupuli.org .
7+ tasks] for [ openvox] packages from https://apt.voxpupuli.org ,
8+ https://yum.voxpupuli.org .
109
1110The puppet_agent module makes use of the Perforce repositories and
1211collections instead.
@@ -17,28 +16,34 @@ Assumes you have Bolt installed.
1716
1817### openvox_boostrap::install
1918
20- Installs the openvox8 collection by default (Puppet<sup >:tm : </sup > 8).
19+ Installs the platform appropriate openvox8 collection release package
20+ and the openvox-agent package by default (Puppet<sup >:tm : </sup > 8).
2121
2222``` sh
2323bolt task run openvox_bootstrap::install \
2424 --targets < target> \
2525 --run-as root
2626```
27+ #### parameters
28+
29+ By default the task will install the openvox-agent package, but this
30+ can be overridden by setting the ` package ` parameter to install
31+ openvox-server, openvoxdb or another package from the openvox
32+ collection.
33+
34+ See the [ install task] ( ./REFERENCE.md#install ) for details.
2735
2836#### Usage with Bolt apply_prep() function
2937
30- Bolt's
31- [ apply_prep] ( https://www.puppet.com/docs/bolt/latest/plan_functions#apply-prep )
32- function ensures that the latest version of Puppet<sup >:tm : </sup > is installed on
33- a node by calling the puppet_agent::install task if the agent is not
34- detected on the node.
38+ Bolt's [ apply_prep] function ensures that the latest version of
39+ Puppet<sup >:tm : </sup > is installed on a node by calling the
40+ ` puppet_agent::install ` task if the agent is not detected on the node.
3541
36- The openvox_bootstrap::install task can be used in its place to
42+ The ` openvox_bootstrap::install ` task can be used in its place to
3743instead ensure that openvox-agent is installed.
3844
39- The apply_prep() function relies on Bolt's
40- [ puppet_library] ( https://www.puppet.com/docs/bolt/latest/using_plugins#puppet-library-plugins )
41- plugin configuration.
45+ The apply_prep() function relies on Bolt's [ puppet_library] plugin
46+ configuration.
4247
4348To use openvox_bootstrap instead, configure your bolt_project.yaml
4449with:
@@ -57,12 +62,22 @@ task that can be used to install a build artifact package directly
5762from the https://artifact.voxpupuli.org repository for testing
5863prior to release.
5964
65+ Minimally, you must supply the ` version` parameter, but generally you
66+ would also supply `package` unless you are installing the
67+ openvox-agent package.
68+
69+ See [task ref](./REFERENCE.md#install_build_artifact) for details.
70+
6071` ` ` sh
61- bolt task run openvox_bootstrap::install \
62- --targets <target> \
72+ bolt task run openvox_bootstrap::install_build_artifact \
73+ --targets <target> --version=8.17.0 \
6374 --run-as root
6475` ` `
6576
77+ # # Reference
78+
79+ See [REFERENCE.md](./REFERENCE.md) for the generated reference doc.
80+
6681# # TODO
6782
6883* Windows support
@@ -85,3 +100,9 @@ GNU Affero General Public License for more details.
85100
86101You should have received a copy of the GNU Affero General Public License
87102along with this program. If not, see <https://www.gnu.org/licenses/>.
103+
104+ [bolt] : https://puppet.com/docs/bolt/latest/bolt.html
105+ [openvox] : https://voxpupuli.org/openvox/
106+ [puppet_agent::install tasks] : https://github.com/puppetlabs/puppetlabs-puppet_agent/tree/main?tab=readme-ov-file#puppet_agentinstall
107+ [apply_prep] : https://www.puppet.com/docs/bolt/latest/plan_functions#apply-prep
108+ [puppet_library] : https://www.puppet.com/docs/bolt/latest/using_plugins#puppet-library-plugins
0 commit comments