foreman_puppet 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +61 -7
- data/app/controllers/concerns/foreman_puppet/environments_import.rb +1 -1
- data/app/controllers/concerns/foreman_puppet/extensions/hostgroups_controller_extensions.rb +1 -1
- data/app/controllers/concerns/foreman_puppet/extensions/hosts_controller_extensions.rb +1 -1
- data/app/controllers/concerns/foreman_puppet/extensions/parameters_host.rb +3 -10
- data/app/controllers/concerns/foreman_puppet/parameters/puppetclass_lookup_key.rb +2 -2
- data/app/controllers/foreman_puppet/api/v2/config_groups_controller.rb +4 -0
- data/app/controllers/foreman_puppet/api/v2/environments_controller.rb +4 -0
- data/app/controllers/foreman_puppet/api/v2/host_classes_controller.rb +4 -0
- data/app/controllers/foreman_puppet/api/v2/hostgroup_classes_controller.rb +4 -0
- data/app/controllers/foreman_puppet/config_groups_controller.rb +4 -0
- data/app/controllers/foreman_puppet/puppet_smart_proxies_controller.rb +4 -0
- data/app/controllers/foreman_puppet/puppetclass_lookup_keys_controller.rb +2 -2
- data/app/controllers/foreman_puppet/puppetclasses_controller.rb +3 -2
- data/app/helpers/foreman_puppet/environments_helper.rb +1 -1
- data/app/helpers/foreman_puppet/hosts_helper.rb +15 -0
- data/app/helpers/foreman_puppet/puppetclass_lookup_keys_helper.rb +2 -2
- data/app/models/concerns/foreman_puppet/extensions/host.rb +19 -8
- data/app/models/concerns/foreman_puppet/extensions/hostgroup.rb +5 -5
- data/app/models/concerns/foreman_puppet/extensions/provisioning_template.rb +2 -2
- data/app/models/concerns/foreman_puppet/extensions/report.rb +18 -0
- data/app/models/concerns/foreman_puppet/extensions/template_combination.rb +1 -1
- data/app/models/concerns/foreman_puppet/extensions/user.rb +19 -12
- data/app/models/foreman_puppet/environment_class.rb +1 -1
- data/app/models/foreman_puppet/host_class.rb +1 -1
- data/app/models/foreman_puppet/host_puppet_facet.rb +4 -3
- data/app/models/foreman_puppet/puppetclass.rb +13 -1
- data/app/services/foreman_puppet/puppet_class_importer.rb +14 -14
- data/app/views/foreman_puppet/common/_puppetclasses_or_envs_changed.html.erb +62 -0
- data/app/views/foreman_puppet/environments/index.html.erb +1 -1
- data/app/views/foreman_puppet/environments/welcome.html.erb +1 -1
- data/app/views/foreman_puppet/puppetclasses/_classes.html.erb +1 -1
- data/app/views/foreman_puppet/puppetclasses/_selected_classes.html.erb +1 -1
- data/app/views/foreman_puppet/puppetclasses/index.html.erb +1 -1
- data/app/views/hosts/_form_puppet_enc_tab.html.erb +1 -1
- data/app/views/hosts/select_multiple_environment.html.erb +1 -1
- data/db/migrate/20200803113903_migrate_host_type_in_host_config_groups.foreman_puppet.rb +2 -2
- data/lib/foreman_puppet.rb +2 -2
- data/lib/foreman_puppet/engine.rb +7 -3
- data/lib/foreman_puppet/register.rb +4 -3
- data/lib/foreman_puppet/version.rb +1 -1
- data/locale/Makefile +1 -1
- data/locale/en/LC_MESSAGES/foreman_puppet.mo +0 -0
- data/locale/en/foreman_puppet.po +18 -6
- data/locale/foreman_puppet.pot +19 -3
- data/test/controllers/foreman_puppet/api/v2/environments_controller_test.rb +1 -1
- data/test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb +1 -1
- data/test/controllers/foreman_puppet/api/v2/provisioning_templates_controller_test.rb +32 -0
- data/test/controllers/foreman_puppet/environments_controller_test.rb +1 -1
- data/test/factories/foreman_puppet_factories.rb +3 -0
- data/test/integration/foreman_puppet/puppetclass_js_test.rb +3 -0
- data/test/models/foreman_puppet/host_puppet_facet_test.rb +34 -1
- data/test/models/foreman_puppet/host_test.rb +1 -1
- data/test/models/foreman_puppet/provisioning_template_test.rb +16 -16
- data/test/models/foreman_puppet/report_test.rb +21 -0
- data/test/models/foreman_puppet/user_test.rb +29 -0
- data/test/services/foreman_puppet/host_info_providers/puppet_info_test.rb +159 -161
- data/test/unit/foreman_puppet/puppet_class_importer_test.rb +13 -1
- metadata +48 -42
- data/locale/en/foreman_puppet.edit.po +0 -911
- data/locale/en/foreman_puppet.po.time_stamp +0 -0
File without changes
|