-
-
Notifications
You must be signed in to change notification settings - Fork 64
feat: add markdownlint #538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
cf4e148
7552519
39cde45
a064ea8
12570f8
4e5fc99
137284f
09c3ccd
adc5b90
02b2035
99feafb
3302dc5
a14a490
6f189c5
956920c
4945205
921e1fd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| default: true | ||
|
|
||
| line-length: false | ||
| no-inline-html: false | ||
| first-line-heading: false | ||
| no-alt-text: false | ||
| descriptive-link-text: false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,15 +34,15 @@ HDM --- OpenVoxServer | |
| Puppetboard --- OpenVoxDB | ||
| OpenVoxServer --- Agent1("Agent 1") & Agent2("Agent 2") & Agent_n("Agent n") | ||
|
|
||
| click Foreman "https://www.theforeman.org/" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this code is a mermaid diagram |
||
| click Webhook "https://github.com/voxpupuli/webhook-go?tab=readme-ov-file#webhook-go" | ||
| click OpenVoxDB "https://github.com/OpenVoxProject/openvoxdb" | ||
| click HDM "https://github.com/betadots/hdm?tab=readme-ov-file#hdm---hiera-data-manager" | ||
| click Puppetboard "https://github.com/voxpupuli/puppetboard?tab=readme-ov-file#puppetboard" | ||
| click OpenVoxServer "https://github.com/OpenVoxProject/openvox-server?tab=readme-ov-file#puppet-server" | ||
| click Agent1 "https://github.com/OpenVoxProject/openvox-agent?tab=readme-ov-file#the-puppet-agent" | ||
| click Agent2 "https://github.com/OpenVoxProject/openvox-agent?tab=readme-ov-file#the-puppet-agent" | ||
| click Agent_n "https://github.com/OpenVoxProject/openvox-agent?tab=readme-ov-file#the-puppet-agent" | ||
| click Foreman "<https://www.theforeman.org/>" | ||
| click Webhook "<https://github.com/voxpupuli/webhook-go?tab=readme-ov-file#webhook-go>" | ||
| click OpenVoxDB "<https://github.com/OpenVoxProject/openvoxdb>" | ||
| click HDM "<https://github.com/betadots/hdm?tab=readme-ov-file#hdm---hiera-data-manager>" | ||
| click Puppetboard "<https://github.com/voxpupuli/puppetboard?tab=readme-ov-file#puppetboard>" | ||
| click OpenVoxServer "<https://github.com/OpenVoxProject/openvox-server?tab=readme-ov-file#puppet-server>" | ||
| click Agent1 "<https://github.com/OpenVoxProject/openvox-agent?tab=readme-ov-file#the-puppet-agent>" | ||
| click Agent2 "<https://github.com/OpenVoxProject/openvox-agent?tab=readme-ov-file#the-puppet-agent>" | ||
| click Agent_n "<https://github.com/OpenVoxProject/openvox-agent?tab=readme-ov-file#the-puppet-agent>" | ||
| </div> | ||
|
|
||
| ## Setup and Usage | ||
|
|
@@ -59,7 +59,6 @@ We recommend organizing your code as a Control Repository with branches for | |
| environments. See the [reference repository](https://github.com/puppetlabs/control-repo) | ||
| for an example. | ||
|
|
||
|
|
||
| ### Foreman | ||
|
|
||
| [Foreman](https://www.theforeman.org) is a complete lifecycle management tool | ||
|
|
@@ -68,7 +67,6 @@ classifier, a Hiera data source, and report monitoring. It also includes the | |
| power to easily automate repetitive tasks, quickly deploy applications, and | ||
| proactively manage servers, on-premise or in the cloud. | ||
|
|
||
|
|
||
| ### Puppet Webhook | ||
|
|
||
| Vox Pupuli offers [webhook-go](https://github.com/voxpupuli/webhook-go?tab=readme-ov-file#webhook-go), an open source ([Apache-2.0 licensed](https://github.com/voxpupuli/webhook-go/blob/master/LICENSE)) webhook that can listen for events from: | ||
|
|
@@ -93,24 +91,23 @@ Install it on your server in your infrastructure and use it to deploy your contr | |
|
|
||
| If you're a Golang shop, you might consider [g10k](https://github.com/xorpaul/g10k) as well. | ||
|
|
||
|
|
||
| ### OpenVox Stack | ||
|
|
||
| We recommend managing each of these components with the supported module. | ||
|
|
||
| * OpenVoxDB | ||
| * [puppetlabs/puppetdb](https://forge.puppet.com/puppetlabs/puppetdb) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It doesn't hurt to have deeper indentation steps and it often makes it easier to read. |
||
| * The default PostgreSQL database is recommended. | ||
| * [puppetlabs/puppetdb](https://forge.puppet.com/puppetlabs/puppetdb) | ||
| * The default PostgreSQL database is recommended. | ||
| * OpenVoxServer and agents | ||
| * [theforeman/puppet](https://forge.puppet.com/modules/theforeman/puppet) | ||
| * [theforeman/puppet](https://forge.puppet.com/modules/theforeman/puppet) | ||
| * Hiera Data Manager (HDM) | ||
| * [puppet/hdm](https://forge.puppet.com/modules/puppet/hdm) | ||
| * [puppet/hdm](https://forge.puppet.com/modules/puppet/hdm) | ||
| * r10k & webhook-go | ||
| * [puppet/r10k](https://forge.puppet.com/modules/puppet/r10k/readme) | ||
| * [puppet/r10k](https://forge.puppet.com/modules/puppet/r10k/readme) | ||
| * nftables firewalling | ||
| * [puppet/nftables](https://forge.puppet.com/modules/puppet/nftables/readme) | ||
| * [puppet/nftables](https://forge.puppet.com/modules/puppet/nftables/readme) | ||
| * [InfluxDB](https://www.influxdata.com/products/influxdb/), [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/) & [Grafana](https://grafana.com/oss/grafana/) for monitoring | ||
| * [puppetlabs/puppet_operational_dashboards](https://forge.puppet.com/modules/puppetlabs/puppet_operational_dashboards/readme) (ships ready to use dashboards) | ||
| * [puppetlabs/puppet_operational_dashboards](https://forge.puppet.com/modules/puppetlabs/puppet_operational_dashboards/readme) (ships ready to use dashboards) | ||
|
|
||
| ## Scaleout options | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,26 +5,26 @@ summary: A description of how to run the Vox Pupuli test suite for Puppet module | |
| --- | ||
|
|
||
| - [Running the tests in a local ruby environment](#running-the-tests-in-a-local-ruby-environment) | ||
| * [Installing dependencies](#installing-dependencies) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's entirely valid and useful to use different markers to indicate list depth. |
||
| * [Vox Pupuli helpers](#vox-pupuli-helpers) | ||
| * [Linting](#linting) | ||
| * [REFERENCE.md update](#referencemd-update) | ||
| * [Unit tests](#unit-tests) | ||
| + [Detailed sub tasks](#detailed-sub-tasks) | ||
| * [Running Acceptance Tests](#running-acceptance-tests) | ||
| + [Beaker hypervisors](#beaker-hypervisors) | ||
| + [Environment variables and hostnames](#environment-variables-and-hostnames) | ||
| + [Getting setfiles for a module](#getting-setfiles-for-a-module) | ||
| + [Running Beaker](#running-beaker) | ||
| + [Custom Facts](#custom-facts) | ||
| + [Run a specific test](#run-a-specific-test) | ||
| - [Installing dependencies](#installing-dependencies) | ||
| - [Vox Pupuli helpers](#vox-pupuli-helpers) | ||
| - [Linting](#linting) | ||
| - [REFERENCE.md update](#referencemd-update) | ||
| - [Unit tests](#unit-tests) | ||
| - [Detailed sub tasks](#detailed-sub-tasks) | ||
| - [Running Acceptance Tests](#running-acceptance-tests) | ||
| - [Beaker hypervisors](#beaker-hypervisors) | ||
| - [Environment variables and hostnames](#environment-variables-and-hostnames) | ||
| - [Getting setfiles for a module](#getting-setfiles-for-a-module) | ||
| - [Running Beaker](#running-beaker) | ||
| - [Custom Facts](#custom-facts) | ||
| - [Run a specific test](#run-a-specific-test) | ||
| - [Running the tests in the VoxBox container](#running-the-tests-in-the-voxbox-container) | ||
| * [Installation](#installation) | ||
| * [Linting](#linting-in-voxbox) | ||
| * [Rubocop](#rubocop) | ||
| * [Unit tests](#unit-tests-in-voxbox) | ||
| * [REFERENCE.md update](#referencemd-update-in-voxbox) | ||
| * [Puppetfile](#puppetfile) | ||
| - [Installation](#installation) | ||
| - [Linting](#linting-in-voxbox) | ||
| - [Rubocop](#rubocop) | ||
| - [Unit tests](#unit-tests-in-voxbox) | ||
| - [REFERENCE.md update](#referencemd-update-in-voxbox) | ||
| - [Puppetfile](#puppetfile) | ||
|
|
||
| The testing and development tools have a bunch of dependencies, all managed by [bundler](http://bundler.io/). | ||
| By default the tests use the latest version of Puppet. | ||
|
|
@@ -88,9 +88,9 @@ If you don't know if you need to install or update gems, you can just add `bundl | |
| Check out the following page if you want to add a test suite to your module or want | ||
| to learn more about the Vox Pupuli test helpers: | ||
|
|
||
| * [voxpupuli-test](https://github.com/voxpupuli/voxpupuli-test) for unit testing | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the intent of this list is perfectly clear, even if another part of the doc used a different marker |
||
| * [voxpupuli-acceptance](https://github.com/voxpupuli/voxpupuli-acceptance) for acceptance testing | ||
| * [voxpupuli-release](https://github.com/voxpupuli/voxpupuli-release) for creating a release | ||
| - [voxpupuli-test](https://github.com/voxpupuli/voxpupuli-test) for unit testing | ||
| - [voxpupuli-acceptance](https://github.com/voxpupuli/voxpupuli-acceptance) for acceptance testing | ||
| - [voxpupuli-release](https://github.com/voxpupuli/voxpupuli-release) for creating a release | ||
|
|
||
| ### Linting | ||
|
|
||
|
|
@@ -201,18 +201,18 @@ _Remember to add your user to the group that allows access to docker/libvirt._ | |
|
|
||
| For Vox Pupuli's acceptance testing suite, Beaker is managed by a set of environment variables. | ||
|
|
||
| * `BEAKER_HYPERVISOR` Sets the Hypervisor, `vagrant` or `vagrant_libvirt` for VM based testing | ||
| - `BEAKER_HYPERVISOR` Sets the Hypervisor, `vagrant` or `vagrant_libvirt` for VM based testing | ||
| It is a good idea to export the `BEAKER_HYPERVISOR` variable in your shell configuration. | ||
| * `BEAKER_DESTROY` Should the test environment be removed at the end of a test | ||
| * `BEAKER_DESTROY=onpass` Only removes the environment if everything passes, allowing review of the system in the state it was in when the test suite failed. | ||
| * `BEAKER_DESTROY=no` Always leave an artifact, which likely will break future runs without cleanup. | ||
| * `BEAKER_DESTROY=yes` _(DEFAULT)_ always clean up. | ||
| * `BEAKER_PROVISION` Should we ensure a clean system is built to run the suite. | ||
| * If `BEAKER_DESTROY` is set to no, `BEAKER_PROVISION=yes` will fail the run (because of the existing box/container) | ||
| * If `BEAKER_DESTROY` is set to no, `BEAKER_PROVISION=no` will run the test suite against the system anyways, which may cause environmental issues if the test suite doesn't perfectly put things to a default state. | ||
| - `BEAKER_DESTROY` Should the test environment be removed at the end of a test | ||
| - `BEAKER_DESTROY=onpass` Only removes the environment if everything passes, allowing review of the system in the state it was in when the test suite failed. | ||
| - `BEAKER_DESTROY=no` Always leave an artifact, which likely will break future runs without cleanup. | ||
| - `BEAKER_DESTROY=yes` _(DEFAULT)_ always clean up. | ||
| - `BEAKER_PROVISION` Should we ensure a clean system is built to run the suite. | ||
| - If `BEAKER_DESTROY` is set to no, `BEAKER_PROVISION=yes` will fail the run (because of the existing box/container) | ||
| - If `BEAKER_DESTROY` is set to no, `BEAKER_PROVISION=no` will run the test suite against the system anyways, which may cause environmental issues if the test suite doesn't perfectly put things to a default state. | ||
|
|
||
| * `BEAKER_SETFILE` What should we be testing. Beaker will call beaker-hostgenerator to create a defaultconfiguration based on this, using the known configurations for Vox Pupuli. | ||
| * `BEAKER_PUPPET_COLLECTION` What implementation and version of Puppet are we testing against | ||
| - `BEAKER_SETFILE` What should we be testing. Beaker will call beaker-hostgenerator to create a defaultconfiguration based on this, using the known configurations for Vox Pupuli. | ||
| - `BEAKER_PUPPET_COLLECTION` What implementation and version of Puppet are we testing against | ||
|
|
||
| These are all defined in [voxpupuli-acceptance](https://github.com/voxpupuli/voxpupuli-acceptance/#running-tests) to review how they are used and more specialized features. | ||
|
|
||
|
|
@@ -286,7 +286,6 @@ BEAKER_SETFILE="almalinux9-64{hostname=almalinux9-64-puppet8.example.com}" bundl | |
|
|
||
| If you need to run tests against a different version or implementation of OpenVox (or Puppet) you can either `export BEAKER_PUPPET_COLLECTION="openvox7"` or add `BEAKER_PUPPET_COLLECTION="openvox7"` to your command line. | ||
|
|
||
|
|
||
| ```shell | ||
| BEAKER_PUPPET_COLLECTION="openvox7" BEAKER_SETFILE="ubuntu2404-64" bundle exec rake beaker | ||
| ``` | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These extra spaces between headlines are incredibly helpful when reading the source doc. Please disable this check.