Debian Codegraph @

spec/fixtures/modules/demo3/manifests/init.pp

raw
1 #
2 class demo3 {
3 datacat { '/tmp/demo3':
4 template => 'demo3/hostgroups.cfg.erb',
5 }
6
7 $host1 = 'foo.example.com'
8 datacat_fragment { 'foo host':
9 target => '/tmp/demo3',
10 data => {
11 device => [ $host1 ],
12 },
13 }
14
15 $ilo_fqdn = 'foo-ilo.example.com'
16 datacat_fragment { 'foo ilo':
17 target => '/tmp/demo3',
18 data => {
19 device => [ $ilo_fqdn ],
20 },
21 }
22 }