miccheng / vagrant-lamp-centos63

Vagrant setup for CentOS 6.3 LAMP stack (Linux, Apache, MySQL and PHP).
38 stars 23 forks source link

httpd install error #7

Open mediahack opened 10 years ago

mediahack commented 10 years ago

Running Puppet with init.pp... Error: Duplicate declaration: File[/etc/httpd/vhosts] is already declared in file /tmp/vagrant-puppet/manifests/init.pp at line 77; cannot redeclare on node phpdev.local Error: Duplicate declaration: File[/etc/httpd/vhosts] is already declared in file /tmp/vagrant-puppet/manifests/init.pp at line 77; cannot redeclare on node phpdev.local The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

puppet apply --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' --manifestdir /tmp/vagrant-puppet/manifests --detailed-exitcodes /tmp/vagrant-puppet/manifests/init.pp || [ $? -eq 2 ]

Stdout from the command:

Stderr from the command:

Error: Duplicate declaration: File[/etc/httpd/vhosts] is already declared in file /tmp/vagrant-puppet/manifests/init.pp at line 77; cannot redeclare on node phpdev.local Error: Duplicate declaration: File[/etc/httpd/vhosts] is already declared in file /tmp/vagrant-puppet/manifests/init.pp at line 77; cannot redeclare on node phpdev.local

miccheng commented 10 years ago

Please try using the CentOS 6.4 version? https://github.com/sgphpug/vagrant-lamp-centos64