Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Relationship File #299

Closed
blendimc opened this issue Apr 16, 2014 · 2 comments
Closed

Invalid Relationship File #299

blendimc opened this issue Apr 16, 2014 · 2 comments
Labels
needs-feedback Further information is requested

Comments

@blendimc
Copy link

Server is a pretty plain vanilla Ubuntu 12.04 install just setup today.

Here is the Vhost config file I have setup (domain names have been changed to protect the innocent).

node 'alfred' {

     nginx::resource::vhost { 'puppet.com':
         ensure               => present,
         server_name          => [
                    'puppet.com',
                    'www.puppet.com'
                ],
         listen_port          => 80,
         www_root             => '/var/www/puppet',
         use_default_location => true,
         access_log           => '/var/log/nginx/puppet_access.log',
         error_log            => '/var/log/nginx/puppet_error.log',
     }

}

And I get this error when I run the nginx module.

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/var/opt/lib/pe-puppet/concat/_etc_nginx_sites-available_puppet.agileserver.com.conf/fragments/500_puppet.com-500-_] { notify => Exec[concat_/etc/nginx/sites-available/puppet.conf] }, because Exec[concat_/etc/nginx/sites-available/puppet.conf] doesn't seem to be in the catalog
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Any Thoughts?

@3flex
Copy link
Contributor

3flex commented Apr 10, 2015

@blendimc sorry this waited so long for a reply... are you still experiencing this problem?

It might have been an issue with either this module or the puppetlabs/concat module, both of which have been updated since. I don't believe the config you show here would have any problems, but please reply if you still need assistance with this. We'd need your jfryman/nginx version number and puppetlabs/concat version number. Thanks!

@3flex 3flex added the needs-feedback Further information is requested label Apr 10, 2015
@3flex
Copy link
Contributor

3flex commented May 6, 2015

I'm closing this for now. @blendimc please comment if you have any information to add and I'll reopen. Thanks!

@3flex 3flex closed this as completed May 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-feedback Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants