Re: [Puppet Users] best practice for accessing facts from ERB template?

2025-07-29 Thread 'Dirk Heinrichs' via Puppet Users
sed in a sub-class, but the variables it uses are defined in the main class. The classical example for this is the separation of "myclass" into "init.pp" (which defines the parameters), "install.pp", "config.pp" (where a config file is generated from a template

Re: [Puppet Users] Problem with my puppet agent 7.27 on a Windows client

2025-06-23 Thread 'Dirk Heinrichs' via Puppet Users
errno=0 state=error: certificate verify failed: [unable to get issuer certificate for /CN=Puppet CA: puppet.domain.fr] Any chance the Puppet server certificate is invalid (maybe expired, contains wrong names, etc)? Seems like the client doesn't trust it. HTH... Dirk -- Dirk Heinrichs S

Re: [Puppet Users] Problem with my puppet agent 7.27 on a Windows client

2025-04-21 Thread 'Dirk Heinrichs' via Puppet Users
t"? Anyway, try to remove the certificate from both Puppet server and agent, then run the agent again, so that it creates a new certificate (which you need to sign again, unless you have autosigning enabled and configured for "domain.fr". HTH... Dirk -- Dirk Heinrichs Senior S

Re: [Puppet Users] apt key expired

2025-04-10 Thread 'Dirk Heinrichs' via Puppet Users
Am Mittwoch, dem 09.04.2025 um 14:15 -0700 schrieb stide...@gmail.com: > It's no longer fully Open Source. Well, Puppet still is. The PuppetLabs packages are not. Just use the ones from Debian/Ubuntu or those from the OpenVox project. HTH... Dirk -- Dirk Heinrichs Senior Systems

Re: [Puppet Users] signatures were invalid: EXPKEYSIG 4528B6CD9E61EF26

2025-04-10 Thread 'Dirk Heinrichs' via Puppet Users
the exact same key, but without the expiry date. Or simply migrate to either OpenVox or Debian/Ubuntu provided packages. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com Website: ww

Re: [Puppet Users] New apt repos return 401 unauthorized

2025-02-16 Thread 'Dirk Heinrichs' via Puppet Users
Am Montag, dem 17.02.2025 um 06:44 + schrieb 'Dirk Heinrichs' via Puppet Users: Just use the packages provided by Debian/Ubuntu * https://packages.debian.org/search?keywords=puppet-agent&searchon=names&suite=stable§ion=all * https://packages.ubuntu.com/search?su

Re: [Puppet Users] New apt repos return 401 unauthorized

2025-02-16 Thread 'Dirk Heinrichs' via Puppet Users
://github.com/openvoxproject> HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Str

Re: [Puppet Users] Windows-Agent is working but is doing nothing

2024-12-09 Thread &#x27;Dirk Heinrichs' via Puppet Users
x27; { HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsb

Re: [Puppet Users] Windows-Agent is working but is doing nothing

2024-12-08 Thread &#x27;Dirk Heinrichs' via Puppet Users
report, that could give a hint? What happens if you run "puppet agent --test" on the Windows node? Do you get any errors? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<

Re: [Puppet Users] Hiera: Using mapped_paths with a hashmap

2024-09-04 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Mittwoch, dem 04.09.2024 um 10:00 + schrieb 'Dirk Heinrichs' via Puppet Users: However, if the given fact is a hash, then - name: Foo mapped_paths: [facts.foo, name, "foo/%{name}.yaml"] Got it: The path template must look like "foo/%{name.0}.yaml

[Puppet Users] Hiera: Using mapped_paths with a hashmap

2024-09-04 Thread &#x27;Dirk Heinrichs' via Puppet Users
y operate on an Array of keys (or values) Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von

Re: [Puppet Users] Puppetserver failing to start on a brand new Debian 12 VM

2024-04-24 Thread &#x27;Dirk Heinrichs' via Puppet Users
t apt-get install puppetserver systemctl start puppetserver.service Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Re

Re: [Puppet Users] Puppetserver failing to start on a brand new Debian 12 VM

2024-04-23 Thread &#x27;Dirk Heinrichs' via Puppet Users
Debian 12 system here, and it starts just fine, out-of-the-box. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommi

Re: [Puppet Users] Puppetserver failing to start on a brand new Debian 12 VM

2024-04-23 Thread &#x27;Dirk Heinrichs' via Puppet Users
ying. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte

Re: [Puppet Users] Puppetserver failing to start on a brand new Debian 12 VM

2024-04-23 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Dienstag, dem 23.04.2024 um 10:29 +0200 schrieb Dirk Heinrichs: Not true. They exist since years: Or did you mean "... for Debian 12"? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Em

Re: [Puppet Users] Puppetserver failing to start on a brand new Debian 12 VM

2024-04-23 Thread &#x27;Dirk Heinrichs' via Puppet Users
...@puppetlabs.com>> Architecture: all Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Str

Re: [Puppet Users] Puppetserver failing to start on a brand new Debian 12 VM

2024-04-22 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Montag, dem 22.04.2024 um 22:55 -0700 schrieb kristian...@gmail.com<mailto:kristian...@gmail.com>: So the issue is not in the upgrade, but some general issue in Debian 12 and Puppet 7. Did you install from Debian or Puppetlabs packages? Bye... Dirk -- Dirk Heinrichs Senior S

Re: [Puppet Users] Problem with exported ressource file.

2024-04-12 Thread &#x27;Dirk Heinrichs' via Puppet Users
is being 1. exported by multiple hosts 2. used by multiple (other) hosts Thus, Puppet needs to take some precautions to avoid possible conflicts. That being said, I don't think that "file" resources are a good fit for exporting at all. HTH... Dirk -- Dirk Heinrichs Se

Re: [EXTERNAL] - [Puppet Users] Installing oracle 19c on windows 10

2024-04-11 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Donnerstag, dem 11.04.2024 um 09:52 -0700 schrieb tedy banks: How can i go about doing this ? You can either use "exec{}" together with "psexec" or a similar tool, or a "scheduled_task{}" that runs once, as Administrator to execute your installation co

Re: [Puppet Users] Problem with exported ressource file.

2024-04-08 Thread &#x27;Dirk Heinrichs' via Puppet Users
tag    => "File for ${host}", >     etc. >     } > } You create multiple resources here (one for each host), which ALL try to manage the SAME file ("/etc/something.conf"). But one file can only be managed by one resource. That needs to be something like "

Re: [Puppet Users] Puppet (open source) Web Interface

2023-12-14 Thread &#x27;Dirk Heinrichs' via Puppet Users
to current 2022. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rhe

Re: [EXTERNAL] - [Puppet Users] Puppet (open source) Web Interface

2023-12-12 Thread &#x27;Dirk Heinrichs' via Puppet Users
out a web UI for viewing reports and such, see https://theforeman.org. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.d

Re: [Puppet Users] puppet-agent 7 & 8 nightly builds for Debian 11 (ARM64)

2023-11-27 Thread &#x27;Dirk Heinrichs' via Puppet Users
nge, because Debian 12 was released way back in June 2023. But was already frozen when Puppet 8 was released in April: https://wiki.debian.org/DebianBookworm#Before_the_release Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Ph

Re: [Puppet Users] puppet-agent 7 & 8 nightly builds for Debian 11 (ARM64)

2023-11-27 Thread &#x27;Dirk Heinrichs' via Puppet Users
org/search?keywords=puppet&searchon=names&suite=stable§ion=all Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind

Re: [Puppet Users] Re: No Augeas 1.14.1 with Puppet Agent 7.27.0?

2023-11-23 Thread &#x27;Dirk Heinrichs' via Puppet Users
Everyone updating to 7.27.0 will still run into this problem more than one week later. That's not the way a serious SW project should address these kind of problems (IMHO). Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone:

Re: [Puppet Users] How to create new tickets now?

2023-09-06 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Donnerstag, dem 31.08.2023 um 19:21 + schrieb 'Ben Ford' via Puppet Users: I can't give a firm timeline, but my own personal expectation is that it's resolved in the next week or so. OK, thanks a lot. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delive

[Puppet Users] Re: Puppet package for Debian 12 bookworm is missing

2023-09-04 Thread &#x27;Dirk Heinrichs' via Puppet Users
ite=stable§ion=all https://packages.debian.org/search?keywords=puppetdb&searchon=names&suite=stable§ion=all https://packages.debian.org/search?keywords=puppetserver&searchon=names&suite=stable§ion=all -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery |

[Puppet Users] How to create new tickets now?

2023-08-25 Thread &#x27;Dirk Heinrichs' via Puppet Users
? Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rhe

Re: [Puppet Users] Custom Fact Deployment

2023-08-07 Thread &#x27;Dirk Heinrichs' via Puppet Users
er/", with extension ".rb". HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-L

Re: [Puppet Users] Puppet package for Debian 12 bookworm is missing

2023-07-17 Thread &#x27;Dirk Heinrichs' via Puppet Users
already. With Bookworm, Debian ships Puppet 7 in its own repos. The only difference is the directory layout (follows Debian standards). Oh, and you finally get the still missing packages for other architectures, like arm64... Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery

Re: [Puppet Users] Ubuntu ARM 22.04 Builds

2023-06-11 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Freitag, dem 09.06.2023 um 06:03 -0700 schrieb Joseph Quinn: When can I expect to see ARM builds available for Puppet agent? Dito, for Debian 11 and 12 on arm64. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966

Re: [Puppet Users] postgresql setup using puppet

2023-05-04 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Donnerstag, dem 04.05.2023 um 16:57 -0700 schrieb Ryan Carl: value: on Could not evaluate: undefined method 'match' for true:TrueClass I guess YAML treats this as a boolean, unless you put it in quotes. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline

Re: [Puppet Users] Exit status of "puppet agent --test"

2023-04-03 Thread &#x27;Dirk Heinrichs' via Puppet Users
#x27;t attempted due to another run already in progress. 2: The run succeeded, and some resources were changed. 4: The run succeeded, and some resources failed. 6: The run succeeded, and included both changes and failures. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeli

Re: [Puppet Users] hiera, template and array

2023-03-28 Thread &#x27;Dirk Heinrichs' via Puppet Users
en just "server" (without the leading "$"). HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind

Re: [Puppet Users] Create a variable out of a bash command and notify it

2022-12-18 Thread &#x27;Dirk Heinrichs' via Puppet Users
html. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertre

Re: [Puppet Users] Create a variable out of a bash command and notify it

2022-12-04 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Sonntag, dem 04.12.2022 um 07:43 -0800 schrieb Nir Fishler: Main goal: get a list of upgrade-able packages and notify the user about it. The puppetlabs-apt module from the Puppet Forge has various facts for this. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline

Re: [Puppet Users] SQL Error updating certnames PDB6.22.1

2022-11-30 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Mittwoch, dem 30.11.2022 um 07:58 -0800 schrieb Chris Hoffman: certname = $3AND Is this a typo or is there really no blank between "$3" and "AND"? If there really isn't one, that would explain it. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Del

Re: [Puppet Users] failed to set mode 0777

2022-11-24 Thread &#x27;Dirk Heinrichs' via Puppet Users
;Operation not permitted" error in your environment. It usually means that the underlying filesystem doesn't allow what you're trying to do. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Ema

Re: [EXTERNAL] - Re: [Puppet Users] Hiera 5 and Deferred / Sensitive

2022-11-02 Thread &#x27;Dirk Heinrichs' via Puppet Users
ace where the values are needed. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebi

Re: [Puppet Users] Hiera 5 and Deferred / Sensitive

2022-11-01 Thread &#x27;Dirk Heinrichs' via Puppet Users
. hiera-eyaml has a plugin for retrieving secrets from Vault. Did you try that? HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recomm

Re: [Puppet Users] Resource default values from site.pp not applied

2022-11-01 Thread &#x27;Dirk Heinrichs' via Puppet Users
;, { merge => unique }).include Thanks for your efforts. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind Gmb

Re: [Puppet Users] Resource default values from site.pp not applied

2022-10-31 Thread &#x27;Dirk Heinrichs' via Puppet Users
e any of these. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 5

Re: [Puppet Users] Resource default values from site.pp not applied

2022-10-31 Thread &#x27;Dirk Heinrichs' via Puppet Users
working as expected. Yes, it is. Are you overwriting the Some_resource defaults in a class? No, I don't. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@open

[Puppet Users] Resource default values from site.pp not applied

2022-10-31 Thread &#x27;Dirk Heinrichs' via Puppet Users
{ $facts['custom']: } } The two notifications appear in the report, with expected values, but the default value for "attribute" of "Some_resource" doesn't get set. Any idea what I'm doing wrong here? Thanks... Dirk -- Dirk Heinrichs Senior Systems Eng

Re: [Puppet Users] Puppet Platform 7.18.0 is now available!

2022-08-02 Thread &#x27;Dirk Heinrichs' via Puppet Users
. Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ran

Re: [Puppet Users] Hiera values in provider

2022-08-01 Thread &#x27;Dirk Heinrichs' via Puppet Users
to manage resources on a Nexus3 repository server, which it expects to be stored somewhere in /etc/puppet. So essentially, in the class that uses your provider, create such a credential/configuration file before using any resources your provider provides. HTH... Dirk -- Dirk Heinrichs Senior S

Re: [Puppet Users] modules for NetworkManager

2022-07-26 Thread &#x27;Dirk Heinrichs' via Puppet Users
ry now and then. However, for everything with a "static" (as in "always in the same network") connection, I use systemd-networkd, which can be easily managed through text files. BTW: Both, NM and systemd-networkd, can be managed with Netplan, which uses simple YAML files for con

Re: [EXTERNAL] - Re: [Puppet Users] RHEL 9 agent support?

2022-06-13 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Montag, dem 13.06.2022 um 14:25 -0700 schrieb Josh Cooper: Puppet 6 is released quarterly and support for RHEL9 will go out in the next 6.x release. Any chance we will also see packages for Ubuntu 22.04, then? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline

Re: [Puppet Users] Support for Ubuntu 22.04

2022-05-27 Thread &#x27;Dirk Heinrichs' via Puppet Users
r the future: Would it be possible to start development of packages for new distribution versions while they are in beta? This way the packages should be available sooner after the new distribution version has been released. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pip

Re: [Puppet Users] Support for Ubuntu 22.04

2022-05-11 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Mittwoch, dem 11.05.2022 um 10:16 -0700 schrieb Alex Rodriguez: > One question, are you also looking for Ubuntu 22.04 support for > Primary Platforms? Should be at least a(md|rm)64 in the beginning, I guess. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pi

Re: [Puppet Users] Support for Ubuntu 22.04

2022-03-15 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Sonntag, dem 13.03.2022 um 16:21 -0700 schrieb grant@webqem.com<mailto:grant@webqem.com>: Does anyone know when the apt repos will support Ubuntu 'jammy' 22.04? Yeah, it would really be great if the support was available by the time it is released. Bye... Dirk --

Re: [Puppet Users] FIll array in loop

2022-01-10 Thread &#x27;Dirk Heinrichs' via Puppet Users
uot;, "This is element number 3." ] Again, see the example in your first link. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Websit

Re: [Puppet Users] FIll array in loop

2022-01-09 Thread &#x27;Dirk Heinrichs' via Puppet Users
can't create an empty array and then add vaules to it. It must be done in one step and, as that answer says, you'll have to use the map function, like $array = [1, 2, 3].map |$var| { $var } HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discov

Re: [Puppet Users] Hiera value and using looping on it

2021-12-16 Thread &#x27;Dirk Heinrichs' via Puppet Users
acmple.com listen: '80' ... - name: def.example.com listen: '443' ... and then in $virtualhosts.each |$host| { ... } you can access the fields directly, like $host['name'], etc... HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery P

Re: [Puppet Users] Removal of CentOS 8 Support

2021-10-11 Thread &#x27;Dirk Heinrichs' via Puppet Users
arantee availability of Puppet packages as soon as the new distribution release ships. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com Website: www.recommind.de Recom

Re: [Puppet Users] hiera merge lookup/alias of array defined at multiple levels

2021-09-02 Thread &#x27;Dirk Heinrichs' via Puppet Users
hiera to do so, probably in your common.yaml, by specifying "lookup_options": --- lookup_options: an_array: merge: unique or by specifying the merge behaviour when calling "lookup()", see https://puppet.com/docs/puppet/6/hiera_automatic.html#lookup-merge-behaviors HT

Re: [Puppet Users] puppet-agent 6 & 7 nightly builds for Ubuntu 18.04 Bionic ARM64 architecture

2021-08-17 Thread &#x27;Dirk Heinrichs' via Puppet Users
apt.puppet.com starting with a future puppet-agent release. What about 20.04? Any plans for Debian (10, 11) arm64 packages? See https://tickets.puppetlabs.com/browse/PA-3840 Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +4

Re: [Puppet Users] Newbie wants to know your favourite distro for Puppet Server

2021-06-16 Thread &#x27;Dirk Heinrichs' via Puppet Users
d For me, that's definitively Debian ;-) > do you know any great instructions for installing the latest Puppet > Server/Agents v7 Yes, the Puppet documentation: https://puppet.com/docs/puppet/7/install_and_configure.html HTH... Dirk -- Dirk Heinrichs Senior Systems Enginee

Re: [Puppet Users] Nonconformist Ubuntu based distro users

2021-03-07 Thread &#x27;Dirk Heinrichs' via Puppet Users
nilla Ubuntu and then install "kubuntu-desktop" to turn it into Kubuntu (or, the other way round: Install Kubuntu and remove "kubuntu-desktop" to get a vanilla Ubuntu). Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind

Re: [Puppet Users] where to download puppet agent 4.10?

2020-11-30 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Montag, den 23.11.2020, 15:53 -0800 schrieb pko...@themolecule.com: > Can anyone tell me where to download puppet-agent v4.10? I > particularly need it for ubuntu bionic. If, for whatever reason, you cannot update, you could try to add the xenial repo to your sources.list, but as a "deb-src" l

Re: [Puppet Users] Puppet Reports

2020-11-26 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Donnerstag, den 26.11.2020, 11:46 +0100 schrieb Helmut Schneider: > Am 26.11.2020 um 10:19 schrieb 'Dirk Heinrichs' via Puppet Users: > > Am Donnerstag, den 26.11.2020, 09:37 +0100 schrieb Helmut > > Schneider: > > > > > as /opt/puppetlabs/server/data/p

Re: [Puppet Users] Puppet Reports

2020-11-26 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Donnerstag, den 26.11.2020, 09:37 +0100 schrieb Helmut Schneider: > as /opt/puppetlabs/server/data/puppetserver/reports/ is filling up, > what > are those reports used for? Errh, for checking what's going on in your environment? > I read that I can purge them but want to understand the purpose

Re: [Puppet Users] Looking up the value defined in the hiera.yaml

2020-11-23 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Montag, den 23.11.2020, 15:23 +0900 schrieb Go Iwai: > It looks more natural if I could rewrite this line above like below: > > eyaml decrypt --file=encrypted-file > --pkcs7-public-key=%{pkcs7_public_key} > --pkcs7-private-key=%{pkcs7_private_key} I don't think you need to specify these optio

[Puppet Users] Custom fact to get current system locale on Windows

2020-09-24 Thread &#x27;Dirk Heinrichs' via Puppet Users
Hi, I'm currently facing a problem where a package on Windows is installed with a translated displayname ("AdoptOpenJDK JRE mit Hotspot 11.0.7.10 (x64)"). Of course this is different from the expected (english) displayname ("AdoptOpenJDK JRE with Hotspot 11.0.7.10 (x64)") which breaks idempotency.

Re: [Puppet Users] Is "Sensitive" broken?

2020-09-09 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Mittwoch, den 09.09.2020, 08:59 -0700 schrieb Josh Cooper: > The issue you're running into is due to the sensitive value being > interpolated: > > content => "${foo}\n" > > If you reference the Sensitive variable directly, then it will work > as expected: > > content => $foo OK, thanks a lo

Re: [Puppet Users] Is "Sensitive" broken?

2020-09-09 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Mittwoch, den 09.09.2020, 09:14 -0500 schrieb Mattias Giese: > The following snippet redacts the content from log output but stores > the cleartext in the resulting > > file, thus doing what you are looking for > > > > ``` > > file { "${home}/.meraki_env": > > ensure => file, > >

Re: [EXTERNAL] - [Puppet Users] Re: Is "Sensitive" broken?

2020-09-09 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Mittwoch, den 09.09.2020, 06:34 -0700 schrieb Marty Ewings: > https://puppet.com/docs/puppet/6.17/lang_data_sensitive.html > You need to "unwrap" the sensitive data in order to consume the > original data in a function Yes, did that, too. And that works. However, the data is then shown in clea

[Puppet Users] Is "Sensitive" broken?

2020-09-09 Thread &#x27;Dirk Heinrichs' via Puppet Users
Hi, tried to use the "Sensitive" data type for the first time (with Puppet 6.18.0), but it doesn't work as expected (found and followed several tutorials on the net, see links below), also using the "lookup_options" method to ensure the Hiera-provided value is indeed converted to sensitive. Here'

Re: [Puppet Users] Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'quick_check'

2020-08-24 Thread &#x27;Dirk Heinrichs' via Puppet Users
onths ago after updating some external modules from the forge. See https://puppet.com/docs/puppet/5.5/environment_isolation.html for the details. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@ope

[Puppet Users] Re: After puppet 3.8 - 6.17 upgrade, missing lots of pre-defined facters

2020-08-03 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Montag, den 03.08.2020, 06:57 -0700 schrieb Paul Raines: > Okay, so the issue is zfs_version became Solaris only when previously > it was not. This change is obviously nonsense. There's ZFS on Linux and it's even the default on FreeBSD since a long time. Could you file a bug to have this rever

Re: [EXTERNAL] - [Puppet Users] problems installing.

2020-07-22 Thread &#x27;Dirk Heinrichs' via Puppet Users
dependencies, other packages might have some, so it's better to use apt-get install ./package.deb to get them properly resolved. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com We

Re: [Puppet Users] if ($variable) after upgrade from 5.5 to 6

2020-06-17 Thread &#x27;Dirk Heinrichs' via Puppet Users
Am Mittwoch, den 17.06.2020, 13:37 +0200 schrieb Helmut Schneider: > Can I check if an array has elements? if size($something) > 0 {} HTH... Dirk -- Dirk HeinrichsSenior Systems Engineer, Delivery PipelineOpenText ™ Discovery | RecommindPhone: +49 2226 15966 18Email: dheinric@opentext.comWeb

Re: [Puppet Users] Install software by running script

2020-04-13 Thread Dirk Heinrichs
well... The same pattern: let the wget | sudo bash command run on a dev platform or a container and build a package. Either this, or: Write a package provider, like the ones already available for Ruby gems or Python modules, which turns this into package { 'foo': ... provider => npm,

Re: [Puppet Users] Questions reg. Hiera v3 to v5 migration

2020-03-04 Thread Dirk Heinrichs
Am Mittwoch, den 04.03.2020, 10:58 +0100 schrieb Martin Alfke: Yes, both deliver same results. I prefer the second option (using paths) The first option is useful in case that you need to set hierarchy individual settings. Great. Thanks a lot. Bye... Dirk -- Dirk Heinrichs Senior Systems

Re: [Puppet Users] Questions reg. Hiera v3 to v5 migration

2020-03-04 Thread Dirk Heinrichs
Am Mittwoch, den 04.03.2020, 07:56 + schrieb Dirk Heinrichs: I assume these two are equivalent: Once again, with better indentation: hierarchy: - name: "Per-kernel data" path: "kernel/%{facts.kernel}.yaml" - name: "Common data" path: "

Re: [Puppet Users] Questions reg. Hiera v3 to v5 migration

2020-03-03 Thread Dirk Heinrichs
path: "common.yaml" hierarchy: - name: "All in one" paths: - "kernel/%{facts.kernel}.yaml" - "common.yaml" Is this correct? Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966

Re: [EXTERNAL] - Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-03-03 Thread Dirk Heinrichs
o the "puppet lookup" command (see first post) was (also) wrong. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind

[Puppet Users] Questions reg. Hiera v3 to v5 migration

2020-03-03 Thread Dirk Heinrichs
ypted and uncencrypted values in the files given in the hierarchy. As I understand the documentation, the eyaml backend now has its own hierarchy. Is this correct? Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 159

Re: [EXTERNAL] - Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-03-03 Thread Dirk Heinrichs
Am Mittwoch, den 26.02.2020, 05:57 -0800 schrieb Dan Crisp: sshdconfig::match_address: "xx.xx.xx.xx" Just to clarify: Is "puppet lookup" supposed to find "sshdconfig::match_address" when only "match_address" was given? Bye... Dirk --

Re: [EXTERNAL] - Re: [Puppet Users] Puppet : Install a .deb

2019-11-21 Thread Dirk Heinrichs
on top of that, you might want to also install the "puppetlabs-apt" module from the Puppet Forge to be able to manage package repositories and apt configuration. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 22

Re: [EXTERNAL] - [Puppet Users] service resource running always makes a corrective change

2019-11-06 Thread Dirk Heinrichs
b/systemd/system/nfs-server.service Name mismatch. Use "nfs-server" in your resource. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.c

[Puppet Users] Install Ruby gem with native extensions into Linux/Windows agents

2019-10-07 Thread Dirk Heinrichs
r gem, which this time includes "native extensions" (some C code). This might work on some Linux agents, which coincidentally have the needed tools installed (gcc, make, ...), but will fail on those which don't have these tools and most likely on Windows as well. So how do peo

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
Am Freitag, den 27.09.2019, 11:50 + schrieb Dirk Heinrichs: Am Freitag, den 27.09.2019, 03:43 -0700 schrieb Dan Crisp: This file does nothing. All the lines therein are commented out. In fact, I have in the past moved this file out of the way then put it back just to rule out it was

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
x27;t contain any strange configuration for that environment. Not sure what else could be the problem. Could you run the agent with --debug and post the relevant lines involving your user resource (if any)? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Disc

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
Am Donnerstag, den 26.09.2019, 06:20 -0700 schrieb Dan Crisp: /etc/puppetlabs/code/environments/production: total 20 -rw-r--r--. 1 root root 808 Sep 25 20:47 environment.conf What does this one contain? I don't have these in my environments. Bye... Dirk -- Dirk Heinrichs Senior Sy

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
Am Donnerstag, den 26.09.2019, 06:20 -0700 schrieb Dan Crisp: node 'default' { Should be "node default {" HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opent

Re: [Puppet Users] Pass value hiera agent

2019-09-16 Thread Dirk Heinrichs
your values into it. This, combined with putting your Puppet-related stuff into a Git repository, allows you to easily setup different environments on your Puppet master by cloning the repository multiple times and checking out different branches. HTH... Dirk -- Dirk Heinrichs Senior Systems E

Re: [Puppet Users] PQL: How to filter "ensure => present"

2019-09-11 Thread Dirk Heinrichs
he very least, but I'd suggest a space on both sides of the =). Let me know if you run into any other problems! Yep, that solved it. Thanks a lot. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 E

[Puppet Users] PQL: How to filter "ensure => present"

2019-09-11 Thread Dirk Heinrichs
st sets the marker after the closing }. Any idea what the correct syntax is here? Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Webs

Re: [EXTERNAL] - Re: [Puppet Users] change from 'notrun' to ['0'] failed

2019-09-01 Thread Dirk Heinrichs
Am Sonntag, den 01.09.2019, 14:52 + schrieb Helmut Schneider: The certificate is on the agent system, not the master so I need to do the exec. No, you don't, as Bart-Jan already wrote. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Disc

Re: [Puppet Users] Puppet agent hangs on "Executing: '/sbin/service nfs start'

2019-08-28 Thread Dirk Heinrichs
Am Mittwoch, den 28.08.2019, 11:49 -0700 schrieb Bret Wortman: Debug: Executing: '/sbin/service nfs start' First thing to try: Does it also hang if you run the command manually? Maybe it's a problem with that specific service. Bye... Dirk -- Dirk Heinrichs Senior Systems Eng

Re: [Puppet Users] Windows custom fact as a batch file

2019-07-10 Thread Dirk Heinrichs
XoxwbvHso_TaI&m=cG6MXok9HKVYjHrlWh217x6IR72fOmv0j10IAauRjpc&s=Mo5qYHKARTUToCaRfUBMEf-8-luxL_aiFfibnXHoyVA&e=> https://tickets.puppetlabs.com/browse/FACT-1934 Great! Thanks a lot. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 1

Re: [Puppet Users] Windows custom fact as a batch file

2019-07-10 Thread Dirk Heinrichs
change request ;-) If the Microsoft OpenSSH feature is installed (above directory exists and contains host keys), the host keys should appear in facts, just like it is on Linux. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone

Re: [Puppet Users] Replace some text

2019-04-08 Thread Dirk Heinrichs
Am Sonntag, den 07.04.2019, 05:47 -0700 schrieb KRouth Clinipace: Know i will see the other options proposed here puppetlabs::stdlib -> file_line Why reinvent the wheel? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2

Re: [Puppet Users] Custom type: Ensure array properties are sorted

2019-03-15 Thread Dirk Heinrichs
a complete rewrite. Will have to see when I find some time... Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind

[Puppet Users] Custom type: Ensure array properties are sorted

2019-03-14 Thread Dirk Heinrichs
ing to use mytype { 'title': ... array_prop => sort($array), ... } ? Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.re

Re: [Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-03-06 Thread Dirk Heinrichs
Am Donnerstag, den 28.02.2019, 13:46 + schrieb Dirk Heinrichs: Am Donnerstag, den 28.02.2019, 13:53 +0100 schrieb Henrik Lindberg: Did you mean to use map() to get an array of the names? That is, like this: $debian_nodes = puppetdb_query($debian_nodes_query).map |$value| { $value

Re: [Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-02-28 Thread Dirk Heinrichs
Am Donnerstag, den 28.02.2019, 13:53 +0100 schrieb Henrik Lindberg: On 2019-02-28 13:37, Dirk Heinrichs wrote: following the example in the PuppetDB documentation, I tried this code: $debian_nodes_query = 'nodes[certname]{facts{name = "operatingsystem" and value = "Debi

[Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-02-28 Thread Dirk Heinrichs
espite the '$value["certname"]'. What would I need to do to print the names only? Like: Notice: Your debian nodes are host1.example.com, host2.example.com which is what I would expect the code above to do in the first place. Thanks... Dirk -- Dirk Heinrichs Senior Systems Engi

Re: [Puppet Users] Writing a non-ensurable type/provider

2019-02-25 Thread Dirk Heinrichs
Am Montag, den 25.02.2019, 06:26 -0800 schrieb jcbollinger: On Monday, February 25, 2019 at 2:30:02 AM UTC-6, Dirk Heinrichs wrote: Am Montag, den 25.02.2019, 09:10 +0100 schrieb Martin Alfke: Within the provider you specify getters (how to read existing data) and setters (how to set new data

  1   2   3   >