Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

dependency cycle when defining manually apache vhost #57

Open
clauded opened this issue Apr 10, 2015 · 0 comments
Open

dependency cycle when defining manually apache vhost #57

clauded opened this issue Apr 10, 2015 · 0 comments

Comments

@clauded
Copy link
Contributor

clauded commented Apr 10, 2015

I need to use https for my Redmine server. I'm using the following config:

class { 'apache':
default_vhost => false,
}
apache::vhost { "$vhost_servername":
port => 443,
docroot => "${webroot}/public",
servername => $vhost_servername,
serveraliases => $vhost_aliases,
ssl => true,
default_vhost => true,
options => 'Indexes FollowSymlinks ExecCGI',
custom_fragment => 'RailsBaseURI /',
}
class { 'apache::mod::passenger':
}
class { 'redmine':
www_subdir => '',
database_adapter => $db_backend,
download_url => 'https://github.com/redmine/redmine.git',
provider => 'git',
version => '2.5.3',
smtp_server => $smtp_server,
smtp_domain => $smtp_domain,
require => [
Class["${db_backend}::server"],
],
}

With this config, I get the following puppet error:

Error: Could not apply complete catalog: Found 1 dependency cycle:
(Exec[concat_/etc/apache2/ports.conf] => Concat[/etc/apache2/ports.conf] => Class[Apache] => Class[Redmine::Config] => Apache::Vhost[redmine] => Apache::Listen[80] => Concat::Fragment[Listen 80] => File[/var/lib/puppet/concat/etc_apache2_ports.conf/fragments/10_Listen 80] => Exec[concat/etc/apache2/ports.conf])
Cycle graph written to /var/lib/puppet/state/graphs/cycles.dot.

I think there should be a parameter to disable completely the definition of the vhost in config.pp.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant