foreman_puppet 3.0.7 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/lib/foreman_puppet/engine.rb +1 -0
  4. data/lib/foreman_puppet/register.rb +2 -2
  5. data/lib/foreman_puppet/version.rb +1 -1
  6. data/package.json +7 -7
  7. data/test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb +6 -2
  8. data/test/models/foreman_puppet/host_test.rb +6 -0
  9. data/webpack/global_index.js +11 -0
  10. data/webpack/index.js +0 -7
  11. data/webpack/legacy.js +31 -0
  12. data/webpack/src/Extends/Fills/index.js +26 -0
  13. data/webpack/src/Extends/Host/PuppetTab/Routes.js +46 -0
  14. data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js +61 -0
  15. data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js +56 -0
  16. data/webpack/src/Extends/Host/PuppetTab/SubTabs/EmptyPage.js +20 -0
  17. data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/components/DescriptionCard.js +88 -0
  18. data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/index.js +50 -0
  19. data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/styles.scss +7 -0
  20. data/webpack/src/Extends/Host/PuppetTab/constants.js +8 -0
  21. data/webpack/src/Extends/Host/PuppetTab/helpers.js +3 -0
  22. data/webpack/src/Extends/Host/PuppetTab/index.js +51 -0
  23. metadata +62 -88
  24. data/locale/ca/foreman_puppet.edit.po +0 -1221
  25. data/locale/ca/foreman_puppet.po.time_stamp +0 -0
  26. data/locale/cs_CZ/foreman_puppet.edit.po +0 -1208
  27. data/locale/cs_CZ/foreman_puppet.po.time_stamp +0 -0
  28. data/locale/de/foreman_puppet.edit.po +0 -1300
  29. data/locale/de/foreman_puppet.po.time_stamp +0 -0
  30. data/locale/en/foreman_puppet.edit.po +0 -998
  31. data/locale/en/foreman_puppet.po.time_stamp +0 -0
  32. data/locale/en/foreman_puppet.pox +0 -0
  33. data/locale/en_GB/foreman_puppet.edit.po +0 -1197
  34. data/locale/en_GB/foreman_puppet.po.time_stamp +0 -0
  35. data/locale/es/foreman_puppet.edit.po +0 -1275
  36. data/locale/es/foreman_puppet.po.time_stamp +0 -0
  37. data/locale/fr/foreman_puppet.edit.po +0 -1290
  38. data/locale/fr/foreman_puppet.po.time_stamp +0 -0
  39. data/locale/gl/foreman_puppet.edit.po +0 -1203
  40. data/locale/gl/foreman_puppet.po.time_stamp +0 -0
  41. data/locale/it/foreman_puppet.edit.po +0 -1233
  42. data/locale/it/foreman_puppet.po.time_stamp +0 -0
  43. data/locale/ja/foreman_puppet.edit.po +0 -1223
  44. data/locale/ja/foreman_puppet.po.time_stamp +0 -0
  45. data/locale/ko/foreman_puppet.edit.po +0 -1197
  46. data/locale/ko/foreman_puppet.po.time_stamp +0 -0
  47. data/locale/messages.mo +0 -0
  48. data/locale/nl_NL/foreman_puppet.edit.po +0 -1228
  49. data/locale/nl_NL/foreman_puppet.po.time_stamp +0 -0
  50. data/locale/pl/foreman_puppet.edit.po +0 -1238
  51. data/locale/pl/foreman_puppet.po.time_stamp +0 -0
  52. data/locale/pt_BR/foreman_puppet.edit.po +0 -1281
  53. data/locale/pt_BR/foreman_puppet.po.time_stamp +0 -0
  54. data/locale/ru/foreman_puppet.edit.po +0 -1240
  55. data/locale/ru/foreman_puppet.po.time_stamp +0 -0
  56. data/locale/sv_SE/foreman_puppet.edit.po +0 -1205
  57. data/locale/sv_SE/foreman_puppet.po.time_stamp +0 -0
  58. data/locale/zh_CN/foreman_puppet.edit.po +0 -1212
  59. data/locale/zh_CN/foreman_puppet.po.time_stamp +0 -0
  60. data/locale/zh_TW/foreman_puppet.edit.po +0 -1197
  61. data/locale/zh_TW/foreman_puppet.po.time_stamp +0 -0
  62. data/webpack/fills_index.js +0 -30
File without changes
@@ -1,30 +0,0 @@
1
- import $ from 'jquery';
2
-
3
- import * as classEditor from './src/foreman_class_edit';
4
- import * as hostForm from './src/foreman_puppet_host_form';
5
-
6
- window.tfm = Object.assign(window.tfm || {}, {
7
- classEditor,
8
- puppetEnc: {
9
- hostForm,
10
- },
11
- });
12
-
13
- // TODO: the checkForUnavailablePuppetclasses is very nasty
14
- $(document)
15
- .on('change', '.hostgroup-select', evt => {
16
- const form = $('form.host-form')[0];
17
- if (form && form.dataset.id) hostForm.updatePuppetclasses(evt.target);
18
- })
19
- .on('change', '.interface_domain', evt => {
20
- hostForm.reloadPuppetclassParams();
21
- })
22
- .on('change', '.host-architecture-os-select', evt => {
23
- hostForm.reloadPuppetclassParams();
24
- })
25
- .on('ContentLoad', evt => {
26
- hostForm.checkForUnavailablePuppetclasses();
27
- });
28
- $(window).on('load', evt => {
29
- hostForm.checkForUnavailablePuppetclasses();
30
- });