feat: add ci build task (#342)

- a ci workflow for build tests
- run pre-commit against all files

Reviewed-on: #342
This commit was merged in pull request #342.
This commit is contained in:
2025-07-08 20:19:36 +10:00
parent be02d3d150
commit 40c57ede59
7 changed files with 34 additions and 10 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
# Class: profiles::puppet::enc
#
# This class manages a Git repository at /opt/puppetlabs/enc. It includes a
# This class manages a Git repository at /opt/puppetlabs/enc. It includes a
# systemd service and timer to keep the repository updated every minute.
# The Git package is installed if not present, and the repository at the given
# The Git package is installed if not present, and the repository at the given
# location will always reflect the state of the remote Git repository.
class profiles::puppet::enc (
String $repo,
@@ -11,11 +11,11 @@ class profiles::puppet::enc (
) {
file { '/opt/puppetlabs/bin/enc':
ensure => absent,
ensure => absent,
}
file { '/opt/puppetlabs/bin/puppet-enc':
ensure => absent,
ensure => absent,
}
$_timer = @(EOT)