Fix new lint errors

Fix "WARNING: there should be a single space before '=>'" newly
detected by new puppet-lint.

Change-Id: I469fb977ef793084e8196a92323050f1063e2cf5
This commit is contained in:
Takashi Kajinami
2025-03-09 01:05:17 +09:00
parent 5b991d0191
commit 3d5dac6ea6
4 changed files with 21 additions and 21 deletions

View File

@@ -240,7 +240,7 @@ class ironic::api::authtoken(
keystone::resource::authtoken {
'ironic_config':
* => $params;
* => $params;
default:
username => $username,
password => $password,

View File

@@ -167,25 +167,25 @@ class ironic::drivers::pxe (
# Configure ironic.conf
ironic_config {
'pxe/kernel_append_params': value => $kernel_append_params;
'pxe/pxe_bootfile_name': value => $pxe_bootfile_name;
'pxe/pxe_config_template': value => $pxe_config_template;
'pxe/ipxe_bootfile_name': value => $ipxe_bootfile_name;
'pxe/ipxe_config_template': value => $ipxe_config_template;
'pxe/tftp_server': value => $tftp_server;
'pxe/tftp_root': value => $tftp_root_real;
'pxe/images_path': value => $images_path;
'pxe/tftp_master_path': value => $tftp_master_path;
'pxe/instance_master_path': value => $instance_master_path;
'pxe/uefi_pxe_bootfile_name': value => $uefi_pxe_bootfile_name_real;
'pxe/uefi_pxe_config_template': value => $uefi_pxe_config_template;
'pxe/uefi_ipxe_bootfile_name': value => $uefi_ipxe_bootfile_name_real;
'pxe/ipxe_timeout': value => $ipxe_timeout_real;
'pxe/boot_retry_timeout': value => $boot_retry_timeout;
'pxe/kernel_append_params': value => $kernel_append_params;
'pxe/pxe_bootfile_name': value => $pxe_bootfile_name;
'pxe/pxe_config_template': value => $pxe_config_template;
'pxe/ipxe_bootfile_name': value => $ipxe_bootfile_name;
'pxe/ipxe_config_template': value => $ipxe_config_template;
'pxe/tftp_server': value => $tftp_server;
'pxe/tftp_root': value => $tftp_root_real;
'pxe/images_path': value => $images_path;
'pxe/tftp_master_path': value => $tftp_master_path;
'pxe/instance_master_path': value => $instance_master_path;
'pxe/uefi_pxe_bootfile_name': value => $uefi_pxe_bootfile_name_real;
'pxe/uefi_pxe_config_template': value => $uefi_pxe_config_template;
'pxe/uefi_ipxe_bootfile_name': value => $uefi_ipxe_bootfile_name_real;
'pxe/ipxe_timeout': value => $ipxe_timeout_real;
'pxe/boot_retry_timeout': value => $boot_retry_timeout;
'pxe/boot_retry_check_interval': value => $boot_retry_check_interval;
'pxe/dir_permission': value => $dir_permission;
'pxe/file_permission': value => $file_permission;
'pxe/loader_file_paths': value => $loader_file_paths_real;
'pxe/dir_permission': value => $dir_permission;
'pxe/file_permission': value => $file_permission;
'pxe/loader_file_paths': value => $loader_file_paths_real;
}
$pxe_bootfile_name_by_arch_real = $pxe_bootfile_name_by_arch ? {

View File

@@ -243,7 +243,7 @@ class ironic::inspector::authtoken(
keystone::resource::authtoken {
'ironic_inspector_config':
* => $params;
* => $params;
default:
username => $username,
password => $password,

View File

@@ -208,7 +208,7 @@ class ironic::pxe (
warning('Any prior xinetd based tftp server should be disabled and removed from the system.')
file { "${tftp_root_real}/map-file":
ensure => 'absent',
ensure => 'absent',
}
package { 'dnsmasq-tftp-server':