bind: Disable config check in Ubuntu
The named-checkconf command is now installed not in /usr/sbin but in /usr/bin in Ubuntu Jammy but puppet-dns has not adapted to the new path. This disables the check config logic to avoid the failure caused by the wrong command path, until the issue[1] is fixed in puppet-dns. [1] https://github.com/theforeman/puppet-dns/issues/227 Change-Id: I1168c4da8b6a5757f073483393f5f71183b14d8e
This commit is contained in:
		@@ -17,9 +17,18 @@ class openstack_integration::bind {
 | 
			
		||||
    default => 'none',
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  # NOTE(tkajinam) Disable config check in Ubuntu due to
 | 
			
		||||
  #                https://github.com/theforeman/puppet-dns/issues/227
 | 
			
		||||
  if $facts['os']['name'] == 'Ubuntu' {
 | 
			
		||||
    $config_check = false
 | 
			
		||||
  } else {
 | 
			
		||||
    $config_check = true
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  # NOTE (dmsimard): listen_on_v6 is false and overridden due to extended port
 | 
			
		||||
  # configuration in additional_options
 | 
			
		||||
  class { 'dns':
 | 
			
		||||
    config_check       => $config_check,
 | 
			
		||||
    recursion          => 'no',
 | 
			
		||||
    allow_recursion    => [],
 | 
			
		||||
    listen_on_v6       => false,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user