프로젝트에서 처음으로 방글리탁프와 퍼핏을 사용하고 있는데 계속 문제가 있습니다.퍼핏과 방글라데시로 아파치 설정하기
내가 출발점으로 PuPHPet을 사용했습니다, 나는 내 default.pp 매니페스트에 다음 코드가 :
warning: Could not retrieve fact fqdn
Invalid parameter directories at /tmp/vagrant-puppet/manifests/default.pp:46 on node precise32
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-puppet/manifests && puppet apply --verbose --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' default.pp --detailed-exitcodes || [ $? -eq 2 ]
: 나는 그것을 실행하면
class { 'apache': }
apache::dotconf { 'custom':
content => 'EnableSendfile Off',
}
apache::module { 'rewrite': }
apache::vhost { 'awesome.dev':
server_name => 'awesome.dev',
serveraliases => [
],
docroot => '/var/www',
port => '80',
directories => [ { path => '/var/www/', allow => 'from all', allow_override => ['All'] } ],
env_variables => [],
priority => '1',
}
, 나는 항상 다음과 같은 오류를
라인 46은 apache :: vhost 규칙의 끝입니다. 내가 htaccess를 사용하여 오버라이드를 허용하도록 설정하고 싶지만 어디서 잘못되었는지는 알 수 없습니다. 누구든지 문제가 무엇인지 볼 수 있습니까?
몇 달 전에 puppetlabs-apache 모듈로 PuPHPet을 전환 했으므로이 대답은 더 이상 정확하지 않습니다. –
example42 모듈을 사용하는 모든 사용자에게 여전히 적합하며 매우 유용합니다. –