Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e620826c95
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (11 sloc) 0.418 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
# test: can you do a relationship with a realized virtual resource? answer: yes. Ben was just using the wrong syntax (the one for exported resources instead of regular virtual ones).
@file {'/tmp/iamvirtual.txt':
  ensure => file,
  content => 'Oh hey look at me',
  owner => 'nick',
  tag => 'test',
}

File <| tag == 'test' |>

notify {'This should be happening after':
  require => File['/tmp/iamvirtual.txt'],
}
Something went wrong with that request. Please try again.