Hi, I try to install apache on ubuntu virtual machine with puppet provision.

I have install  puppetlabs/apache on host computer, and my manifest puppet 
is:

include apache

Exec {
    path => ["usr/bin", "/usr/local/bin"],
}

exec { "update":
    command => "apt-get update",
}

class { "apache::mod::php":
    require => Exec["update"],    
}

apache::vhost { "personal-site":
    port => 80,
    docroot => "/vagrant",
}

file { "/vagrant/index.php":
 content => "<?php \$title='From the php'; ?> <h1> <?php echo \$title; 
</h1>", 

}

But, when I run, vagrant up, the terminal show this error: 
apache::mod::php requires apache::mod::prefork or apache::mod::itk; please 
enable mpm_module => 'prefork' or mpm_module => 'itk' on Class['apache'] at 
/tmp/vagrant-puppet-3/modules-0/apache/manifests/mod/php.pp:17 on node 
vagrant-ubuntu-precise-64

I don't know to do.

PD: Version apache puppet installed is: 
puppetlabs-apache (v1.2.0)
puppetlabs-concat (v1.1.2)
puppetlabs-stdlib (v4.4.0)

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to