On Jul 5, 2011, at 1:31 AM, Vorik wrote: > Hi, > > I'm a puppet-n00b and am struggling a bit to get Apache-modules > working. > > I've tried several, but most seem to be quite Debian-oriented and lack > documentation. > > What is a good module to manage Apache on RHEL6 that is known to work? > I want to be able to create vhosts, nothing that fancy. > > Currently, I'm trying camptocamp-apache. Unfortunately, the readme > file only states how to do some authentication stuff. > > Configuration (found at the camptocamp-tomcat plugin) > ---------------%<--------------- > class webserver_base { > > package { "httpd": ensure => installed } > service { "httpd": ensure => running } > > apache::vhost {"www.dus123camptocamp.nl": > ensure => present, > } > > } > ---------------%<--------------- > > It fails with this error: > ---------------%<--------------- > err: Could not run Puppet configuration client: Could not find > dependency File[/usr/local/sbin/a2ensite] for Exec[enable vhost > www.dus123camptocamp.nl] at /etc/puppet/modules/apache/manifests/ > definitions/vhost.pp:251 > ---------------%<--------------- ----- What are the contents of?
modules/apache/manifests? modules/apache/manifests/definitions? (I'm almost afraid to ask because it appears that vhosts.pp has a ton of lines) Craig -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.