Comments (6)
If I remove this line:
include ::nginx
I get a seemingly never ending cycle of different errors, like this:
First run:
Error: Failed to apply catalog: Could not find dependent Class[Nginx::Service] for File[/etc/nginx/conf.d/local_app-upstream.conf] at /var/lib/puppetdata/staging/modules/nginx/manifests/resource/upstream.pp:57
Second run (no change):
Error: Failed to apply catalog: Could not find dependent Class[Nginx::Service] for File[/var/lib/puppet/concat/sites-available{hostname}.conf/fragments.concat.out] at /var/lib/puppetdata/staging/modules/concat/manifests/init.pp:218
Third run (no change):
Error: Failed to apply catalog: Could not find dependent Class[Nginx::Service] for File[/sites-available/{hostname}.conf] at /var/lib/puppetdata/staging/modules/concat/manifests/init.pp:228
Fourth Run (no change):
Error: Failed to apply catalog: Could not find dependency Class[Nginx] for Nginx::Resource::Upstream[local_app] at /var/lib/puppetdata/staging/modules/localproxy/manifests/init.pp:16
from puppet-nginx.
Hi, I believe I solved this problem by replacing this line:
include ::nginx
With these lines:
include ::nginx::config
include ::nginx::service
include ::nginx::package
I'm not sure if that is considered a bug or expected behavior, but it seems to work. I hope this note is useful for others too.
from puppet-nginx.
I am having the same problem (unrolled below for easier reading)...
err: Could not apply complete catalog: Found 1 dependency cycle:
( Anchor[nginx::end]
=> Class[Nginx]
=> Nginx::Resource::Vhost[vhost-searchhub]
=> File[vhost-searchhub.conf symlink]
=> Service[nginx]
=> Class[Nginx::Service]
=> Anchor[nginx::end] )
Seems like nothing I do breaks this dependency cycle. Even unrolling the include nginx
into it's constituent parts (as @jbcpollak above mentioned) will work. Not sure what to do here...
from puppet-nginx.
I am hitting the same issue since recently, after experimenting a bit with different versions it seems 0.2.2 works fine for me but 0.2.3 triggers this.
from puppet-nginx.
@shadone @bluecurio I've opened #609 to track your issue, which isn't the same as the one originally reported.
@jbcpollak are you still having problems here? I saw you have a workaround and the work to fix #609 is likely to improve the situation as well so if I don't hear back in a few days I'll close this.
from puppet-nginx.
I'm closing this for now. @jbcpollak please comment if you have any information to add and I'll reopen. Thanks!
from puppet-nginx.
Related Issues (20)
- Default package_ensure value is not compatible with current stdlib default for ensure_packages() HOT 3
- stream logging is broken by default HOT 2
- Unable to set valid Unix socket as upstream server
- REFERENCE's internal links are broken HOT 3
- access log inside rewrite_www_to_non_www and rewrite_non_www_to_www HOT 3
- custom stream_log not properly defined HOT 1
- Allow puppetlabs-concat 8 HOT 2
- Good SSL configuration by default HOT 3
- Allow multiple parameters for gzip_proxied
- limit_zone should take Array in addition to String and Undef HOT 1
- proxy_cache_path should allow different values for its settings when an hash is used.
- Documentation of "proxy_set_header Proxy" field
- Remove deprecated `ssl` directive HOT 5
- [DOC] add examples for `limit_conn` and `limit_req`
- Support ssl_reject_handshake and ssl_early_data
- FeatureRequest: AmazonLinux support
- [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in [from nginx 1.25.1 onwards] HOT 8
- add `host_core` fixture for acceptance tests
- `nginx::string_mappings` in last tag v6.0.0 HOT 2
- Bug with v6.0.0 and nginx 1.18.x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-nginx.