我试图在我的部署中包含puppetlabs-apache模块(v1.10.0),我只是通过运行默认configuration
puppet apply -e 'include apache'
要么
puppet apply -e 'class { 'apache': default_vhost => false, default_ssl_vhost => false, }'
我有依赖周期如下:
Error: Failed to apply catalog: Found 2 dependency cycles: (File[15-default-ssl.conf symlink] => File[15-default-ssl.conf symlink]) (File[15-default.conf symlink] => File[15-default.conf symlink]) Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
任何帮助将不胜感激
CentOS 7.1 puppetlabs-apache 1.10.0 puppetdb-4.2.0-1.el7.noarch puppet-agent-1.5.3-1.el7.x86_64
这个问题是因为Hiera的configuration有误:
apache::vhost_dir: '/etc/httpd/conf.d/vhosts' apache::vhost_enable_dir: '/etc/httpd/conf.d/vhosts'
我想我们可能会添加一个条件,以便: apache :: vhost_dir必须与apache :: vhost_enable_dir不同,以及apache :: mod_dir必须与apache :: mod_enable_dir不同