[Puppet Users] Re: REST API catalog.version

2025-08-02 Thread Jason St-Cyr
Hi Martin, just as a caveat, I'm not a Puppet expert, but I decided to try out the new support search that Perforce put on the help docs (help.puppet.com/core) with this question and it's possible the answer it gave might help out! I've put in its answer below, in case it helps, but it also cit

[Puppet Users] Re: REST API catalog.version

2025-07-29 Thread mvo...@gmail.com
Case closed: - The script works, which I just found out, but not on my testing machine. The catalog.version then can be queried with cat result.txt | jq .version -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

[Puppet Users] Re: Error coming from puppetdb and partitions?

2025-06-25 Thread Dan Mahoney
Okay, no response at all so far. Is there a better place to ask about this? We've pushed an issue here: https://github.com/puppetlabs/puppetdb/issues/4020 -Dan On Saturday, June 21, 2025 at 3:00:56 AM UTC-4 Dan Mahoney wrote: > Hey there folks, > > We're using puppetdb and we see this error f

[Puppet Users] Re: puppetserver ca clean : don't delete certificates files

2025-06-24 Thread puppetstan
Hi, Can you run the following command and provide the results? puppetserver ca list -a Regards Le jeudi 13 février 2025 à 15:44:34 UTC+1, prun...@gmail.com a écrit : > Hello. > > I try to solve a bug in my puppet setup without success. Maybe someone > here can give me some clues. > > I'm us

[Puppet Users] Re: puppet 6 upgrade to 7, issue with file_metadatas/modules/plugins

2025-05-27 Thread Trey Ormsbee
I figured this out, I had this in my agent config: pluginfactsource = puppet://puppet/modules/pluginfacts pluginsource = puppet://puppet/modules/plugins changed it to pluginfactsource = puppet://puppet/pluginfacts pluginsource = puppet://puppet/plugins and all is good. On Tu

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

2025-04-18 Thread puppetstan
Hello, I've made some progress on this. The client server (test-server.domain.fr) is successfully registered on the Puppet master server. 1 - On the Puppet master server (puppet.domain.fr) : # puppetserver ca list -a | grep serveur-test.domain.fr serveur-test.domain.fr

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

2025-04-10 Thread stide...@gmail.com
I got the impression it won't be fixed. Puppet has been acquired by Perforce and will only allow registered users a maximum of 25 nodes to be managed. It's no longer fully Open Source. Time to move to Ansible, Chef, CfEngine, ... https://www.puppet.com/blog/open-source-puppet-updates-2025 On W

[Puppet Users] Re: puppet-agent-ubuntu DockerHub outdated

2024-09-15 Thread 'Jesse Reynolds' via Puppet Users
Hi Nathaniel, It looks like the puppet-agent images stopped being maintained in late 2022 when the following PR removed the Dockerfiles etc from the puppet-agent git repo: https://github.com/puppetlabs/puppet-agent/pull/2315 … Ben’s description on the PR: *This now lives at https://github.co

[Puppet Users] Re: puppet-agent-ubuntu DockerHub outdated

2024-09-12 Thread Nathaniel Black
Any update on this? Sadly, it still has not been updated. On Tuesday, September 12, 2023 at 2:51:31 PM UTC-7 Nathaniel Black wrote: > Hello! > > We use Docker puppet/puppet-agent-ubuntu:latest in CI/CD pipelines to > perform actions like lint and validate checks, but I have noticed that the > r

Re: [Puppet Users] Re custom fact query

2024-05-08 Thread 'Ben Ford' via Puppet Users
Hi Dave! This bug was actually just fixed in https://github.com/puppetlabs/facter/pull/2705 For now, you'll need to compare to the downcased version of the string and I'll file a ticket to get that noted in docs. Good luck! On May 8, 2024, at 2:15 AM, daveford...@gmail.com wrote: You don

[Puppet Users] Re custom fact query

2024-05-08 Thread daveford...@gmail.com
To clarify, tried this on various systems - facter 4.4.0 and ruby 3.0.2 on Ubuntu Mint and facter 4.7.0 and ruby 3.1.4 on gentoo. Examples taken from the puppet documentation on writing custom facts. On Wednesday 8 May 2024 at 10:12:31 UTC+1 daveford...@gmail.com wrote: > Total ruby noob and

[Puppet Users] Re: [voxpupuli] Vox Pupuli Elections, 2024 (ends May 15)

2024-05-03 Thread Tim Meusel
Hi people! Just a reminder that there's about a week left to vote! Checkout https://civs1.civs.us/cgi-bin/vote.pl?id=E_c3a85d1acd3e9feb&akey=dc65601945c5628c and decide who will be in the next PMC! Cheers, Tim On 09.04.24 19:09, Ben Ford via groups.io wrote: Hello friends! After a slight d

[Puppet Users] Re: help needed with reduce function

2024-04-15 Thread Arnau
With a bit more of debuging I figured out that my code was wrong. what I really need is: $extra_proxy_pass = $options.reduce([$base_proxy_pass])|$memo, $value| { $memo << { 'path' => "${value[0]}", 'url' => '!' } } in my previous code I was passing Strings instead of Hashes. Now I'm

[Puppet Users] Re: Could not autoload puppet/provider/apt_key/apt_key

2024-02-23 Thread 'Josh Cooper' via Puppet Users
The error occurs because the module is using Ruby 2.6 syntax (such as endless ranges) but Puppet 6 vendors Ruby 2.5. On Friday, February 23, 2024 at 7:39:40 AM UTC-8 Denny Fuchs wrote: > Hi, > > it seems, we have to upgrade to Puppet7. The error is gone, with this > version. > > Denny Fuchs sch

[Puppet Users] Re: Could not autoload puppet/provider/apt_key/apt_key

2024-02-23 Thread Denny Fuchs
Hi, it seems, we have to upgrade to Puppet7. The error is gone, with this version. Denny Fuchs schrieb am Freitag, 23. Februar 2024 um 16:10:02 UTC+1: > Hello, > > because of Bookworm and apt-key, we have to upgrade apt and stdlib on our > Puppet6 Server. I've get on all nodes with Debian Bust

[Puppet Users] Re: Windows 11 compatibility with puppetlabs-* modules

2024-01-24 Thread 'David Sandilands' via Puppet Users
Hi Fran, I know we discussed this on slack but just so its visible on google groups too, I will take this away to the product management leadership and get clarification on this. Thanks David On Friday, January 19, 2024 at 6:52:56 PM UTC fgel...@gmail.com wrote: > Is there any plan for or in

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

2023-11-27 Thread 'Saša Teković' via Puppet Users
On Friday, November 3, 2023 at 6:14:29 PM UTC+1 shubham...@perforce.com wrote: Hello, We are happy to announce that puppet-agent nightly builds for Debian 11 (ARM64) are now available at https://nightlies.puppet.com/apt/index.html Please try them out and let us know if you have any questions!

[Puppet Users] Re: Manage Amavisd Service

2023-11-25 Thread 'Kenyon Ralph' via Puppet Users
On Friday, November 24, 2023 at 3:51:07 AM UTC-8 jochen@gmail.com wrote: Perhaps I should add, that manually a service amavis start also did not solve the problem, but a service amavis restart helped. The Active state again changed to active(running) jochen@gmail.com schrieb am Freit

[Puppet Users] Re: Manage Amavisd Service

2023-11-24 Thread jochen....@gmail.com
Perhaps I should add, that manually a service amavis start also did not solve the problem, but a service amavis restart helped. The Active state again changed to active(running) jochen@gmail.com schrieb am Freitag, 24. November 2023 um 12:46:28 UTC+1: > Hi, > > I manage a Debian Mailser

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

2023-11-23 Thread 'Dirk Heinrichs' via Puppet Users
Am Mittwoch, dem 15.11.2023 um 22:13 + schrieb 'Michael Hashizume' via Puppet Users: > We will address this in the next puppet-agent 7 release. Errh, if there was a regression introduced in release X.0, why isn't it fixed immediately after getting known with an X.1 release? Everyone updating

[Puppet Users] Re: Puppetboard and postgresql - Reports take up space.

2023-11-21 Thread puppetstan
Hello, Thank you for your answer I will apply that but I just saw that by default it is 14 days. So I think my problem lies elsewhere... Regards Le jeudi 16 novembre 2023 à 20:54:02 UTC+1, austin...@puppet.com a écrit : > That script looks to be related to the old puppet-dashboard, and I don

[Puppet Users] Re: Puppetboard and postgresql - Reports take up space.

2023-11-16 Thread 'austin...@puppet.com' via Puppet Users
That script looks to be related to the old puppet-dashboard, and I don't think it would work with Puppetboard. To my knowledge, Puppetboard does not store any reports and is only a frontend for displaying PuppetDB data. If you find the reports in your PuppetDB growing too large, you can lower th

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

2023-11-15 Thread 'Michael Hashizume' via Puppet Users
Hello Stefan, Thank you for reporting this. Our intention was to update bundled Augeas in both puppet-agent 7 and 8 but it only landed in 8. We will address this in the next puppet-agent 7 release. Thank you, Michael Hashizume From: puppet-users@googlegroups.com on behalf of Dietrich, Stefa

[Puppet Users] Re: passing arguments by name instead of position for functions

2023-10-25 Thread Jesse Reynolds
Hi Matt, Is your aim to avoid the duplication? If so, perhaps you could just use simple composition, eg: $defaults = { 'foo1' => 'bar', #[...] 'foo99' => 'baz', } $h = $defaults + { 'foo100' => 'h', } $g = $defaults + { 'foo100' => 'g', } If you need more flexibility though, hiera

[Puppet Users] Re: Puppet Content Releases

2023-10-17 Thread 'Puppet Product Updates' via Puppet Users
Puppet Content Releases*Supported modules* An important clarification was brought to my attention, thanks bastelfreak (Tim), that the postgresql module was updated to 10.0.1 and that the previously mentioned 10.0.0 version should NOT be used.

[Puppet Users] Re: puppet idiom to select particular module stream?

2023-09-12 Thread vche...@gmail.com
It should work, I use similar approach. Try to adjust your parameters, this what works for me package { 'nodejs-module': ensure => '18', enable_only => true, provider => 'dnfmodule', } -> package { 'nodejs': } On Monday, September 11, 2023 at 4:57:20 PM UTC-4 Tim.Mooney wrote: > > All-

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

2023-09-04 Thread 'Dirk Heinrichs' via Puppet Users
Am Montag, dem 04.09.2023 um 03:03 -0700 schrieb 'Saša Teković' via Puppet Users: If not, is it possible to get more information about Debian 12 (Bookworm) support. When are Puppet Server, Agent, PDK, and PuppetDB packages expected to be released for Debian 12? Bookworm ships its own Puppet 7

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

2023-09-04 Thread 'Saša Teković' via Puppet Users
On Friday, July 14, 2023 at 7:06:48 PM UTC+2 Kenyon Ralph wrote: Tracked here: https://tickets.puppetlabs.com/browse/PA-4995 Hello, I'm unable to access the mentioned Jira ticket. It seems that ticket is not publicly available, and I can't find an option to register at tickets.puppetlabs.com

[Puppet Users] Re: puppet error - agent test

2023-08-30 Thread kovid bhardwaj
Hi all, I am getting no output from below command : [root@pagent~]$ puppet agent --fingerprint Fingerprint asked but neither the certificate, nor the certificate request have been issued Can anyone suggest what is going wrong here ? On Monday, August 28, 2023 at 8:47:17 PM UTC+5:30 kovid bhardwa

[Puppet Users] Re: Custom Fact Deployment

2023-08-28 Thread Ben Parry
If you write your bash script in Ruby (maybe ask chatgpt to do it) and put it in your class in the folder lib/facter your next puppet run will automatically update the facts and it will be available. Best you read this page; https://www.puppet.com/docs/puppet/6/custom_facts.html On Thursday, 3

[Puppet Users] Re: Bacula with Puppet

2023-08-25 Thread to...@krasnican.cz
Hello, yes, it's pretty simple: $client_password = extlib::cache_data('foreman_cache_data',"${::fqdn}_bacula_client_password", extlib::random_password(24)) file { '/etc/bacula/bacula-fd.conf': mode=> '0600', owner => 'root', group => 'root', content => template($templat

[Puppet Users] Re: Custom Fact Deployment

2023-08-03 Thread Mike Langhorst
My experiences are with Puppet enterprise, but most of this should port directly over to your needs. Early on, I created a module of my own $org_custom_facts, so that I could keep all of them together, when they weren't part of some other specific module. If you want to write a shell script, l

[Puppet Users] Re: FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:389)

2023-07-18 Thread Nayana Thorat
Any inputs? On Tuesday, 2 May 2023 at 21:05:15 UTC+5:30 Nayana Thorat wrote: > Building puppet server from source on Ubuntu 20.04 on x86 > Failing below test failures when executed 'lein test' > FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:369) > FAIL in (autosign-csr?-r

[Puppet Users] Re: Binary file in eyaml breaking use of Deferred due to pson

2023-07-14 Thread 'Josh Cooper' via Puppet Users
$mykeytab = lookup('mymodule::mykeytab') file { '/path/to/mykeytab': ensure => file, content => $mykeytab, } Replace "content => $mykeytab" with "content => Binary($mykeytab)" so that the data is serialized to the agent correctly. See https://www.puppet.com/docs/puppet/7/lang_data_binar

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

2023-07-14 Thread Kenyon Ralph
Tracked here: https://tickets.puppetlabs.com/browse/PA-4995 On Thursday, July 13, 2023 at 1:43:54 PM UTC-7 Firstname Lastname wrote: > Hi, > > I am maintaining my puppet repo with the apt class, which currently > results in non-working apt file as there is no bookworm package at > apt.puppetlab

[Puppet Users] Re: Resource type exec, Deferred, and Vault

2023-06-09 Thread Bob Negri
Answer is, it seems to work with Deferred('sprint', ['Password: %s', $db_password]. There are issues around special characters in the password string, like and exclamation point. On Thursday, June 8, 2023 at 7:28:41 AM UTC-5 Bob Negri wrote: > Is it possible to use Deferred with the command in

[Puppet Users] Re: [voxpupuli] Vox Pupuli: Our Road to Puppet 8

2023-05-28 Thread Tim Meusel
Hi, sorry I missed your email. The plan is to move voxpupuli-test to RuboCop ~> 1.50.2 and lint with Ruby 2.6 as target version. Gems used within Puppet/Puppetserver will also use that (for example hiera-eyaml). Other gems will use voxpupuli-rubocop and targeted at Ruby 2.7 I'm also advocatin

[Puppet Users] Re: multiple key value pair in environment

2023-05-26 Thread 'sli...@verizon.net' via Puppet Users
also tried environment => [ 'key1=v1', 'key2=v2' ] still its not present.. On Friday, May 26, 2023 at 7:55:03 AM UTC-4 sli...@verizon.net wrote: > Hello, > > ow to set multiple key value pairs in cron environment property? > > I tried > environment => 'key1=v1,key2=v2' > and > environment =>

[Puppet Users] Re: [voxpupuli] Vox Pupuli: Our Road to Puppet 8

2023-05-15 Thread Alexander Fisher
On Fri, May 12, 2023 at 10:26 AM Tim Meusel wrote: > Good morning everybody, > I want to explain a bit what we're currently doing in our modules to > support Puppet 8. > > Puppet 8 AIO packages contain Ruby 3.2. Vox Pupuli runs unit tests for > all supported major Puppet versions in a module. We

[Puppet Users] Re: Vox Pupuli: Our Road to Puppet 8

2023-05-12 Thread Edwin Maldonado
Hey Tim, Thanks for sharing Vox's road to Puppet 8. I'm sorry to hear about some of the issues with the recent releases. I will bring this feedback to our Product and Engineering teams. Thanks, On Friday, May 12, 2023 at 11:26:23 AM UTC+2 bastelf...@googlemail.com wrote: > Good morning ever

[Puppet Users] Re: FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:389)

2023-05-11 Thread Nayana Thorat
Fixed with Ruby version upgrade v3.1.4 On Tuesday, 2 May 2023 at 21:05:15 UTC+5:30 Nayana Thorat wrote: > Building puppet server from source on Ubuntu 20.04 on x86 > Failing below test failures when executed 'lein test' > FAIL in (autosign-csr?-ruby-exe-test) (certificate_authority_test.clj:369)

[Puppet Users] Re: May the Source Be With You!

2023-05-02 Thread Edwin Maldonado
Hey Puppet community, We are excited about the upcoming May the Source Be With You virtual hackathon happening this Thursday 😀 Remember to register your participation by clicking on this link: SIGN UP HERE

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

2023-04-03 Thread Marty Ewings
Yes it does, please see https://www.puppet.com/docs/puppet/7/man/agent.html#usage-notes excerpt below: '--test' runs once in the foreground with verbose logging, then exits. It also exits if it can't get a valid catalog. --test includes the '--detailed-exitcodes' option by default and exits

[Puppet Users] Re: Querying nested facts with puppetdb

2023-03-22 Thread austin...@puppet.com
The Inventory endpoint supports querying based on dotted fact paths for both projected values and query filters. A similar PQL query to what y

[Puppet Users] Re: get secrets from vault

2023-03-02 Thread Aaron Russo
Don't you need a Deferred call to read into the hash, since it's a Deferred? We use a Deferred inline_epp to do this: ``` $test = Deferred('vault_lookup::lookup', ["secret/data/test", 'https://examplevault.com:8200']) node default { notify { 'example': message => Deferred('inline_epp', ['<

[Puppet Users] Re: get secrets from vault

2023-03-02 Thread Monther Yasin
$d['city'] should give you the city name and this will return the name $d['name']. message => $d['city'] On Wednesday, March 1, 2023 at 11:45:27 AM UTC-5 prajwa...@gmail.com wrote: > Hi , > > I am trying to get secrets from vault. > > *vault*.*pp:* > > $d = Deferred('vault_lookup::lookup', ["

[Puppet Users] Re: Masterless Puppet and exported resources

2023-02-02 Thread Alex C
Hi, Austin, Thanks! pson_storeconfigs is just a mock installed for that one acceptance test, and not a real storeconfigs backend. I could be wrong, but the only backend I'm aware of for exported resources is the PuppetDB backend. Yeah, I saw that soon after writing the post :) It's a shame, I

[Puppet Users] Re: Masterless Puppet and exported resources

2023-02-01 Thread austin...@puppet.com
Hi Álex, pson_storeconfigs is just a mock installed for that one acceptance test, and not a real storeconfigs backend. I could be wrong, but the only backend I'm aware of for exported resources is the PuppetDB backend. Based on your post, I'm not sure it would work perfectly because it sounds

[Puppet Users] Re: Masterless Puppet and exported resources

2023-02-01 Thread Alex C
Hi again, I got a pretty effective masterless setup. It even collects facts from nodes. I'd like to set up exported resources (I still use Nagios, and the exported resources magic with Nagios looks great!), but I'm hitting a lack of documentation. In case anyone comes across this by Googling,

[Puppet Users] Re: Using VS Code with PDK -- how can I manually run puppet-lint?

2022-12-04 Thread Dan Mahoney
It turns out the answer to my second question is: gem install voxpupuli-puppet-lint-plugins ...which seems to be a meta package that installs most of the nonstandard plugins which were then adopted by pdk. I'm not sure how we can get those added to official puppet-lint so this step isn't neces

[Puppet Users] Re: Collecting exported defined-type resources fails on "stand alone"/serverless puppet nodes

2022-11-30 Thread Sage Imel
Follow up on this. Looks like this was noticed in 2015 or so and was closed as "wont-fix" https://tickets.puppetlabs.com/si/jira.issueviews:issue-html/PUP-2627/PUP-2627.html The documentation should probably updated to not suggest using the ral resource terminus in this case if it's known to

[Puppet Users] Re: Puppet agent doesn't run on Windows 11 notebook.

2022-11-17 Thread Nate McCurdy
Stephanos, You said your notebook is "a standalone node that won't connect to a master". If that's the case, then "puppet agent -t" is not what you should be running. The "puppet agent" command will attempt to talk to a Puppetserver

[Puppet Users] Re: Puppet Server on public host/IP address?

2022-10-21 Thread David Sandilands
Hi Matthias, Yeah it was more as closest documentation I could find. I got some advice that the main thing people looked for when publically exposed was to prevent anyone being able to make CSR requests to the server which would be on the configured in /etc/puppetlabs/puppetserver/conf.d/auth.c

[Puppet Users] Re: Puppet Server on public host/IP address?

2022-10-21 Thread Matthias Pigulla
Thank you for these suggestions. I might be missing something, but these patterns seem to link parts of the infrastructure at different locations/availablility zones through virtual private cloud links. I did not see if/how a Puppet Master is exposed to the public internet there? Any suggestio

[Puppet Users] Re: Puppet Server on public host/IP address?

2022-10-20 Thread David Sandilands
Our support for TLS termination is messy and you need to use a reverse proxy in front of PE, We have a couple of Patterns surrounding multi region solutions using proxies and compilers which may be helpful https://puppet.com/docs/pe/2021.7/installing_compilers.html#multi-region-load-balancing A

[Puppet Users] Re: Puppet can't fetch catalog

2022-09-20 Thread Ben Ford
(and then you'll need to restart the server) On Tuesday, September 20, 2022 at 7:38:45 AM UTC-7 Ben Ford wrote: > On the Puppet server, you will need either both of these parameters > set (when using Satellite for classification), or both of them unset (when > not using Satellite for classifica

[Puppet Users] Re: Puppet can't fetch catalog

2022-09-20 Thread Ben Ford
On the Puppet server, you will need either both of these parameters set (when using Satellite for classification), or both of them unset (when not using Satellite for classification). *external_nodes = /etc/puppetlabs/code/node.rbnode_terminus = exec* On Thursday, September 15, 2022 at 9:15

[Puppet Users] Re: sensitive password for the active directory module

2022-07-19 Thread hannou edv
hello thank you for your answer im reading this and im making all in the order https://geekdudes.wordpress.com/2018/11/01/installing-domain-controller-using-puppet/ like here but that make Always the same problem sensitive value / after im make another module for ancrypting and delete t

[Puppet Users] Re: sensitive password for the active directory module

2022-07-18 Thread Ben Ford
This page will help you learn how to create a Sensitive string for that parameter. https://puppet.com/docs/puppet/latest/lang_data_sensitive.html On Monday, July 18, 2022 at 11:28:45 AM UTC-7 hanno...@gmail.com wrote: > hello puppet users > > i start installation of puppet with foreman and i

Re: [Puppet Users] Re: puppet-agent 6 & 7 nightly builds for Ubuntu 22.04 (AMD64)

2022-07-11 Thread Alex Rodriguez
We plan on releasing Open Source Puppet 7.18.0 (and Agent 7.18.0) with support of Ubuntu 22.04 by the end of July. Regards On Mon, Jul 11, 2022 at 10:22 AM Oleksandr Lytvyn wrote: > Please advice: when approx. puppet-agent 7.18.0 will be released (with > support of Ubuntu 22.04 LTS)? > > On Fri

[Puppet Users] Re: puppet-agent 6 & 7 nightly builds for Ubuntu 22.04 (AMD64)

2022-07-11 Thread Oleksandr Lytvyn
Please advice: when approx. puppet-agent 7.18.0 will be released (with support of Ubuntu 22.04 LTS)? On Friday, June 24, 2022 at 2:48:00 AM UTC+3 Aria Li wrote: > Hello, > > We are happy to announce that puppet-agent nightly builds for Ubuntu 22.04 > (AMD64) are now available at http://nightlie

Re: [Puppet Users] Re: agent not launching on windows client

2022-05-27 Thread pko...@moleculevfx.com
Once again I appreciate your help @Andrew. Since I'm running profiles/roles I did you what recommended and I also added service { 'puppet' : ensure => 'running', enable => true, } to my role in addition to my profile ...which seemed to really work and makes me think the profile code wasn't wor

Re: [Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread Andrew Jones
I'd be tempted to put a https://puppet.com/docs/puppet/5.5/types/notify.html into your code temporarily to ensure that it's being enforced. Try running `puppet resource service puppet ensure=running` in powershell and see if you can switch it on manually from there. Could there be some other agent

[Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread pko...@moleculevfx.com
Thank you! And instead I see: C:\Windows\system32>puppet resource service puppet service { 'puppet': ensure => 'stopped', enable => 'true', logonaccount => 'LocalSystem', provider => 'windows', } somy currrent code already has this: 'windows': { service { 'puppet' :

[Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread Andrew Jones
Open a power shell window and run `puppet resource service puppet` you should see something like this; PS C:\Users\Administrator> puppet resource service puppet service { 'puppet': ensure => 'running', enable => 'true', logonaccount => 'LocalSystem', provider => 'windows',

[Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread pko...@moleculevfx.com
My current puppet.conf: [main] certname=windowscw.example.com server=puppet autoflush=true manage_internal_file_permissions=false environment=development runinterval=1800 On Monday, May 23, 2022 at 1:17:57 PM UTC-4 pko...@moleculevfx.com wrote: > I've been struggling to get puppet agent 7.12 to

Re: [Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ?

2022-03-21 Thread 'White, Daniel E. (GSFC-770.0)[NICS]' via Puppet Users
ailing List Subject: Re: [EXTERNAL] [Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ? Shadow is part of the ruby installation inside the puppet agent. You can verify functionality: /opt/puppetlabs/puppet/bin/irb irb(main):001:0> require 'shadow' => true irb(main):002:0>

Re: [EXTERNAL] [Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ?

2022-03-21 Thread Martin Alfke
sers Mailing List <mailto:puppet-users@googlegroups.com>> > Date: Friday, March 18, 2022 at 18:20 > To: Puppet-Users Mailing List <mailto:puppet-users@googlegroups.com>> > Subject: [EXTERNAL] [Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ? > > > I would

Re: [EXTERNAL] [Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ?

2022-03-21 Thread 'White, Daniel E. (GSFC-770.0)[NICS]' via Puppet Users
Ny use case is https://puppet.com/docs/puppet/7/types/user.html#user-provider-useradd From: Puppet-Users Mailing List on behalf of Corey Osman Reply-To: Puppet-Users Mailing List Date: Friday, March 18, 2022 at 18:20 To: Puppet-Users Mailing List Subject: [EXTERNAL] [Puppet Users] Re: Ruby

[Puppet Users] Re: Hiera recursive lookup problem

2022-03-19 Thread Kenyon Ralph
Just like the error says, you're trying to do a recursive lookup and you can't do that. You're trying to do a lookup in a key named "my" which contains a lookup for a key named "my". On Friday, March 18, 2022 at 9:05:13 AM UTC-7 michele...@gmail.com wrote: > Hi, I've got a problem with Hiera in

[Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ?

2022-03-18 Thread Corey Osman
I would like to know your use case of this gem since parsing /etc/shadow or /etc/passwd can be done with other tooling like augeas. Also, are you parsing the puppetserver's files or the agent? Additionally, any ruby code used to parse files would be installed on the agent and never the pupp

[Puppet Users] Re: Problems with Forge Module puppet-firewall on RHEL 8.5

2022-03-15 Thread A Manzer
I posted on the GitHub issue, but I'll TL;DR it here for future searchers: I recommended setting the `module` parameter to `netbios-ns` which is in line with how RedHat recommended fixing the underlying firewall issue. It's probably just a case of differences between RHEL 7 and RHEL 8, and the

[Puppet Users] Re: Puppet Enterprise 2021.5 is now available!

2022-02-22 Thread Kenyon Ralph
Ubuntu 22.04 will be released by then, maybe go straight to that instead? On Friday, February 18, 2022 at 11:01:08 AM UTC-8 al...@puppet.com wrote: > We are planning for Ubuntu 20.04 PE primary server support on our next > Puppet Enterprise release planned for May. > > Cheers! > Alex Rodriguez >

[Puppet Users] Re: Puppet Enterprise 2021.5 is now available!

2022-02-18 Thread Alex Rodriguez
We are planning for Ubuntu 20.04 PE primary server support on our next Puppet Enterprise release planned for May. Cheers! Alex Rodriguez Technical Program Manager, R&D On Thursday, February 17, 2022 at 7:38:43 PM UTC-8 ama...@gmail.com wrote: > Thanks for the new platform support. > > Any idea

[Puppet Users] Re: Puppet Enterprise 2021.5 is now available!

2022-02-17 Thread A Manzer
Thanks for the new platform support. Any idea on when we'll see Ubuntu 20.04 as a supported platform for the main PE server? On Tuesday, February 15, 2022 at 6:58:50 PM UTC-5 Puppet Product Updates wrote: > The latest release for the Puppet Enterprise release track, PE 2021.5, is > now availa

[Puppet Users] Re: Is this a Facter 4 bug? (using custom facts in other custom facts.)

2022-01-25 Thread KevinR
Hi Mark, you can find that documentation & guidance here: https://puppet.com/docs/puppet/7/fact_overview.html Kind regards, Kevin On Tuesday, January 25, 2022 at 8:28:07 AM UTC+1 mark...@gmail.com wrote: > Hi Keven, thank fou or clearing that up. > > On Friday, January 21, 2022 at 12:48:14 PM

[Puppet Users] Re: Is this a Facter 4 bug? (using custom facts in other custom facts.)

2022-01-24 Thread Mark de Vries
Hi Keven, thank fou or clearing that up. On Friday, January 21, 2022 at 12:48:14 PM UTC+1 KevinR wrote: > The cause for your issues is that there's code before the setcode do line, > which will cause issues under Facter 4. > Having code before setcode do was a bad coding practice but didn't brea

[Puppet Users] Re: Is this a Facter 4 bug? (using custom facts in other custom facts.)

2022-01-21 Thread KevinR
The cause for your issues is that there's code before the setcode do line, which will cause issues under Facter 4. Having code before setcode do was a bad coding practice but didn't break things in Facter 3. In Facter 4, it does break things. If you move the hostname=Facter.value(:networking)['h

[Puppet Users] Re: puppetboard configuration

2022-01-14 Thread Pravin Rane
There is puppet module for it Try: https://github.com/voxpupuli/puppetboard On Wednesday, January 12, 2022 at 11:45:14 PM UTC+5:30 priyat...@gmail.com wrote: > Hi All, > > Can anyone please help me to set up puppetboard in details steps. > I am able to see only apache webpage . > Its very urgent

[Puppet Users] Re: Failed to execute '/pdb/query/v4/nodes/pkolbe.example.com/facts' on at least 1 of the following 'server_urls

2022-01-13 Thread pko...@moleculevfx.com
I ended up disabling puppetdb. I can work without it. On Thursday, January 13, 2022 at 10:49:24 AM UTC-5 pko...@moleculevfx.com wrote: > I"m tracking it down to puppetdb failing to start (and continue to run): > # journalctl -f -u puppetdb > puppetdb.service: Control process exited, code=exited

[Puppet Users] Re: Failed to execute '/pdb/query/v4/nodes/pkolbe.example.com/facts' on at least 1 of the following 'server_urls

2022-01-13 Thread pko...@moleculevfx.com
I"m tracking it down to puppetdb failing to start (and continue to run): # journalctl -f -u puppetdb puppetdb.service: Control process exited, code=exited status=1 On Wednesday, January 12, 2022 at 1:19:39 PM UTC-5 pko...@moleculevfx.com wrote: > I've been working on a few things (puppet server u

[Puppet Users] Re: training.foreman.com httpd[18624]: SSLCertificateFile: file '/etc/puppetlabs/puppet/ssl/certs/training.foreman.com.pem' does not exist or is empty

2021-11-12 Thread Ben Ford
Hey there! You'll probably get better help with a Foreman problem on their forums. https://community.theforeman.org Good luck! On Friday, November 12, 2021 at 10:27:40 AM UTC-8 irtizahs...@gmail.com wrote: > Hi Team, > > I tried to run the foreman installer but it throwed lot of errors related

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-11-11 Thread Tim Meusel
Hi, There were many good ideas on the thread about possible improvements on the score for modules. Some of them are easy to implement/automate, some are a bit tricky. I would like to come back to your initial posting Ben. The goal of voxpupuli-puppet-lint-plugins was to reflect the current sta

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-11-05 Thread Trevor Vaughan
You may want to check CII Best Practices https://bestpractices.coreinfrastructure.org/en/projects/73 On Thu, Nov 4, 2021 at 12:56 PM Ben Ford wrote: > On Thu, Nov 4, 2021 at 8:11 AM Gene Liverman > wrote: > >> After reading through all the replies, there are bits and pieces from >> many people

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-11-04 Thread Ben Ford
I like the idea of an expand button. We'll probably use something like that. On the other hand, the primary use case of the Forge quality scores is that of a user trying to evaluate and choose modules, so we're highly focused on that. We probably won't confuse it too much with specific details for

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-11-04 Thread Ben Ford
On Thu, Nov 4, 2021 at 8:11 AM Gene Liverman wrote: > After reading through all the replies, there are bits and pieces from many > people that seem to cover most of my opinions. I am going to try and > collect those here: > > What about this idea? Instead of trying to "measure quality" as a metri

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-11-02 Thread Ben Ford
I want to make sure we don't get too far into the weeds. What we can do for the Forge quality score today is define the metrics correlating to code quality that we can evaluate programmatically. A high quality README is excellent, but not easy for a computer to parse. The best we have is a script t

[Puppet Users] RE: [voxpupuli] Do you have opinions on what module quality means?

2021-10-29 Thread 'Bollinger, John C' via Puppet Users
My personal number one measure of module quality is documentation, hands down. Nothing else comes close. That means a README that provides a good overview of the module’s structure, scope, requirements, and capabilities, and a *thorough* REFERENCE(.md) document. As a module quality considerat

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-10-29 Thread David Hollinger
Posting manually since Google Groups doesn't seem to like my ProtonMail E-Mail: I think we are looking at a couple different discussions here: - Module Quality - Code Quality I think the former is always going to be difficult to track in any meaningful way, largely because expectation

[Puppet Users] Re: [voxpupuli] Do you have opinions on what module quality means?

2021-10-29 Thread Trevor Vaughan
I've certainly got a few opinions. I think that the following are mandatory: - rspec-puppet tests (that pass) - beaker, litmus, or test-kitchen tests (that pass) - Critical path test coverage that matches your supported operating systems (as much as is reasonable) - Documented para

[Puppet Users] Re: [Please help] - How to renew/fix certificate at puppetmaster level?

2021-10-19 Thread treydock
I believe you only have to restart the puppetmaster if you modified the private keys used directly by master or the certs or CA used by master. Modifying client certs should not require restarting the master service. On Monday, October 18, 2021 at 5:21:38 PM UTC-4 puppet-bsd wrote: > Following

[Puppet Users] Re: [Please help] - How to renew/fix certificate at puppetmaster level?

2021-10-18 Thread puppet-bsd
Following the instruction to create the certificate from scratch and reissuing one of its agents (specially the smart proxy) it generates certificate revoke. In order to remote the revoked certificate, I had to restart the puppet agent service and to sign it in master. Just to test the agent (

[Puppet Users] Re: [Please help] - How to renew/fix certificate at puppetmaster level?

2021-10-16 Thread treydock
If the key and the certificate don't match, you may have to regenerate your puppetserver's CA and start from scratch essentially. I'm not aware of a way to fix a mismatch without totally starting over from scratch. If you want to start from scratch, you usually just delete /etc/puppetlabs/pupp

[Puppet Users] Re: [Please help] - How to renew/fix certificate at puppetmaster level?

2021-10-15 Thread puppet-bsd
Performed the Verify steps. Seems the values are not equal. Is there any steps in order to make the values equal? On Friday, October 15, 2021 at 9:34:11 AM UTC-4 treydock wrote: > My advise might not be the best but it's what worked for me when our > master CA certificate expired. These are m

[Puppet Users] Re: [Please help] - How to renew/fix certificate at puppetmaster level?

2021-10-15 Thread puppet-bsd
Hi, Obviously does it need file backup and the puppetmaster to be restated after the action. Correct? On Friday, October 15, 2021 at 9:34:11 AM UTC-4 treydock wrote: > My advise might not be the best but it's what worked for me when our > master CA certificate expired. These are my raw notes

[Puppet Users] Re: [Please help] - How to renew/fix certificate at puppetmaster level?

2021-10-15 Thread treydock
My advise might not be the best but it's what worked for me when our master CA certificate expired. These are my raw notes from when I had to renew our puppetserver certificate. The original certificate was likely Puppet 4 and expired when running Puppet 6. I googled around and took some steps

[Puppet Users] Re: Puppet Master as agent to itself continues to generate SSL errors

2021-09-12 Thread Nathan Abbott
Hi Puppet users group, First time poster here. This issue matches what I'm facing exactly, although in my circumstance we are not intentionally trying to do the " the master is also an agent pointing to itself " thing. We are in this situation because someone ran 'puppet ssl clean' and 'puppe

[Puppet Users] Re: Can we have PuppetDB docker images with 6.x latest?

2021-07-19 Thread Rodrigo Moutinho
Hi, Thanks for the feedback Ben! I will need to search how to deal with this considering that are a lot of modules do not support version 7 yet (at least from a documentation perspective). But to be honest I was expecting a minimal way to use the 6.x version. Would be an alternative building a

[Puppet Users] Re: Can we have PuppetDB docker images with 6.x latest?

2021-07-19 Thread Ben Ford
Hi! We've actually decided to ship only the most current builds (7.x right now) across the board to reduce the number of pulls used across the company. On Thursday, July 15, 2021 at 5:23:36 AM UTC-7 rcm...@gmail.com wrote: > Just noticed the same behavior with Puppet Server docker images that t

[Puppet Users] Re: Can we have PuppetDB docker images with 6.x latest?

2021-07-15 Thread Rodrigo Moutinho
Just noticed the same behavior with Puppet Server docker images that the latest is now only for version 7. Maybe we could improve to the same strategy to push 6.x tags as well. https://github.com/puppetlabs/puppetserver/blob/6.x/.github/workflows/docker.yml The latest from version 6 on the docke

  1   2   3   4   5   6   7   8   9   10   >