Have I lost my mind, or does puppetlabs-apache 12....
# forge-modules
p
Have I lost my mind, or does puppetlabs-apache 12.1.0 not work with a simple
include apache
for Almalinux 9?
Copy code
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Apache::Mod[log_config] is already declared at (file: /etc/puppetlabs/code/environments/test_riehecky/modules/apache/manifests/default_mods.pp, line: 15); cannot redeclare (file: /etc/puppetlabs/code/environments/test_riehecky/modules/apache/manifests/default_mods/load.pp, line: 9) (file: /etc/puppetlabs/code/environments/test_riehecky/modules/apache/manifests/default_mods/load.pp, line: 9, column: 5) (file: /etc/puppetlabs/code/environments/test_riehecky/modules/apache/manifests/default_mods.pp, line: 143) on node testify.fnal.gov
r
I am not sure what is facts value, so can you please share output here of below command :
Copy code
facter os name
I tried same on AlmaLinux and worked fine, not sure if you have declared more then once somewhere else ?
BTW the same covered up by nightly run as well
p
Copy code
[root@testify ~]# facter os name
name => 
os => {
  architecture => "x86_64",
  distro => {
    codename => "Seafoam Ocelot",
    description => "AlmaLinux release 9.4 (Seafoam Ocelot)",
    id => "AlmaLinux",
    release => {
      full => "9.4",
      major => "9",
      minor => "4"
    }
  },
  family => "RedHat",
  hardware => "x86_64",
  name => "AlmaLinux",
  release => {
    full => "9.4",
    major => "9",
    minor => "4"
  },
  selinux => {
    config_mode => "enforcing",
    config_policy => "targeted",
    current_mode => "enforcing",
    enabled => true,
    enforced => true,
    policy_version => "33"
  }
}
I'm newly adding the module to my environmnnt and have just the one
include apache
r
hmm this seems
AlmaLinux 9
which is not yet fully supported
p
I'd expect that the RHEL9 support would cover Alma