LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-10-2021, 11:44 PM   #1
tikit
Member
 
Registered: Feb 2008
Posts: 85

Rep: Reputation: 16
Apache configuration via puppet failed


Hi all,

I have just started learning puppet and would like to configure a simple vhost in Apache.

The configuration looks as follows:
Code:
node "puppetagent" {

  class { 'apache': 
    default_vhost => false,
  } 

  apache::vhost { 'first.example.com':
    port          => '80',
    docroot       => '/var/www/first.example.com/',
  }
}
When running puppet on the client this error message appears:

Code:
Error: Failed to apply catalog: Parameter order failed on Concat_fragment[Apache ports header]: Validate method failed for class order: undefined method `match?' for /[:\n\/]/:Regexp
Did you mean?  match at /etc/puppetlabs/code/environments/production/modules/concat/manifests/fragment.pp:50
I am using puppet 7.1.2 on Debian 10 and the latest Apache module

Could you please give me a hint what I am doing wrong here?

Thanks and regards,

Tikit
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Efficient way to disable a user to sudo via puppet sparkling Linux - General 4 10-08-2019 03:51 PM
SELinux to allow puppet-server at https://puppet-server:8140 sndlt Linux - Security 8 05-04-2015 01:12 PM
puppet --version bash: puppet: command not found don boyage Linux - Server 1 12-04-2014 10:44 AM
Parameter to execute shell script on puppet client through Puppet server niraj.kumar Linux - Server 3 02-08-2011 09:01 PM
LXer: Configuration Automation & Centralized Management With Puppet on Ubuntu LXer Syndicated Linux News 0 03-04-2007 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration