File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1818 $runner_package_name = ' ansible-runner'
1919 }
2020 ' Debian' : {
21- if ($facts [' os' ][' name' ] == ' Ubuntu' and versioncmp( $facts [ ' os ' ][ ' release ' ][ ' major ' ], ' 20.04 ' ) >= 0 ) {
21+ if ($facts [' os' ][' name' ] == ' Ubuntu' ) {
2222 $callback = ' theforeman.foreman.foreman'
2323 } else {
2424 $callback = ' foreman'
Original file line number Diff line number Diff line change 55
66 include_examples 'the example' , 'tftp.pp'
77
8- root = case host_inventory [ 'facter' ] [ 'os' ] [ 'name ' ]
8+ root = case host_inventory [ 'facter' ] [ 'os' ] [ 'family ' ]
99 when 'Debian'
1010 '/srv/tftp'
11- when 'Ubuntu'
12- if host_inventory [ 'facter' ] [ 'os' ] [ 'release' ] [ 'major' ] . to_f >= 20.04
13- '/srv/tftp'
14- else
15- '/var/lib/tftpboot'
16- end
1711 else
1812 '/var/lib/tftpboot'
1913 end
You can’t perform that action at this time.
0 commit comments