RE: [Puppet Users] os release facter not parsing dracut version

2023-06-22 Thread Bart-Jan Vrielink
Hello, The documentation for os-release (https://www.freedesktop.org/software/systemd/man/os-release.html) only briefly mentions major release, but indicates that VERSION_ID is where that should come from. Both Debian and AlmaLinux have sensible values for VERSION_ID: VERSION_ID="11"

RE: [Puppet Users] Puppetserver ca migrate

2021-03-16 Thread Bart-Jan Vrielink
ppet Users] Puppetserver ca migrate On Sat, Mar 6, 2021 at 3:18 AM Bart-Jan Vrielink mailto:bart...@vrielink.net> > wrote: /etc/puppetlabs/puppetserver/ca is not a volume listed in the docker-compose file. Unless that directory is symlinked to somewhere under /etc/puppetlabs/puppet/, that

RE: [Puppet Users] Puppetserver ca migrate

2021-03-06 Thread Bart-Jan Vrielink
- From: Justin Stoller  Sent: Friday 5th March 2021 20:35 To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Puppetserver ca migrate On Thu, Mar 4, 2021 at 11:44 PM Bart-Jan Vrielink mailto:bart...@vrielink.net> > wrote: Hello, It would be nice if Puppet's Pupperware is also u

RE: [Puppet Users] Puppetserver ca migrate

2021-03-04 Thread Bart-Jan Vrielink
Hello, It would be nice if Puppet's Pupperware is also updated for this new CA location... -Original message- From: Justin Stoller  Sent: Thursday 4th March 2021 18:11 To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Puppetserver ca migrate Hi! If you've mounted

RE: [Puppet Users] Reg: Calling the sleep method

2020-09-03 Thread Bart-Jan Vrielink
Hello, No. The try_sleep parameter defines the time to sleep between tries. The default value of tries is 1. What are you trying to achieve? -Original message- From: Raghu Ram Baisani  Sent: Thursday 3rd September 2020 7:17 To: Puppet Users Subject: [Puppet Users] Reg: Calling

RE: [Puppet Users] hiera with environments

2020-06-12 Thread Bart-Jan Vrielink
Hello, Control Repo and R10K work fine with Puppet OSS and is the recommended architecture for using multiple environments with Puppet. PE Code Manager is indeed only for PE, but in most cases is just a fancy name for R10K. -Original message- From: solarflow 99  Sent: Thursday

RE: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-26 Thread Bart-Jan Vrielink
      Path not found   Module "sshdconfig" not found Function lookup() did not find a value for the name 'sshdconfig::match_address' Suggesting that it was expecting sshdconfig to be be a module.  Not the case in this instance.  In fact, the hiera in question is not refferenced in any module

RE: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-25 Thread Bart-Jan Vrielink
Hello, I see you are looking for 'match_address', but in Hiera it is stored as 'sshdconfig::match_address'. -Original message- From: Dan Crisp  Sent: Tuesday 25th February 2020 13:42 To: Puppet Users Subject: Re: [Puppet Users] Hiera Setup Lookup Complaining I included the

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
Of course this is not idempotent. Mmm, security is difficult. -Original message- From: Bart-Jan Vrielink  Sent: Friday 15th November 2019 16:18 To: puppet-users@googlegroups.com Subject: RE: [Puppet Users] Managing a local users password with puppet on EL7 Hello, Glad to hear

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
uff in!. On Friday, November 15, 2019 at 8:55:57 AM UTC-5, Bart-Jan Vrielink wrote: Hello, I'm still puzzled by why this is not working on your system. The following works for me on a Centos7 machine: user { 'testuser':   ensure => 'present',   password   => pw_hash('pass

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
Hello, I'm still puzzled by why this is not working on your system. The following works for me on a Centos7 machine: user { 'testuser':   ensure => 'present',   password   => pw_hash('password', 'SHA-512', 'mysalt'), } -Original message- From: jmp242  Sent:

RE: [Puppet Users] Managing a local users password with puppet on EL7

2019-11-15 Thread Bart-Jan Vrielink
Hello, I doubt str2saltedsha512 can be used to generate encrypted passwords, as the resulting string does not contain the id nor salt. pw_hash should work, although in the brief test I just did, it looks like a lower case 'sha-512' should be used. I think you should debug this issue a

RE: [Puppet Users] Re: [RFC] Changes to open-source container versioning

2019-10-17 Thread Bart-Jan Vrielink
Hello, I'm equally confused. For almost all containers I'm used to, if the tag is just a version number, to me it indicates "built the same way as latest, but a fixed snapshot". If it is not built the same way as latest, I would expect the tag to include a label for that. So

RE: [Puppet Users] change from 'notrun' to ['0'] failed

2019-09-01 Thread Bart-Jan Vrielink
  Sent: Sunday 1st September 2019 16:52 To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] change from 'notrun' to ['0'] failed Bart-Jan Vrielink wrote: > I cannot fully understand what you are trying to do, as I do not know > what $copyPrivateCommand is, but I would advice a

RE: [Puppet Users] change from 'notrun' to ['0'] failed

2019-08-31 Thread Bart-Jan Vrielink
Hello, I cannot fully understand what you are trying to do, as I do not know what $copyPrivateCommand is, but I would advice against using an exec for copying a file, but just use a file resource instead: file { "${letsencryptConfPath}/live/${letsencryptCommonName}/privkey.pem":   ensure =>

RE: [Puppet Users] Re: firewalld module configuration issue

2019-08-31 Thread Bart-Jan Vrielink
Hello, I believe 'port' should be a hash that consist of 'port' and 'protocol' parameters:     Example:         firewalld_port {'Open port 8080 in the public Zone':     ensure => 'present',     zone   => 'public',     port   => {   'port' => 8080,    

RE: [Puppet Users] [EPP] Using tagged, defined, a better way to create variables, ... to verify if a class is included

2019-07-22 Thread Bart-Jan Vrielink
Hello, Looks like the concat module may do the job? $my_template = '/my/config.file' concat { $my_template: } concat::fragment { 'standard contents':   target => $my_template,   content => template('my.epp'), } And then in the Amavis profile class: concat::fragment { 'extra

RE: [Puppet Users] How do you keep the forge modules you use up to date (and keep your sanity)

2019-07-09 Thread Bart-Jan Vrielink
Hi, I share your pain. Too much time I waste on figuring out what set of dependencies will work. Something that may help is Voxpupuli's ra10ke gem (https://github.com/voxpupuli/ra10ke). This adds a few helpful rake tasks to work with dependencies. https://voxpupuli.org/plugins/#r10k lists

RE: [Puppet Users] Puppet does not recognize bind mounts

2019-06-11 Thread Bart-Jan Vrielink
Hello, I'm unable to reproduce this behavior. To see about which mounts Puppet knows about, use 'puppet resource mount' or 'puppet resource mount /pub/fedora/site/candidates/30' # puppet resource mount /mnt/home mount { '/mnt/home':   ensure  => 'mounted',   device  => '/home',   dump   

RE: [Puppet Users] How to start puppet master for v6.0.0 or late

2019-05-22 Thread Bart-Jan Vrielink
bably the repository does not support it. Is there any way to build to build puppetserver from the Github directly? Thanks, On Wednesday, 22 May 2019 03:25:32 UTC-4, Bart-Jan Vrielink wrote: Hello, Puppet master has been deprecated for a while and is removed from Puppet 6. Instead of

RE: [Puppet Users] How to start puppet master for v6.0.0 or late

2019-05-22 Thread Bart-Jan Vrielink
Hello, Puppet master has been deprecated for a while and is removed from Puppet 6. Instead of a puppet master, you should switch to using a puppetserver instead. See https://puppet.com/docs/puppet/6.0/release_notes_puppet.html#webrick -Original message- From: samding dd  Sent:

RE: [Puppet Users] converting Puppet reports to JUnit

2019-05-13 Thread Bart-Jan Vrielink
Hello, For rspec I have set the environment variable CI_SPEC_OPTIONS to '-r yarjuf -f JUnit -o result.xml -f progress'. This uses the gem yarjuf to generate a Junit results.xml file (which is saved as an artifact in Gitlab). -Original message- From: Luke Bigum  Sent: Friday 10th

RE: [Puppet Users] Push Puppet custom Facts to agent

2019-01-31 Thread Bart-Jan Vrielink
Hello, Normally you would place custom facts in the directory lib/facter of a module (any module). When the setting pluginsync is true (and this is the default value for quite a long time), on the next puppet run this fact will be synced to the agent.

[Puppet Users] External NSS based CA & puppetserver

2018-08-07 Thread Bart-Jan Vrielink
for populating the NSS certificate database and also have it generate .pem files. Will either of the first 2 options work? Or are OpenSSL certificates the only external certificates that work with Puppet 4.x/5.x ?? Regards, Bart-Jan Vrielink -- You received this message because you

[Puppet Users] Puppet repository accessable on IPv6

2018-06-15 Thread Bart-Jan Vrielink
Hello, I'm trying to install a puppet agent on a server that only has IPv6 access. Is there any mirror of yum.puppet.com that has IPv6 or are we waiting for the next greatest thing to come after IPv6? -- You received this message because you are subscribed to the Google Groups "Puppet

RE: [Puppet Users] Avoiding duplicate declaration in a loop?

2017-07-07 Thread Bart-Jan Vrielink
Hello, They are duplicate resources because Puppet (on the server) parses the manifests and adds all resources found to a catalog that is sent to the client, which uses this catalog to update the configuration. The catalog cannot have duplicate resources. I know of 3 basic methods to

RE: [Puppet Users] ntp package_name

2017-06-28 Thread Bart-Jan Vrielink
João, The default value is defined in data/common.yaml (as present), but depending on the OS version, this may be overridden. See hiera.yaml for what files may be consulted. Note that this version of the ntp module requires at least Puppet version 4.7.0. -Original message- From:

RE: [Puppet Users] Problem in looking up key value from hieradata

2017-01-30 Thread Bart-Jan Vrielink
Hello, There are a few issues with your example that need to be fixed, to make it work. As a start, you need to prefix certain keywords in /etc/hiera.yaml with a colon (:). I have tested using this setup: --- :backends:   - yaml :hierarchy:   - node/%{::fqdn}   - "%{::environment}"   -