You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This is a simple smoke test
# of the file_line resource type.
file { '/tmp/dansfile':
ensure => file,
} ->
file_line { 'dans_line':
line => 'dan is awesome',
path => '/tmp/dansfile',
}
Looks like this is a result of #672, where the fix method for that check changes the tokens array but doesn't update the links between tokens. I'll get this fixed up shortly and push out a 2.2.1 release.
When running
puppet-lint -f examples/file_line.pp
, it fails with an exception:puppet-lint version: 2.2.0
ruby version: 2.3.0-p0
platform: x86_64-linux
file path: examples/file_line.pp
file contents:
error:
The text was updated successfully, but these errors were encountered: