Re: [Puppet Users] [PuppetDB] Error 500 'Failed to execute '/pdb/cmd/v1....'

2022-11-02 Thread Nir Fishler
tdb and puppetserver? > On Open Source we usually recommend the puppetlabs-puppetdb module. > > > On 31. Oct 2022, at 10:39, Nir Fishler wrote: > > Hey Martin, > > Thanks for your reply. > > There are three files underneath that directory: > >- puppetdb-access.

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

2022-12-05 Thread Nir Fishler
Thanks a lot guys for your prompt reply! Gonna try it out later on. On Monday, December 5, 2022 at 9:47:52 AM UTC+2 dhei...@opentext.com wrote: > 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 u

[Puppet Users] Puppet filters

2022-12-17 Thread Nir Fishler
Hey Guys, I'm trying to pull data from an array using the 'mountpoints' facter $root_partition = $mountpoints.filter |$values| { $values[0] =~ "/$" } the results I get are: Notice: {/ => {device => /dev/mapper/ubuntu--vg-ubuntu--lv, filesystem => ext4, options => [rw, relatime], size_bytes =>

Re: [Puppet Users] Puppet filters

2022-12-18 Thread Nir Fishler
tin > > > > On 18. Dec 2022, at 08:44, Nir Fishler wrote: > > > > Hey Guys, > > > > I'm trying to pull data from an array using the 'mountpoints' facter > > > > $root_partition = $mountpoints.filter |$values| { $values[0] =~ "/$" } > >

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

2022-12-18 Thread Nir Fishler
2022 at 10:02:09 AM UTC+2 Nir Fishler wrote: > Thanks a lot guys for your prompt reply! > > Gonna try it out later on. > > On Monday, December 5, 2022 at 9:47:52 AM UTC+2 dhei...@opentext.com > wrote: > >> Am Sonntag, dem 04.12.2022 um 07:43 -0800 schrieb Nir Fishler: &

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

2022-12-04 Thread Nir Fishler
Hello, I'd like to store an output of a bash command into a variable, and then print it to stdout using notify in Puppet. Main goal: get a list of upgrade-able packages and notify the user about it. I have tried the below but it doesn't seem to work: $pkgs_list = $("/usr/bin/apt --simulate

Re: [Puppet Users] [PuppetDB] Error 500 'Failed to execute '/pdb/cmd/v1....'

2022-10-31 Thread Nir Fishler
Nir, > > Please check the puppetdb log file for further error investigation. > Usually this is located at /var/log/puppetlabs/puppetdb/puppetdb.log > > Hth, > Martin > > > On 30. Sep 2022, at 10:30, Nir Fishler wrote: > > Hello, > > *puppetserver *version: 7.8.0 (