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.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/foreman_puppet/engine.rb +1 -0
- data/lib/foreman_puppet/register.rb +2 -2
- data/lib/foreman_puppet/version.rb +1 -1
- data/package.json +7 -7
- data/test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb +6 -2
- data/test/models/foreman_puppet/host_test.rb +6 -0
- data/webpack/global_index.js +11 -0
- data/webpack/index.js +0 -7
- data/webpack/legacy.js +31 -0
- data/webpack/src/Extends/Fills/index.js +26 -0
- data/webpack/src/Extends/Host/PuppetTab/Routes.js +46 -0
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/ENCTab.js +61 -0
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js +56 -0
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/EmptyPage.js +20 -0
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/components/DescriptionCard.js +88 -0
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/index.js +50 -0
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/styles.scss +7 -0
- data/webpack/src/Extends/Host/PuppetTab/constants.js +8 -0
- data/webpack/src/Extends/Host/PuppetTab/helpers.js +3 -0
- data/webpack/src/Extends/Host/PuppetTab/index.js +51 -0
- metadata +62 -88
- data/locale/ca/foreman_puppet.edit.po +0 -1221
- data/locale/ca/foreman_puppet.po.time_stamp +0 -0
- data/locale/cs_CZ/foreman_puppet.edit.po +0 -1208
- data/locale/cs_CZ/foreman_puppet.po.time_stamp +0 -0
- data/locale/de/foreman_puppet.edit.po +0 -1300
- data/locale/de/foreman_puppet.po.time_stamp +0 -0
- data/locale/en/foreman_puppet.edit.po +0 -998
- data/locale/en/foreman_puppet.po.time_stamp +0 -0
- data/locale/en/foreman_puppet.pox +0 -0
- data/locale/en_GB/foreman_puppet.edit.po +0 -1197
- data/locale/en_GB/foreman_puppet.po.time_stamp +0 -0
- data/locale/es/foreman_puppet.edit.po +0 -1275
- data/locale/es/foreman_puppet.po.time_stamp +0 -0
- data/locale/fr/foreman_puppet.edit.po +0 -1290
- data/locale/fr/foreman_puppet.po.time_stamp +0 -0
- data/locale/gl/foreman_puppet.edit.po +0 -1203
- data/locale/gl/foreman_puppet.po.time_stamp +0 -0
- data/locale/it/foreman_puppet.edit.po +0 -1233
- data/locale/it/foreman_puppet.po.time_stamp +0 -0
- data/locale/ja/foreman_puppet.edit.po +0 -1223
- data/locale/ja/foreman_puppet.po.time_stamp +0 -0
- data/locale/ko/foreman_puppet.edit.po +0 -1197
- data/locale/ko/foreman_puppet.po.time_stamp +0 -0
- data/locale/messages.mo +0 -0
- data/locale/nl_NL/foreman_puppet.edit.po +0 -1228
- data/locale/nl_NL/foreman_puppet.po.time_stamp +0 -0
- data/locale/pl/foreman_puppet.edit.po +0 -1238
- data/locale/pl/foreman_puppet.po.time_stamp +0 -0
- data/locale/pt_BR/foreman_puppet.edit.po +0 -1281
- data/locale/pt_BR/foreman_puppet.po.time_stamp +0 -0
- data/locale/ru/foreman_puppet.edit.po +0 -1240
- data/locale/ru/foreman_puppet.po.time_stamp +0 -0
- data/locale/sv_SE/foreman_puppet.edit.po +0 -1205
- data/locale/sv_SE/foreman_puppet.po.time_stamp +0 -0
- data/locale/zh_CN/foreman_puppet.edit.po +0 -1212
- data/locale/zh_CN/foreman_puppet.po.time_stamp +0 -0
- data/locale/zh_TW/foreman_puppet.edit.po +0 -1197
- data/locale/zh_TW/foreman_puppet.po.time_stamp +0 -0
- data/webpack/fills_index.js +0 -30
File without changes
|
data/webpack/fills_index.js
DELETED
@@ -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
|
-
});
|