File: init.pp

package info (click to toggle)
ruby-rspec-puppet 4.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: ruby: 6,377; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class trusted_facts {
  notify { "certname-${trusted['certname']}": }
  notify { "authenticated-${trusted['authenticated']}": }
  notify { "domain-${trusted['domain']}": }
  notify { "hostname-${trusted['hostname']}": }

  if $trusted['extensions'] == {} {
    notify { "no-extensions": }
  } else {
    $trusted['extensions'].each |$k, $v| {
      notify { "extension-${k}-${v}": }
    }
  }
}