On 07/05/2011 04:31 AM, Vorik wrote:
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
Make sure the package is installed before using
any of its files or ciommands.
class webserver_base {
package { "httpd":
ensure => installed,
}
service { "httpd":
ensure => running,
require => Package[ "httpd" ],
}
apache::vhost {"www.dus123camptocamp.nl":
ensure => present,
require => Package[ "httpd" ],
notify => Service[ "httpd" ],
}
}
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.