Sha256: d8023ce5c3eceba146fe46395e77cb7c169b6abdb395f3de51222c6f94f71547

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

$variable = @(EOT)
  This is a multiline
  heredoc string
  | EOT

$variable_with_interpolation = @("EOT")
  Another example
  ${variable}
  with
  ${variable}
  with interpolation
  | EOT

case fact('os.family') {
  'debian': {
    $greeting = @(EOT)
      Hello
      World
      | EOT
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puppet-lint-strict_indent-check-3.0.0 spec/fixtures/pass/heredoc.pp
puppet-lint-strict_indent-check-2.1.0 spec/fixtures/pass/heredoc.pp
puppet-lint-strict_indent-check-2.0.8 spec/fixtures/pass/heredoc.pp
puppet-lint-strict_indent-check-2.0.7 spec/fixtures/pass/heredoc.pp
puppet-lint-strict_indent-check-2.0.6 spec/fixtures/pass/heredoc.pp