Commit graph

9 commits

Author SHA1 Message Date
Roberto Dip
fc8b344a69
bump Puppet module to 0.2.4 (#17349) 2024-03-04 17:36:11 -03:00
Roberto Dip
4940a5e186
try a new approach to read node config (#12977) 2023-07-26 14:16:53 -03:00
Roberto Dip
833c851706
fetch the correct hiera information based on the node env (#12944)
For https://github.com/fleetdm/fleet/issues/12897
2023-07-26 12:04:11 -03:00
Roberto Dip
e99f3aeab7
fixes for the puppet module (#12818)
- Don't cache requests to get profiles, they don't happen in order when
run agains a real Puppet server
- Report resource has changed if the profile was in the host but the new
resource type is absent
2023-07-18 14:53:43 -03:00
Roberto Dip
df0672be36
version bump for the puppet module (#12824) 2023-07-18 13:06:21 -03:00
Roberto Dip
835491d029
update puppet metadata.json file for publishing (#12418) 2023-06-20 19:08:46 -03:00
Roberto Dip
32acf4230c
improve matching resiliency of puppet endpoints (#12402)
this PR modifies the `external_host_identifier` parameter that's used to
match hosts to Puppet runs to use an identifier that's *unique per run*
(instead of an identifier that's *unique per host*)

this has the adventage to:

1. allow for concurrent Puppet runs that don't interfere with each
other.
2. allow for failed/orphaned Puppet runs to not interfere with new runs
(the keys will eventually get expired)

all the existent behavior should be preserved.

> Note: I have verified that the value that the reporter gets is the one
  associated with the right puppet run, even if multiple runs happen
  simultaneously.
2023-06-20 18:24:54 -03:00
Roberto Dip
6d789d6e19
improve logging and error reporting in the puppet module (#12369)
For #12355
2023-06-16 12:40:50 -03:00
Roberto Dip
c7488663f2
add a puppet module to manage MDM features (#12032)
Related to #11185 this adds a Puppet module that provides:

1. A custom type named `fleetdm::profile` that can be used to define
profiles to a device
2. A function named `fleetdm::release_device` that can be used to
release a device from await device configuration.

Instructions/usage can be found in the `README.md` file.

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2023-05-31 17:26:12 -03:00