Sha256: 193e920df0b4c3fb90b5a5e55765d84bdfaef33a21b95e2f446d2195da235180

Contents?: true

Size: 577 Bytes

Versions: 7

Compression:

Stored size: 577 Bytes

Contents

class foo::bar {
  file { 'used_with_file':
    content => file('foo/used_with_file'),
  }
  file { 'used_with_file_and_module_name':
    content => file("${module_name}/used_with_file_and_module_name"),
  }
  file { 'used_with_template':
    content => template('foo/used_with_template'),
  }
  file { 'used_with_template_and_module_name':
    content => template("${module_name}/used_with_template_and_module_name"),
  }
  if $::bar {
    $foo = "Hello ${::foo}"
  }
  $foo = bar('baz')
  bar { 'bar': }
  file { 'quux':
    content => inline_template('<%= @quux %>'),
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puppet-ghostbuster-1.2.1 spec/fixtures/modules/foo/manifests/bar.pp
puppet-ghostbuster-1.2.0 spec/fixtures/modules/foo/manifests/bar.pp
puppet-ghostbuster-1.1.0 spec/fixtures/modules/foo/manifests/bar.pp
puppet-ghostbuster-0.9.0 spec/fixtures/modules/foo/manifests/bar.pp
puppet-ghostbuster-0.8.0 spec/fixtures/modules/foo/manifests/bar.pp
puppet-ghostbuster-0.7.3 spec/fixtures/modules/foo/manifests/bar.pp
puppet-ghostbuster-0.7.2 spec/fixtures/modules/foo/manifests/bar.pp