tuxmea
10/16/2025, 6:37 AMMoe
10/16/2025, 6:47 AMsmortex
10/16/2025, 6:58 AMnotify: Service['httpd'] means that notify is the string "Service['httpd']", not what you want. You can probably model something with https://www.puppet.com/docs/puppet/7/lang_data_resource_type#lang_data_resource_type_resource_typekenyon
10/16/2025, 7:02 AMService[httpd]. that’s how it would look in the catalog, which you can see with sudo jq --color-output . $(sudo puppet config print client_datadir)/catalog/$(sudo puppet config print certname).json | lessMoe
10/16/2025, 7:10 AM[...].pem]/content: content changed '{sha256}c4a4ffd8c2ce9f342476f535be012fa7c68dadeecf75212d3189d8e4fdc73b27' to '{sha256}90fd93d27062ff313fff57258322e7f7cc906465cb1f76d96118227e9596d24f' (corrective)
[...]
Scheduling refresh of Service[httpd]Moe
10/16/2025, 7:13 AMfile { "${cms_install_params[catalina_base]}/conf/${facts[networking][hostname]}.keystore": which is something I just foundkenyon
10/16/2025, 7:15 AMMoe
10/16/2025, 7:17 AM"Service['httpd']" but that didn't work either which confused me. But it was 11 PM when I tried that so… 😅kenyon
10/16/2025, 7:18 AMService['httpd'] is correct.
also this is one reason why I would try to avoid doing resource creation in hiera for the most part.Moe
10/16/2025, 7:26 AMnotify: "Service['httpd']"
this throws the error Could not find resource 'Service['httpd']' in parameter 'notify'. Which probably can also be explained. But removing the single quotes solves it so I'm somewhat glad now 😄Brian Schonecker
10/16/2025, 2:58 PMbastelfreak
10/16/2025, 2:59 PMbundle exec rake spec should workBrian Schonecker
10/16/2025, 2:59 PMbastelfreak
10/16/2025, 2:59 PMbundle exec rspec spec/foo/bla_spec.rbbastelfreak
10/16/2025, 3:00 PMbastelfreak
10/16/2025, 3:00 PMBrian Schonecker
10/16/2025, 3:01 PMBrian Schonecker
10/16/2025, 3:02 PMbastelfreak
10/16/2025, 3:02 PMBrian Schonecker
10/16/2025, 3:25 PMBrian Schonecker
10/16/2025, 3:35 PMgary
10/17/2025, 7:49 AMhas_ip_address()/has_ip_network() issue and would just like to use a released version vs gittuxmea
10/17/2025, 10:20 AMbastelfreak
10/17/2025, 12:36 PMjosh
10/17/2025, 4:33 PMsmortex
10/18/2025, 7:07 AMtuxmea
10/18/2025, 7:42 AMredat
10/20/2025, 2:32 PMif defined(Class['my_super_class']) {
class { 'my_other_super_class': }
}
Might result in an issue if the ordering in Puppet is not at our advantage, how would do the same thing ? I want to include a class, only if another class is already present.bastelfreak
10/20/2025, 2:41 PMbastelfreak
10/20/2025, 2:42 PM