hammer_cli_foreman 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of hammer_cli_foreman might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/config/foreman.yml +4 -0
- data/doc/host_create.md +4 -4
- data/doc/release_notes.md +24 -6
- data/lib/hammer_cli_foreman/associating_commands.rb +54 -0
- data/lib/hammer_cli_foreman/commands.rb +28 -7
- data/lib/hammer_cli_foreman/exception_handler.rb +18 -0
- data/lib/hammer_cli_foreman/exceptions.rb +1 -1
- data/lib/hammer_cli_foreman/host.rb +11 -6
- data/lib/hammer_cli_foreman/id_resolver.rb +10 -2
- data/lib/hammer_cli_foreman/partition_table.rb +1 -0
- data/lib/hammer_cli_foreman/smart_class_parameter.rb +5 -1
- data/lib/hammer_cli_foreman/smart_variable.rb +1 -1
- data/lib/hammer_cli_foreman/template.rb +29 -5
- data/lib/hammer_cli_foreman/testing/api_expectations.rb +6 -6
- data/lib/hammer_cli_foreman/user.rb +2 -1
- data/lib/hammer_cli_foreman/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ca/hammer-cli-foreman.edit.po +2622 -0
- data/locale/ca/hammer-cli-foreman.po +2544 -0
- data/locale/ca/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/de/hammer-cli-foreman.edit.po +2613 -0
- data/locale/de/hammer-cli-foreman.po +132 -122
- data/locale/de/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en/hammer-cli-foreman.edit.po +2575 -0
- data/locale/en/hammer-cli-foreman.po +157 -8
- data/locale/en/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en_GB/hammer-cli-foreman.edit.po +2582 -0
- data/locale/en_GB/hammer-cli-foreman.po +151 -141
- data/locale/en_GB/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/es/hammer-cli-foreman.edit.po +2625 -0
- data/locale/es/hammer-cli-foreman.po +110 -100
- data/locale/es/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/fr/hammer-cli-foreman.edit.po +2626 -0
- data/locale/fr/hammer-cli-foreman.po +110 -100
- data/locale/fr/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/hammer-cli-foreman.pot +390 -190
- data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/it/hammer-cli-foreman.edit.po +2601 -0
- data/locale/it/hammer-cli-foreman.po +139 -129
- data/locale/it/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ja/hammer-cli-foreman.edit.po +2601 -0
- data/locale/ja/hammer-cli-foreman.po +140 -130
- data/locale/ja/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ko/hammer-cli-foreman.edit.po +2599 -0
- data/locale/ko/hammer-cli-foreman.po +138 -128
- data/locale/ko/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/pt_BR/hammer-cli-foreman.edit.po +2628 -0
- data/locale/pt_BR/hammer-cli-foreman.po +112 -102
- data/locale/pt_BR/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ru/hammer-cli-foreman.edit.po +2602 -0
- data/locale/ru/hammer-cli-foreman.po +265 -254
- data/locale/ru/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_CN/hammer-cli-foreman.edit.po +2599 -0
- data/locale/zh_CN/hammer-cli-foreman.po +136 -126
- data/locale/zh_CN/hammer-cli-foreman.po.time_stamp +0 -0
- data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_TW/hammer-cli-foreman.edit.po +2599 -0
- data/locale/zh_TW/hammer-cli-foreman.po +137 -127
- data/locale/zh_TW/hammer-cli-foreman.po.time_stamp +0 -0
- data/test/data/README.md +6 -1
- data/test/functional/commands/list_test.rb +141 -0
- data/test/functional/organization_test.rb +71 -0
- data/test/functional/smart_class_parameter_test.rb +61 -0
- data/test/functional/template_test.rb +80 -0
- data/test/functional/test_helper.rb +3 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Architecture.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +21 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Domain.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Environment.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +46 -0
- data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +85 -0
- data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +21 -0
- data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +9 -0
- data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +9 -0
- data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +40 -0
- data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Host.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +29 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +27 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Location.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +23 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Medium.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +27 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Organization.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +19 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +21 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +43 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +13 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Subnet.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +12 -0
- data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +15 -0
- data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +9 -0
- data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-Template.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +19 -0
- data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +23 -0
- data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +17 -0
- data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +11 -0
- data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +7 -0
- data/test/reports/TEST-HammerCLIForeman-User.xml +7 -0
- data/test/reports/TEST-MiniTest-Spec.xml +7 -0
- data/test/unit/commands_test.rb +9 -9
- data/test/unit/data/test_api.json +43 -0
- data/test/unit/exception_handler_test.rb +20 -1
- data/test/unit/host_test.rb +12 -0
- data/test/unit/id_resolver_test.rb +18 -2
- data/test/unit/user_test.rb +1 -1
- metadata +561 -46
@@ -5,11 +5,11 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer-cli-foreman 0.
|
8
|
+
"Project-Id-Version: hammer-cli-foreman 0.7.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date:
|
11
|
-
"PO-Revision-Date:
|
12
|
-
"Last-Translator:
|
10
|
+
"POT-Creation-Date: 2016-02-25 15:04+0100\n"
|
11
|
+
"PO-Revision-Date: 2016-03-08 17:54+0000\n"
|
12
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
|
13
13
|
"Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
|
14
14
|
"MIME-Version: 1.0\n"
|
15
15
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -149,10 +149,10 @@ msgstr "管理用户组。"
|
|
149
149
|
#: ../lib/hammer_cli_foreman/report.rb:30 ../lib/hammer_cli_foreman/role.rb:11
|
150
150
|
#: ../lib/hammer_cli_foreman/settings.rb:11
|
151
151
|
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:8
|
152
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
152
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:74
|
153
153
|
#: ../lib/hammer_cli_foreman/smart_proxy.rb:11
|
154
154
|
#: ../lib/hammer_cli_foreman/smart_variable.rb:8
|
155
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
155
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:64
|
156
156
|
#: ../lib/hammer_cli_foreman/subnet.rb:10
|
157
157
|
#: ../lib/hammer_cli_foreman/template.rb:25
|
158
158
|
#: ../lib/hammer_cli_foreman/user.rb:10
|
@@ -562,8 +562,8 @@ msgstr "取消资源关联"
|
|
562
562
|
#: ../lib/hammer_cli_foreman/common_parameter.rb:13
|
563
563
|
#: ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:334
|
564
564
|
#: ../lib/hammer_cli_foreman/settings.rb:13
|
565
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
566
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
565
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76
|
566
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:66
|
567
567
|
msgid "Value"
|
568
568
|
msgstr "值"
|
569
569
|
|
@@ -634,7 +634,7 @@ msgstr "Url"
|
|
634
634
|
#: ../lib/hammer_cli_foreman/compute_resource.rb:55
|
635
635
|
#: ../lib/hammer_cli_foreman/domain.rb:42
|
636
636
|
#: ../lib/hammer_cli_foreman/settings.rb:14
|
637
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
637
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:59
|
638
638
|
#: ../lib/hammer_cli_foreman/smart_variable.rb:51
|
639
639
|
msgid "Description"
|
640
640
|
msgstr "描述"
|
@@ -918,7 +918,7 @@ msgstr "界面参数"
|
|
918
918
|
|
919
919
|
#: ../lib/hammer_cli_foreman/host.rb:64
|
920
920
|
msgid "Enter the root password for the host:"
|
921
|
-
msgstr ""
|
921
|
+
msgstr "为主机输入 root 密码:"
|
922
922
|
|
923
923
|
#: ../lib/hammer_cli_foreman/host.rb:153
|
924
924
|
msgid "At least one interface must be set as primary"
|
@@ -948,15 +948,15 @@ msgstr "MAC"
|
|
948
948
|
|
949
949
|
#: ../lib/hammer_cli_foreman/host.rb:185
|
950
950
|
msgid "Bare Metal"
|
951
|
-
msgstr ""
|
951
|
+
msgstr "裸机"
|
952
952
|
|
953
953
|
#: ../lib/hammer_cli_foreman/host.rb:210
|
954
954
|
msgid "Organization"
|
955
|
-
msgstr ""
|
955
|
+
msgstr "组织"
|
956
956
|
|
957
957
|
#: ../lib/hammer_cli_foreman/host.rb:211
|
958
958
|
msgid "Location"
|
959
|
-
msgstr ""
|
959
|
+
msgstr "位置"
|
960
960
|
|
961
961
|
#: ../lib/hammer_cli_foreman/host.rb:213
|
962
962
|
msgid "Compute Resource"
|
@@ -964,7 +964,7 @@ msgstr "计算机资源"
|
|
964
964
|
|
965
965
|
#: ../lib/hammer_cli_foreman/host.rb:214
|
966
966
|
msgid "Compute Profile"
|
967
|
-
msgstr ""
|
967
|
+
msgstr "计算配置文件"
|
968
968
|
|
969
969
|
#: ../lib/hammer_cli_foreman/host.rb:215
|
970
970
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:61
|
@@ -1036,21 +1036,21 @@ msgstr "SP 子网"
|
|
1036
1036
|
|
1037
1037
|
#: ../lib/hammer_cli_foreman/host.rb:237
|
1038
1038
|
msgid "Network interfaces"
|
1039
|
-
msgstr ""
|
1039
|
+
msgstr "网络接口"
|
1040
1040
|
|
1041
1041
|
#: ../lib/hammer_cli_foreman/host.rb:239
|
1042
1042
|
#: ../lib/hammer_cli_foreman/interface.rb:24
|
1043
1043
|
#: ../lib/hammer_cli_foreman/interface.rb:44
|
1044
1044
|
msgid "Identifier"
|
1045
|
-
msgstr ""
|
1045
|
+
msgstr "标示符"
|
1046
1046
|
|
1047
1047
|
#: ../lib/hammer_cli_foreman/host.rb:240
|
1048
1048
|
#: ../lib/hammer_cli_foreman/interface.rb:25
|
1049
1049
|
#: ../lib/hammer_cli_foreman/interface.rb:45
|
1050
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
1051
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
1050
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:60
|
1051
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:65
|
1052
1052
|
#: ../lib/hammer_cli_foreman/smart_variable.rb:12
|
1053
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
1053
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:55
|
1054
1054
|
#: ../lib/hammer_cli_foreman/template.rb:27
|
1055
1055
|
msgid "Type"
|
1056
1056
|
msgstr "类型"
|
@@ -1059,13 +1059,13 @@ msgstr "类型"
|
|
1059
1059
|
#: ../lib/hammer_cli_foreman/interface.rb:26
|
1060
1060
|
#: ../lib/hammer_cli_foreman/interface.rb:46
|
1061
1061
|
msgid "MAC address"
|
1062
|
-
msgstr ""
|
1062
|
+
msgstr "MAC 地址"
|
1063
1063
|
|
1064
1064
|
#: ../lib/hammer_cli_foreman/host.rb:242
|
1065
1065
|
#: ../lib/hammer_cli_foreman/interface.rb:27
|
1066
1066
|
#: ../lib/hammer_cli_foreman/interface.rb:47
|
1067
1067
|
msgid "IP address"
|
1068
|
-
msgstr ""
|
1068
|
+
msgstr "IP 地址"
|
1069
1069
|
|
1070
1070
|
#: ../lib/hammer_cli_foreman/host.rb:243
|
1071
1071
|
msgid "FQDN"
|
@@ -1073,7 +1073,7 @@ msgstr "FQDN"
|
|
1073
1073
|
|
1074
1074
|
#: ../lib/hammer_cli_foreman/host.rb:246
|
1075
1075
|
msgid "Operating system"
|
1076
|
-
msgstr ""
|
1076
|
+
msgstr "操作系统"
|
1077
1077
|
|
1078
1078
|
#: ../lib/hammer_cli_foreman/host.rb:247
|
1079
1079
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:75
|
@@ -1113,7 +1113,7 @@ msgstr "使用映像"
|
|
1113
1113
|
|
1114
1114
|
#: ../lib/hammer_cli_foreman/host.rb:265
|
1115
1115
|
msgid "Additional info"
|
1116
|
-
msgstr ""
|
1116
|
+
msgstr "附加信息"
|
1117
1117
|
|
1118
1118
|
#: ../lib/hammer_cli_foreman/host.rb:266
|
1119
1119
|
msgid "Owner Id"
|
@@ -1341,14 +1341,14 @@ msgstr "环境名"
|
|
1341
1341
|
msgid "Host name"
|
1342
1342
|
msgstr "主机名"
|
1343
1343
|
|
1344
|
-
#: ../lib/hammer_cli_foreman/id_resolver.rb:43
|
1345
|
-
msgid "Hostgroup title"
|
1346
|
-
msgstr ""
|
1347
|
-
|
1348
1344
|
#: ../lib/hammer_cli_foreman/id_resolver.rb:43
|
1349
1345
|
msgid "Hostgroup name"
|
1350
1346
|
msgstr "主机组名"
|
1351
1347
|
|
1348
|
+
#: ../lib/hammer_cli_foreman/id_resolver.rb:43
|
1349
|
+
msgid "Hostgroup title"
|
1350
|
+
msgstr ""
|
1351
|
+
|
1352
1352
|
#: ../lib/hammer_cli_foreman/id_resolver.rb:46
|
1353
1353
|
msgid "Location name"
|
1354
1354
|
msgstr "位置名称"
|
@@ -1489,23 +1489,23 @@ msgstr ""
|
|
1489
1489
|
#: ../lib/hammer_cli_foreman/interface.rb:28
|
1490
1490
|
#: ../lib/hammer_cli_foreman/interface.rb:48
|
1491
1491
|
msgid "DNS name"
|
1492
|
-
msgstr ""
|
1492
|
+
msgstr "DNS名称"
|
1493
1493
|
|
1494
1494
|
#: ../lib/hammer_cli_foreman/interface.rb:52
|
1495
1495
|
msgid "Primary"
|
1496
|
-
msgstr ""
|
1496
|
+
msgstr "主"
|
1497
1497
|
|
1498
1498
|
#: ../lib/hammer_cli_foreman/interface.rb:53
|
1499
1499
|
msgid "Provision"
|
1500
|
-
msgstr ""
|
1500
|
+
msgstr "供应"
|
1501
1501
|
|
1502
1502
|
#: ../lib/hammer_cli_foreman/interface.rb:54
|
1503
1503
|
msgid "Virtual"
|
1504
|
-
msgstr ""
|
1504
|
+
msgstr "虚拟"
|
1505
1505
|
|
1506
1506
|
#: ../lib/hammer_cli_foreman/interface.rb:55
|
1507
1507
|
msgid "Tag"
|
1508
|
-
msgstr ""
|
1508
|
+
msgstr "标签"
|
1509
1509
|
|
1510
1510
|
#: ../lib/hammer_cli_foreman/interface.rb:56
|
1511
1511
|
msgid "Attached to"
|
@@ -1513,15 +1513,15 @@ msgstr ""
|
|
1513
1513
|
|
1514
1514
|
#: ../lib/hammer_cli_foreman/interface.rb:58
|
1515
1515
|
msgid "BMC"
|
1516
|
-
msgstr ""
|
1516
|
+
msgstr "BMC"
|
1517
1517
|
|
1518
1518
|
#: ../lib/hammer_cli_foreman/interface.rb:63
|
1519
1519
|
msgid "Bond"
|
1520
|
-
msgstr ""
|
1520
|
+
msgstr "捆绑"
|
1521
1521
|
|
1522
1522
|
#: ../lib/hammer_cli_foreman/interface.rb:64
|
1523
1523
|
msgid "Mode"
|
1524
|
-
msgstr ""
|
1524
|
+
msgstr "型号"
|
1525
1525
|
|
1526
1526
|
#: ../lib/hammer_cli_foreman/interface.rb:65
|
1527
1527
|
msgid "Attached devices"
|
@@ -1573,68 +1573,73 @@ msgid "Could not delete the interface"
|
|
1573
1573
|
msgstr ""
|
1574
1574
|
|
1575
1575
|
#: ../lib/hammer_cli_foreman/location.rb:24
|
1576
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1577
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1576
|
+
#: ../lib/hammer_cli_foreman/location.rb:63
|
1577
|
+
#: ../lib/hammer_cli_foreman/location.rb:75
|
1578
1578
|
msgid "Location numeric id to search by"
|
1579
1579
|
msgstr "根据其进行搜索的位置数字 id"
|
1580
1580
|
|
1581
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1581
|
+
#: ../lib/hammer_cli_foreman/location.rb:27
|
1582
|
+
#: ../lib/hammer_cli_foreman/organization.rb:27
|
1583
|
+
msgid "Parent"
|
1584
|
+
msgstr ""
|
1585
|
+
|
1586
|
+
#: ../lib/hammer_cli_foreman/location.rb:38
|
1582
1587
|
#: ../lib/hammer_cli_foreman/references.rb:18
|
1583
1588
|
msgid "Organizations"
|
1584
1589
|
msgstr "组织"
|
1585
1590
|
|
1586
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1591
|
+
#: ../lib/hammer_cli_foreman/location.rb:53
|
1587
1592
|
msgid "Location created"
|
1588
1593
|
msgstr "已生成位置"
|
1589
1594
|
|
1590
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1595
|
+
#: ../lib/hammer_cli_foreman/location.rb:54
|
1591
1596
|
msgid "Could not create the location"
|
1592
1597
|
msgstr "无法生成位置"
|
1593
1598
|
|
1594
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1599
|
+
#: ../lib/hammer_cli_foreman/location.rb:65
|
1595
1600
|
msgid "Location updated"
|
1596
1601
|
msgstr "已更新位置"
|
1597
1602
|
|
1598
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1603
|
+
#: ../lib/hammer_cli_foreman/location.rb:66
|
1599
1604
|
msgid "Could not update the location"
|
1600
1605
|
msgstr "无法更新位置"
|
1601
1606
|
|
1602
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1607
|
+
#: ../lib/hammer_cli_foreman/location.rb:77
|
1603
1608
|
msgid "Location deleted"
|
1604
1609
|
msgstr "已删除位置"
|
1605
1610
|
|
1606
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1611
|
+
#: ../lib/hammer_cli_foreman/location.rb:78
|
1607
1612
|
msgid "Could not delete the location"
|
1608
1613
|
msgstr "无法删除位置"
|
1609
1614
|
|
1610
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1615
|
+
#: ../lib/hammer_cli_foreman/location.rb:87
|
1611
1616
|
msgid "Create or update parameter for a location."
|
1612
1617
|
msgstr ""
|
1613
1618
|
|
1614
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1615
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1619
|
+
#: ../lib/hammer_cli_foreman/location.rb:89
|
1620
|
+
#: ../lib/hammer_cli_foreman/organization.rb:90
|
1616
1621
|
msgid "Parameter [%{name}] updated to value [%{value}]"
|
1617
1622
|
msgstr ""
|
1618
1623
|
|
1619
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1620
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1624
|
+
#: ../lib/hammer_cli_foreman/location.rb:90
|
1625
|
+
#: ../lib/hammer_cli_foreman/organization.rb:91
|
1621
1626
|
msgid "Parameter [%{name}] created with value [%{value}]"
|
1622
1627
|
msgstr ""
|
1623
1628
|
|
1624
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1629
|
+
#: ../lib/hammer_cli_foreman/location.rb:91
|
1625
1630
|
msgid "Could not set location parameter"
|
1626
1631
|
msgstr ""
|
1627
1632
|
|
1628
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1633
|
+
#: ../lib/hammer_cli_foreman/location.rb:98
|
1629
1634
|
msgid "Delete parameter for a location."
|
1630
1635
|
msgstr ""
|
1631
1636
|
|
1632
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1633
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1637
|
+
#: ../lib/hammer_cli_foreman/location.rb:100
|
1638
|
+
#: ../lib/hammer_cli_foreman/organization.rb:101
|
1634
1639
|
msgid "Parameter [%{name}] deleted"
|
1635
1640
|
msgstr ""
|
1636
1641
|
|
1637
|
-
#: ../lib/hammer_cli_foreman/location.rb:
|
1642
|
+
#: ../lib/hammer_cli_foreman/location.rb:101
|
1638
1643
|
msgid "Could not delete location parameter"
|
1639
1644
|
msgstr ""
|
1640
1645
|
|
@@ -1817,48 +1822,48 @@ msgstr "无法删除默认模板"
|
|
1817
1822
|
msgid "Default template of type %s not found"
|
1818
1823
|
msgstr "未找到默认模板类型 %s"
|
1819
1824
|
|
1820
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1825
|
+
#: ../lib/hammer_cli_foreman/organization.rb:38
|
1821
1826
|
#: ../lib/hammer_cli_foreman/references.rb:15
|
1822
1827
|
msgid "Locations"
|
1823
1828
|
msgstr "位置"
|
1824
1829
|
|
1825
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1830
|
+
#: ../lib/hammer_cli_foreman/organization.rb:54
|
1826
1831
|
msgid "Organization created"
|
1827
1832
|
msgstr "已生成机构"
|
1828
1833
|
|
1829
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1834
|
+
#: ../lib/hammer_cli_foreman/organization.rb:55
|
1830
1835
|
msgid "Could not create the organization"
|
1831
1836
|
msgstr "无法生成机构"
|
1832
1837
|
|
1833
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1838
|
+
#: ../lib/hammer_cli_foreman/organization.rb:66
|
1834
1839
|
msgid "Organization updated"
|
1835
1840
|
msgstr "已更新机构"
|
1836
1841
|
|
1837
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1842
|
+
#: ../lib/hammer_cli_foreman/organization.rb:67
|
1838
1843
|
msgid "Could not update the organization"
|
1839
1844
|
msgstr "无法更新机构"
|
1840
1845
|
|
1841
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1846
|
+
#: ../lib/hammer_cli_foreman/organization.rb:78
|
1842
1847
|
msgid "Organization deleted"
|
1843
1848
|
msgstr "已删除机构"
|
1844
1849
|
|
1845
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1850
|
+
#: ../lib/hammer_cli_foreman/organization.rb:79
|
1846
1851
|
msgid "Could not delete the organization"
|
1847
1852
|
msgstr "无法删除机构"
|
1848
1853
|
|
1849
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1854
|
+
#: ../lib/hammer_cli_foreman/organization.rb:88
|
1850
1855
|
msgid "Create or update parameter for an organization."
|
1851
1856
|
msgstr ""
|
1852
1857
|
|
1853
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1858
|
+
#: ../lib/hammer_cli_foreman/organization.rb:92
|
1854
1859
|
msgid "Could not set organization parameter"
|
1855
1860
|
msgstr ""
|
1856
1861
|
|
1857
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1862
|
+
#: ../lib/hammer_cli_foreman/organization.rb:99
|
1858
1863
|
msgid "Delete parameter for an organization."
|
1859
1864
|
msgstr ""
|
1860
1865
|
|
1861
|
-
#: ../lib/hammer_cli_foreman/organization.rb:
|
1866
|
+
#: ../lib/hammer_cli_foreman/organization.rb:102
|
1862
1867
|
msgid "Could not delete organization parameter"
|
1863
1868
|
msgstr ""
|
1864
1869
|
|
@@ -2087,38 +2092,38 @@ msgid "Builtin"
|
|
2087
2092
|
msgstr ""
|
2088
2093
|
|
2089
2094
|
#: ../lib/hammer_cli_foreman/role.rb:24
|
2090
|
-
msgid "
|
2091
|
-
msgstr ""
|
2095
|
+
msgid "Yes"
|
2096
|
+
msgstr "是"
|
2092
2097
|
|
2093
2098
|
#: ../lib/hammer_cli_foreman/role.rb:24
|
2094
|
-
msgid "
|
2095
|
-
msgstr ""
|
2099
|
+
msgid "No"
|
2100
|
+
msgstr "否"
|
2096
2101
|
|
2097
2102
|
#: ../lib/hammer_cli_foreman/role.rb:36
|
2098
2103
|
msgid "User role id"
|
2099
2104
|
msgstr "用户角色 id"
|
2100
2105
|
|
2101
|
-
#: ../lib/hammer_cli_foreman/role.rb:
|
2106
|
+
#: ../lib/hammer_cli_foreman/role.rb:64
|
2102
2107
|
msgid "User role [%<name>s] created"
|
2103
2108
|
msgstr "已生成用户角色 [%<name>s]"
|
2104
2109
|
|
2105
|
-
#: ../lib/hammer_cli_foreman/role.rb:
|
2110
|
+
#: ../lib/hammer_cli_foreman/role.rb:65
|
2106
2111
|
msgid "Could not create the user role"
|
2107
2112
|
msgstr "无法生成用户角色"
|
2108
2113
|
|
2109
|
-
#: ../lib/hammer_cli_foreman/role.rb:
|
2114
|
+
#: ../lib/hammer_cli_foreman/role.rb:72
|
2110
2115
|
msgid "User role [%<name>s] updated"
|
2111
2116
|
msgstr "已更新用户角色 [%<name>s]"
|
2112
2117
|
|
2113
|
-
#: ../lib/hammer_cli_foreman/role.rb:
|
2118
|
+
#: ../lib/hammer_cli_foreman/role.rb:73
|
2114
2119
|
msgid "Could not update the user role"
|
2115
2120
|
msgstr "无法更新用户角色"
|
2116
2121
|
|
2117
|
-
#: ../lib/hammer_cli_foreman/role.rb:
|
2122
|
+
#: ../lib/hammer_cli_foreman/role.rb:80
|
2118
2123
|
msgid "User role [%<name>s] deleted"
|
2119
2124
|
msgstr "已删除用户角色 [%<name>s]"
|
2120
2125
|
|
2121
|
-
#: ../lib/hammer_cli_foreman/role.rb:
|
2126
|
+
#: ../lib/hammer_cli_foreman/role.rb:81
|
2122
2127
|
msgid "Could not delete the user roles"
|
2123
2128
|
msgstr "无法删除用户角色"
|
2124
2129
|
|
@@ -2139,108 +2144,113 @@ msgstr "默认值"
|
|
2139
2144
|
msgid "Override"
|
2140
2145
|
msgstr "覆盖"
|
2141
2146
|
|
2142
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2147
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:35
|
2143
2148
|
#: ../lib/hammer_cli_foreman/smart_variable.rb:27
|
2144
2149
|
msgid "Puppet class"
|
2145
2150
|
msgstr "Puppet 类"
|
2146
2151
|
|
2147
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2152
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:36
|
2148
2153
|
#: ../lib/hammer_cli_foreman/smart_variable.rb:28
|
2149
2154
|
msgid "Class Id"
|
2150
2155
|
msgstr "分类 Id"
|
2151
2156
|
|
2152
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2157
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:61
|
2158
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:52
|
2159
|
+
msgid "Hidden Value?"
|
2160
|
+
msgstr ""
|
2161
|
+
|
2162
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:62
|
2153
2163
|
msgid "Required"
|
2154
2164
|
msgstr "必需的"
|
2155
2165
|
|
2156
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2157
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2166
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:64
|
2167
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:54
|
2158
2168
|
msgid "Validator"
|
2159
2169
|
msgstr "验证程序"
|
2160
2170
|
|
2161
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2162
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2171
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:66
|
2172
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:56
|
2163
2173
|
msgid "Rule"
|
2164
2174
|
msgstr "规则"
|
2165
2175
|
|
2166
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2167
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2176
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:68
|
2177
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:58
|
2168
2178
|
msgid "Override values"
|
2169
2179
|
msgstr "覆盖值"
|
2170
2180
|
|
2171
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2172
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2181
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:69
|
2182
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:59
|
2173
2183
|
msgid "Merge overrides"
|
2174
2184
|
msgstr ""
|
2175
2185
|
|
2176
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2177
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2186
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:70
|
2187
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:60
|
2178
2188
|
msgid "Merge default value"
|
2179
2189
|
msgstr ""
|
2180
2190
|
|
2181
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2182
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2191
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71
|
2192
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:61
|
2183
2193
|
msgid "Avoid duplicates"
|
2184
2194
|
msgstr ""
|
2185
2195
|
|
2186
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2187
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2196
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72
|
2197
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:62
|
2188
2198
|
msgid "Order"
|
2189
2199
|
msgstr "订购"
|
2190
2200
|
|
2191
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2192
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2201
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73
|
2202
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:63
|
2193
2203
|
msgid "Values"
|
2194
|
-
msgstr ""
|
2204
|
+
msgstr "值"
|
2195
2205
|
|
2196
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2197
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2206
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:75
|
2207
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:65
|
2198
2208
|
msgid "Match"
|
2199
2209
|
msgstr "匹配"
|
2200
2210
|
|
2201
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2211
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:102
|
2202
2212
|
msgid "Parameter updated"
|
2203
2213
|
msgstr "已更新参数"
|
2204
2214
|
|
2205
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2215
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
|
2206
2216
|
msgid "Could not update the parameter"
|
2207
2217
|
msgstr "无法更新参数"
|
2208
2218
|
|
2209
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2219
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:110
|
2210
2220
|
msgid "Override this parameter."
|
2211
2221
|
msgstr "覆盖整个参数。"
|
2212
2222
|
|
2213
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2223
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:112
|
2214
2224
|
msgid "This parameter is required."
|
2215
2225
|
msgstr "需要这个参数。"
|
2216
2226
|
|
2217
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2227
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:114
|
2218
2228
|
msgid "Type of the parameter."
|
2219
2229
|
msgstr "参数类型。"
|
2220
2230
|
|
2221
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2222
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2223
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2231
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:117
|
2232
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:91
|
2233
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:105
|
2224
2234
|
msgid "Type of the validator."
|
2225
2235
|
msgstr "验证程序类型。"
|
2226
2236
|
|
2227
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2228
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2237
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:131
|
2238
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:123
|
2229
2239
|
msgid "Override value created"
|
2230
2240
|
msgstr ""
|
2231
2241
|
|
2232
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2233
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2242
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132
|
2243
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:124
|
2234
2244
|
msgid "Could not create the override_value"
|
2235
2245
|
msgstr ""
|
2236
2246
|
|
2237
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2238
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2247
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:151
|
2248
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:136
|
2239
2249
|
msgid "Override value deleted"
|
2240
2250
|
msgstr ""
|
2241
2251
|
|
2242
|
-
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:
|
2243
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2252
|
+
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152
|
2253
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:137
|
2244
2254
|
msgid "Could not delete the override value"
|
2245
2255
|
msgstr ""
|
2246
2256
|
|
@@ -2297,32 +2307,32 @@ msgstr "已刷新智能代理服务器"
|
|
2297
2307
|
msgid "Refresh of smart proxy features failed"
|
2298
2308
|
msgstr "刷新智能代理服务器失败"
|
2299
2309
|
|
2300
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2310
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:83
|
2301
2311
|
msgid "Smart variable [%{variable}] created"
|
2302
2312
|
msgstr ""
|
2303
2313
|
|
2304
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2314
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:84
|
2305
2315
|
msgid "Could not create the smart variable"
|
2306
2316
|
msgstr ""
|
2307
2317
|
|
2308
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2309
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2318
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:88
|
2319
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:102
|
2310
2320
|
msgid "Type of the variable."
|
2311
2321
|
msgstr ""
|
2312
2322
|
|
2313
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2323
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:97
|
2314
2324
|
msgid "Smart variable [%{variable}] updated"
|
2315
2325
|
msgstr ""
|
2316
2326
|
|
2317
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2327
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:98
|
2318
2328
|
msgid "Could not update the smart variable"
|
2319
2329
|
msgstr ""
|
2320
2330
|
|
2321
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2331
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:112
|
2322
2332
|
msgid "Smart variable [%{variable}] deleted"
|
2323
2333
|
msgstr ""
|
2324
2334
|
|
2325
|
-
#: ../lib/hammer_cli_foreman/smart_variable.rb:
|
2335
|
+
#: ../lib/hammer_cli_foreman/smart_variable.rb:113
|
2326
2336
|
msgid "Could not delete the smart variable"
|
2327
2337
|
msgstr ""
|
2328
2338
|
|
@@ -2356,7 +2366,7 @@ msgstr "DHCP"
|
|
2356
2366
|
|
2357
2367
|
#: ../lib/hammer_cli_foreman/subnet.rb:29
|
2358
2368
|
msgid "IPAM"
|
2359
|
-
msgstr ""
|
2369
|
+
msgstr "IPAM"
|
2360
2370
|
|
2361
2371
|
#: ../lib/hammer_cli_foreman/subnet.rb:30
|
2362
2372
|
msgid "VLAN ID"
|
@@ -2442,7 +2452,7 @@ msgstr "无法删除配置模板"
|
|
2442
2452
|
|
2443
2453
|
#: ../lib/hammer_cli_foreman/template.rb:150
|
2444
2454
|
msgid "Update the default PXE menu on all configured TFTP servers"
|
2445
|
-
msgstr ""
|
2455
|
+
msgstr "更新所有配置 TFTP 服务器的默认 PXE 菜单"
|
2446
2456
|
|
2447
2457
|
#: ../lib/hammer_cli_foreman/user.rb:11
|
2448
2458
|
msgid "Login"
|
@@ -2462,11 +2472,11 @@ msgstr "授权"
|
|
2462
2472
|
|
2463
2473
|
#: ../lib/hammer_cli_foreman/user.rb:30
|
2464
2474
|
msgid "Locale"
|
2465
|
-
msgstr ""
|
2475
|
+
msgstr "区域设置"
|
2466
2476
|
|
2467
2477
|
#: ../lib/hammer_cli_foreman/user.rb:31
|
2468
2478
|
msgid "Timezone"
|
2469
|
-
msgstr ""
|
2479
|
+
msgstr "时区"
|
2470
2480
|
|
2471
2481
|
#: ../lib/hammer_cli_foreman/user.rb:32
|
2472
2482
|
msgid "Last login"
|
@@ -2482,7 +2492,7 @@ msgstr "默认位置"
|
|
2482
2492
|
|
2483
2493
|
#: ../lib/hammer_cli_foreman/user.rb:42 ../lib/hammer_cli_foreman/user.rb:43
|
2484
2494
|
msgid "default"
|
2485
|
-
msgstr ""
|
2495
|
+
msgstr "默认"
|
2486
2496
|
|
2487
2497
|
#: ../lib/hammer_cli_foreman/user.rb:53
|
2488
2498
|
msgid "User [%{login}] created"
|