File: init.pp

package info (click to toggle)
puppet-module-richardc-datacat 0.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 208 kB
  • sloc: ruby: 417; sh: 10; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
class demo3 {
  datacat { '/tmp/demo3':
    template => 'demo3/hostgroups.cfg.erb',
  }

  $host1 = 'foo.example.com'
  datacat_fragment { 'foo host':
    target => '/tmp/demo3',
    data   => {
      device => [ $host1 ],
    },
  }

  $ilo_fqdn = 'foo-ilo.example.com'
  datacat_fragment { 'foo ilo':
    target => '/tmp/demo3',
    data   => {
      device => [ $ilo_fqdn ],
    },
  }
}