use structured fact and case statement

3 jobs for 43-remove-string-facts-like-osfamily in 27 minutes and 28 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Syntax
passed #6198
syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.5.1-Puppet ~> 5.5

00:00:43

 
  Unit
passed #6199
parallel_spec-Ruby 2.5.1-Puppet ~> 5.5

00:00:47

 
  Acceptance
passed #6200
puppet-tests
acceptance with puppet5

00:25:56