File: aio.rb

package info (click to toggle)
puppet-module-puppet 18.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 660 kB
  • sloc: ruby: 2,055; sh: 15; makefile: 10
file content (7 lines) | stat: -rw-r--r-- 282 bytes parent folder | download
1
2
3
4
5
6
7
add_custom_fact :aio_agent_version, ->(os, facts) do
  return facts[:puppetversion] unless ['Archlinux', 'FreeBSD', 'DragonFly', 'Windows'].include?(facts[:os]['family'])
end

def unsupported_puppetserver_osfamily(osfamily)
  ['Archlinux', 'windows', 'Suse'].include?(osfamily)
end