We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 { notify => Service["$puppetmaster::webserver_service"], }
WARNING: string containing only a variable on line 9
When applying the above sample - without - quotes puppet dies with the following error:
err: Could not run Puppet configuration client: Could not find dependent Service[undef] for ...
The text was updated successfully, but these errors were encountered:
Interesting, that actually sounds like a bug in your version of Puppet.
sammael :0: ~ » cat test.pp $foo = 'nginx' File { notify => Service[$foo] } file { '/foo': ensure => present, }
sammael :0: ~ » puppet apply --noop test.pp Could not find dependent Service[nginx] for File[/foo] at /Users/tsharpe/test.pp:9
sammael :1: ~ » puppet --version 2.6.9
Sorry, something went wrong.
Closing due to inactivity and inability to reproduce the problem
No branches or pull requests
File {
notify => Service["$puppetmaster::webserver_service"],
}
puppet-lint init.pp
WARNING: string containing only a variable on line 9
When applying the above sample - without - quotes puppet dies with the following error:
err: Could not run Puppet configuration client: Could not find dependent Service[undef] for ...
The text was updated successfully, but these errors were encountered: