Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error no parameter named 'create_empty_file' in concat #2522

Closed
d1nuc0m opened this issue Jan 31, 2024 · 1 comment
Closed

Error no parameter named 'create_empty_file' in concat #2522

d1nuc0m opened this issue Jan 31, 2024 · 1 comment

Comments

@d1nuc0m
Copy link

d1nuc0m commented Jan 31, 2024

Describe the Bug

I'm trying to run a vhost on port 8080, as port 80 is in use by another program, but there is an error related to concat

Expected Behavior

Being able to create a vhost

Steps to Reproduce

Code sample

  class { 'apache': }
  apache::vhost { "vhost.example.com":
    port          => 8080,
    docroot       => '/var/www/vhost',
    docroot_owner => 'www-data',
    docroot_group => 'www-data',
    ssl_reload_on_change => true,
    logroot => "/var/log/httpd/vhost.log",
    use_optional_includes => true,
  }

Result

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'create_empty_file' (file: /etc/puppetlabs/code/environments/production/modules/concat/manifests/init.pp, line: 126) on Concat_file[/etc/httpd/conf/ports.conf] (file: /etc/puppetlabs/code/environments/production/modules/concat/manifests/init.pp, line: 126) on node example.com

Environment

  • Version 12.0.2
  • Platform AlmaLinux 9.3

Additional Context

Complete environment

forge 'forge.puppetlabs.com'
mod 'puppet-archive', '7.1.0'
mod 'puppet-firewalld', '5.0.0'
mod 'puppet-selinux', '4.1.0'
mod 'puppetlabs-apache', '12.0.2'
mod 'puppetlabs-concat', '9.0.2'
mod 'puppetlabs-stdlib', '9.4.1'
@d1nuc0m
Copy link
Author

d1nuc0m commented Feb 8, 2024

On the Puppet server puppet generate types --environment (my_environment_name) seemed to fix it

Kudos to https://www.reddit.com/r/Puppet/comments/15ejlf7/puppetdb_configuration_with/

@ekohl ekohl closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants