foreman_puppet 1.0.5 → 2.0.0.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/concerns/foreman_puppet/extensions/api_hostgroups_controller.rb +14 -16
- data/app/controllers/concerns/foreman_puppet/{api/import_puppetclasses_common_controller.rb → extensions/api_smart_proxies_controller.rb} +9 -3
- data/app/controllers/concerns/foreman_puppet/extensions/api_template_combinations_controller.rb +23 -1
- data/app/controllers/concerns/foreman_puppet/extensions/api_v2_hosts_controller.rb +15 -17
- data/app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb +0 -1
- data/app/controllers/concerns/foreman_puppet/extensions/parameters_host.rb +32 -41
- data/app/controllers/concerns/foreman_puppet/extensions/parameters_hostgroup.rb +26 -41
- data/app/controllers/foreman_puppet/api/v2/environments_controller.rb +0 -1
- data/app/controllers/foreman_puppet/puppetclasses_controller.rb +1 -1
- data/app/helpers/foreman_puppet/hosts_and_hostgroups_helper.rb +0 -5
- data/app/helpers/foreman_puppet/hosts_helper.rb +6 -10
- data/app/models/concerns/foreman_puppet/extensions/host.rb +2 -16
- data/app/models/concerns/foreman_puppet/extensions/hostgroup.rb +2 -7
- data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +7 -12
- data/app/models/concerns/foreman_puppet/extensions/template_combination.rb +5 -10
- data/app/models/foreman_puppet/host_puppet_facet.rb +1 -1
- data/app/models/foreman_puppet/hostgroup_puppet_facet.rb +0 -2
- data/app/services/foreman_puppet/puppet_class_importer.rb +0 -6
- data/app/views/foreman_puppet/api/v2/host_puppet_facets/host_list.json.rabl +3 -0
- data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/base.json.rabl +2 -0
- data/app/views/foreman_puppet/api/v2/hostgroup_puppet_facets/hostgroup_list.json.rabl +3 -0
- data/config/api_routes.rb +1 -9
- data/config/initializers/api_reroute.rb +73 -5
- data/db/migrate/20101121140000_add_environment_to_template_combinations.foreman_puppet.rb +1 -1
- data/db/migrate/20200803113803_migrate_environment_to_puppet_facet.foreman_puppet.rb +2 -0
- data/db/migrate/20200803113903_migrate_host_type_in_host_config_groups.foreman_puppet.rb +20 -36
- data/db/migrate/20210924103241_remove_katello_id_from_environments.foreman_puppet.rb +5 -0
- data/db/migrate_foreman/20090722141107_create_environments.rb +2 -2
- data/db/migrate_foreman/20090802062223_create_puppetclasses.rb +28 -0
- data/db/migrate_foreman/20090905150132_create_hostgroups_puppetclasses.rb +12 -0
- data/db/migrate_foreman/20110412103238_remove_unused_fields_from_puppet_classes.rb +9 -0
- data/db/migrate_foreman/20110712070522_create_host_class.rb +11 -0
- data/db/migrate_foreman/20120824142048_add_some_indexes.rb +14 -0
- data/db/migrate_foreman/20121018152459_create_hostgroup_classes.rb +11 -0
- data/db/migrate_foreman/20161205142618_delete_orphaned_smart_class_parameters.rb +1 -1
- data/db/migrate_foreman/20180816134832_cast_lookup_key_values.rb +1 -31
- data/db/migrate_foreman/20180831115634_add_uniqueness_to_puppetclass_name.rb +24 -0
- data/db/migrate_foreman/20181023112532_add_environment_puppetclass_id.rb +1 -1
- data/lib/foreman_puppet/engine.rb +4 -36
- data/lib/foreman_puppet/register.rb +16 -47
- data/lib/foreman_puppet/version.rb +1 -1
- data/lib/foreman_puppet.rb +1 -6
- data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/en/foreman_puppet.edit.po +162 -317
- data/locale/en/foreman_puppet.po +62 -8
- data/locale/foreman_puppet.pot +215 -133
- data/locale/gemspec.rb +1 -1
- data/package.json +8 -11
- data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +0 -231
- data/test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb +255 -0
- data/test/controllers/foreman_puppet/environments_controller_test.rb +2 -2
- data/test/controllers/foreman_puppet/hosts_controller_test.rb +0 -1
- data/test/factories/foreman_puppet_factories.rb +0 -2
- data/test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb +31 -70
- data/test/integration/foreman_puppet/host_js_test.rb +0 -1
- data/test/integration/foreman_puppet/puppetclass_js_test.rb +1 -1
- data/test/models/foreman_puppet/host_puppet_facet_test.rb +1 -7
- data/test/models/foreman_puppet/host_test.rb +26 -0
- data/test/models/foreman_puppet/user_test.rb +1 -5
- data/test/unit/foreman_puppet/puppet_class_importer_test.rb +1 -1
- metadata +22 -13
- data/db/migrate/20211112130803_cleanup_environment_from_core_tables.foreman_puppet.rb +0 -10
- data/locale/cs_CZ/foreman_puppet.edit.po +0 -1085
- data/locale/cs_CZ/foreman_puppet.po.time_stamp +0 -0
data/locale/en/foreman_puppet.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#
|
5
5
|
msgid ""
|
6
6
|
msgstr ""
|
7
|
-
"Project-Id-Version: foreman_puppet 0.0.
|
7
|
+
"Project-Id-Version: foreman_puppet 1.0.0.pre\n"
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
9
9
|
"PO-Revision-Date: 2014-08-20 08:54+0100\n"
|
10
10
|
"Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
|
@@ -66,10 +66,13 @@ msgstr ""
|
|
66
66
|
msgid "Add a Puppet class to host group"
|
67
67
|
msgstr ""
|
68
68
|
|
69
|
+
msgid "Add:"
|
70
|
+
msgstr ""
|
71
|
+
|
69
72
|
msgid "All environments - (not filtered)"
|
70
73
|
msgstr ""
|
71
74
|
|
72
|
-
msgid "Allow assigning Puppet
|
75
|
+
msgid "Allow assigning Puppet environments and classes to the Foreman Hosts."
|
73
76
|
msgstr ""
|
74
77
|
|
75
78
|
msgid "Available Classes"
|
@@ -84,12 +87,33 @@ msgstr ""
|
|
84
87
|
msgid "Can't find a valid Proxy with a Puppet feature"
|
85
88
|
msgstr ""
|
86
89
|
|
90
|
+
msgid "Cancel"
|
91
|
+
msgstr ""
|
92
|
+
|
87
93
|
msgid "Change Environment"
|
88
94
|
msgstr ""
|
89
95
|
|
90
96
|
msgid "Change Puppet Master"
|
91
97
|
msgstr ""
|
92
98
|
|
99
|
+
msgid "Changed environments"
|
100
|
+
msgstr ""
|
101
|
+
|
102
|
+
msgid "Check/Uncheck all"
|
103
|
+
msgstr ""
|
104
|
+
|
105
|
+
msgid "Check/Uncheck all %s changes"
|
106
|
+
msgstr ""
|
107
|
+
|
108
|
+
msgid "Check/Uncheck new"
|
109
|
+
msgstr ""
|
110
|
+
|
111
|
+
msgid "Check/Uncheck obsolete"
|
112
|
+
msgstr ""
|
113
|
+
|
114
|
+
msgid "Check/Uncheck updated"
|
115
|
+
msgstr ""
|
116
|
+
|
93
117
|
msgid "Classes"
|
94
118
|
msgstr ""
|
95
119
|
|
@@ -273,9 +297,6 @@ msgstr ""
|
|
273
297
|
msgid "If true, will raise an error if there is no default value and no matcher provide a value"
|
274
298
|
msgstr ""
|
275
299
|
|
276
|
-
msgid "If you are planning to use Foreman as an external node classifier you should provide information about one or more environments. This information is commonly imported from a pre-existing Puppet configuration by the use of the %{link_start}Puppet classes and environment importer%{link_end}."
|
277
|
-
msgstr ""
|
278
|
-
|
279
300
|
msgid "Ignored classes in the environments: %s"
|
280
301
|
msgstr ""
|
281
302
|
|
@@ -288,6 +309,9 @@ msgstr ""
|
|
288
309
|
msgid "Ignored environments: %s"
|
289
310
|
msgstr ""
|
290
311
|
|
312
|
+
msgid "Ignored:"
|
313
|
+
msgstr ""
|
314
|
+
|
291
315
|
msgid "Import"
|
292
316
|
msgstr ""
|
293
317
|
|
@@ -324,9 +348,6 @@ msgstr ""
|
|
324
348
|
msgid "Invalid proxy selected!"
|
325
349
|
msgstr ""
|
326
350
|
|
327
|
-
msgid "Learn more about this in the documentation."
|
328
|
-
msgstr ""
|
329
|
-
|
330
351
|
msgid "List all Puppet class IDs for host"
|
331
352
|
msgstr ""
|
332
353
|
|
@@ -399,6 +420,9 @@ msgstr ""
|
|
399
420
|
msgid "Name"
|
400
421
|
msgstr ""
|
401
422
|
|
423
|
+
msgid "New"
|
424
|
+
msgstr ""
|
425
|
+
|
402
426
|
msgid "No changes to your environments detected"
|
403
427
|
msgstr ""
|
404
428
|
|
@@ -435,6 +459,9 @@ msgstr ""
|
|
435
459
|
msgid "Number of classes"
|
436
460
|
msgstr ""
|
437
461
|
|
462
|
+
msgid "Obsolete"
|
463
|
+
msgstr ""
|
464
|
+
|
438
465
|
msgid "Omit"
|
439
466
|
msgstr ""
|
440
467
|
|
@@ -447,6 +474,9 @@ msgstr ""
|
|
447
474
|
msgid "Operating system default"
|
448
475
|
msgstr ""
|
449
476
|
|
477
|
+
msgid "Operation"
|
478
|
+
msgstr ""
|
479
|
+
|
450
480
|
msgid "Optional comma-delimited stringcontaining either 'new', 'updated', or 'obsolete'that is used to limit the imported Puppet classes"
|
451
481
|
msgstr ""
|
452
482
|
|
@@ -504,9 +534,15 @@ msgstr ""
|
|
504
534
|
msgid "Puppet ENC"
|
505
535
|
msgstr ""
|
506
536
|
|
537
|
+
msgid "Puppet Environment"
|
538
|
+
msgstr ""
|
539
|
+
|
507
540
|
msgid "Puppet Environments"
|
508
541
|
msgstr ""
|
509
542
|
|
543
|
+
msgid "Puppet Modules"
|
544
|
+
msgstr ""
|
545
|
+
|
510
546
|
msgid "Puppet YAML"
|
511
547
|
msgstr ""
|
512
548
|
|
@@ -543,12 +579,18 @@ msgstr ""
|
|
543
579
|
msgid "Remove this override"
|
544
580
|
msgstr ""
|
545
581
|
|
582
|
+
msgid "Remove:"
|
583
|
+
msgstr ""
|
584
|
+
|
546
585
|
msgid "Required parameter without value.<br/><b>Please override!</b><br/>"
|
547
586
|
msgstr ""
|
548
587
|
|
549
588
|
msgid "Select environment"
|
550
589
|
msgstr ""
|
551
590
|
|
591
|
+
msgid "Select the changes you want to apply to Foreman"
|
592
|
+
msgstr ""
|
593
|
+
|
552
594
|
msgid "Set parameters to defaults"
|
553
595
|
msgstr ""
|
554
596
|
|
@@ -629,6 +671,9 @@ msgstr ""
|
|
629
671
|
msgid "To update the class signature, go to the Puppet Classes page and select \"Import\"."
|
630
672
|
msgstr ""
|
631
673
|
|
674
|
+
msgid "Toggle"
|
675
|
+
msgstr ""
|
676
|
+
|
632
677
|
msgid "Total"
|
633
678
|
msgstr ""
|
634
679
|
|
@@ -641,6 +686,9 @@ msgstr ""
|
|
641
686
|
msgid "Unable to generate output, Check log files"
|
642
687
|
msgstr ""
|
643
688
|
|
689
|
+
msgid "Update"
|
690
|
+
msgstr ""
|
691
|
+
|
644
692
|
msgid "Update a Puppet class"
|
645
693
|
msgstr ""
|
646
694
|
|
@@ -656,6 +704,12 @@ msgstr ""
|
|
656
704
|
msgid "Update an override value for a specific smart class parameter"
|
657
705
|
msgstr ""
|
658
706
|
|
707
|
+
msgid "Update:"
|
708
|
+
msgstr ""
|
709
|
+
|
710
|
+
msgid "Updated"
|
711
|
+
msgstr ""
|
712
|
+
|
659
713
|
msgid "Updated hosts: changed environment"
|
660
714
|
msgstr ""
|
661
715
|
|