summaryrefslogtreecommitdiffstats
path: root/spec/fixtures/faulty_face/puppet/face/syntax.rb
blob: 3b1e36c3f6ffd49c73651001c87c24e899ff95f5 (plain)
1
2
3
4
5
6
7
8
Puppet::Face.define(:syntax, '1.0.0') do
  action :foo do
    when_invoked do |whom|
      "hello, #{whom}"
    end
  # This 'end' is deliberately omitted, to induce a syntax error.
  # Please don't fix that, as it is used for testing. --daniel 2011-05-02
end