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

File[/etc/dnsmasq.conf] not in catalog #66

Open
critch opened this issue Aug 29, 2017 · 1 comment
Open

File[/etc/dnsmasq.conf] not in catalog #66

critch opened this issue Aug 29, 2017 · 1 comment

Comments

@critch
Copy link

critch commented Aug 29, 2017

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: Exec[save_config_file] { before => File[/etc/dnsmasq.conf] }, because File[/etc/dnsmasq.conf] doesn't seem to be in the catalog

This was on a fresh install. dnsmasq had not been installed. Short term solution was to comment out the before line.

Could it be related to what I saw in the output once I commented the before line out.
Notice: /Stage[main]/Dnsmasq/Concat[/etc/dnsmasq.conf]/File[/etc/dnsmasq.conf]/content

I'm not really well enough versed in how this works to fix this. But I hope this is enough information.

@maxadamo
Copy link

It is indeed a bug. @critch there is an easier way to workaround the problem for the time being.
Add this to your manifest:

file { '/etc/dnsmasq.conf': ensure => present; }

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

No branches or pull requests

2 participants