Yorokobi
10/15/2025, 4:20 PMjms1
10/15/2025, 4:22 PMtuxmea
10/15/2025, 5:28 PMRyChannel
10/15/2025, 8:51 PMjms1
10/15/2025, 9:01 PMpdk and puppet-agent packages, downloaded PDK from the secret perforce server, and used gem install eyaml to install eyaml and its dependencies ... now whenever i try to use it, i get this:
$ echo testing | eyaml encrypt --stdin -o block -l xyz
/Users/jms1/.gems/gems/psych-5.2.6/lib/psych.rb:716:in 'File#initialize': Is a directory @ io_fillbuf - fd:7 xyz (Errno::EISDIR)
from /Users/jms1/.gems/gems/psych-5.2.6/lib/psych.rb:716:in 'IO.open'
from /Users/jms1/.gems/gems/psych-5.2.6/lib/psych.rb:716:in 'Psych.load_file'
from /Users/jms1/.gems/gems/eyaml-0.4.4/lib/eyaml.rb:37:in 'EYAML.encrypt_file_in_place'
from /Users/jms1/.gems/gems/eyaml-0.4.4/lib/eyaml/cli.rb:11:in 'block in EYAML::CLI#encrypt'
from /Users/jms1/.gems/gems/eyaml-0.4.4/lib/eyaml/cli.rb:7:in 'Array#each'
from /Users/jms1/.gems/gems/eyaml-0.4.4/lib/eyaml/cli.rb:7:in 'EYAML::CLI#encrypt'
from /Users/jms1/.gems/gems/thor-1.4.0/lib/thor/command.rb:28:in 'Thor::Command#run'
from /Users/jms1/.gems/gems/thor-1.4.0/lib/thor/invocation.rb:127:in 'Thor::Invocation#invoke_command'
from /Users/jms1/.gems/gems/thor-1.4.0/lib/thor.rb:538:in 'Thor.dispatch'
from /Users/jms1/.gems/gems/thor-1.4.0/lib/thor/base.rb:584:in 'Thor::Base::ClassMethods#start'
from /Users/jms1/.gems/gems/eyaml-0.4.4/bin/eyaml:7:in '<top (required)>'
from /usr/local/Cellar/ruby/3.4.7/lib/ruby/3.4.0/rubygems.rb:319:in 'Kernel#load'
from /usr/local/Cellar/ruby/3.4.7/lib/ruby/3.4.0/rubygems.rb:319:in 'Gem.activate_and_load_bin_path'
from /Users/jms1/.gems/bin/eyaml:25:in '<main>'bastelfreak
10/21/2025, 11:28 AMjms1
10/21/2025, 5:13 PMsuite-license.lic file, without installing it on a PE server and checking the web interface? (specifically, to see the start/end dates) ... it looks like an SSL certificate, i'm hoping there's a command like openssl x509 that can read it (asking here first before i start poking at the file with a sharp stick)jms1
10/22/2025, 5:56 PMpuppet config print setting that changes, or something added or changed in /etc/puppetlabs/puppet/puppet.conf, or maybe a file or directory which is created when code manager is enabled and deleted when it's disabled?jesse
10/28/2025, 4:31 AMenterprise_tasks::set_puppet_config_setting) I can't see anything about it in the release notes / known issueskenyon
10/28/2025, 4:35 AMjesse
10/28/2025, 4:40 AMCVQuesty
10/28/2025, 12:41 PMcsharpsteen
10/28/2025, 2:18 PMenterprise_tasks was intentional. That module was always intended to be internal-use only and should have been named something like pe_internal_tasks. I think a sub-set of "safe" tasks has been left publicly exposed.
There are some items in there that are outright dangerous if not run exactly as expected by puppet-enterprise-installer or one of the puppet infra sub-commands. For example, if you go by title alone, enterprise_tasks::pg_basebackup sounds like it would back up the Postgres database in some way.
It does not. It nukes the database data directory and then runs the pg_basebackup CLI to pull a copy from some other Postgres instance. Does exactly what puppet infra provision replica needs it to do, and disastrous if naively run against the Primary.CVQuesty
10/28/2025, 4:06 PMRyChannel
10/28/2025, 10:39 PMbastelfreak
10/28/2025, 10:46 PMbastelfreak
10/28/2025, 10:47 PMenterprise_tasks::pg_basebackup isn't the best name? šcsharpsteen
10/28/2025, 11:17 PMmaybeWell, yes and no. On the one hand, definitely not a good name from a "people make assumptions based on name" standpoint. On the other hand, the main thing that task does is run a Postgres CLI tool that is literally namedisn't the best nameenterprise_tasks::pg_basebackup
pg_basebackup. So, the task name 100% makes sense from that standpoint.RyChannel
10/29/2025, 1:37 PMJason St-Cyr
10/29/2025, 2:00 PMRyChannel
10/29/2025, 2:01 PMRyChannel
10/29/2025, 2:01 PMJason St-Cyr
10/29/2025, 2:35 PMJason St-Cyr
10/29/2025, 2:36 PMRyChannel
10/29/2025, 2:50 PMRyChannel
10/29/2025, 2:50 PMsteveax
10/29/2025, 3:05 PMsteveax
10/29/2025, 3:05 PMNico Kruger
10/29/2025, 3:09 PMMichael Phillips
10/29/2025, 11:13 PMCould not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /opt/puppetlabs/server/data/puppetserver/filesync/client/versioned-dirs/puppet-code/env_xxx/modules/apt/manifests/setting.pp, line: 60, column: 12) (file: /etc/puppetlabs/puppetserver/code/environments/env_xxx/modules/apt/manifests/pin.pp, line: 130) on node xxx