Unquoted Node Name


Node names should be one of the following:

  • A quoted string
  • The bare word default
  • A regular expression

What you have done

node server1 {
}

What you should have done:

node 'server1' {
}

Disabling the check

To disable this check you can add --no-unquoted_node_name-check to your puppet-lint command line.

$ puppet-lint --no-unquoted_node_name-check path/to/file.pp

Alternatively, if you’re calling puppet-lint via the Rake task, you should insert the following line to your Rakefile.

PuppetLint.configuration.send('disable_unquoted_node_name')