summaryrefslogtreecommitdiff
path: root/examples/validate_resource-2.pp
blob: b53b10977f432367e1e9743ebeef5379f44d557f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class foo (
  $a,
  $b,
  $c
  ) {

  validate_resource()

  # ... do something ...

}

class { "foo": 
  a => "1",
  b => "foobaz",
  c => ['a','b','c'] 
}