Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
Fixes #10526 - Support for Cisco POAP
Fixes #7096 - Adds STI to templates
This commit converts Ptables to be just another type of Template so itgets the same features as ConfigTemplate. ConfigTemplate was renamed toProvisioningTemplate to reflect UI and the name under it's commonly known.
fixes #7743 - ensure name is unique in scope of major and minor
fixes #9397 - Make usage of @host.operatingsystem in UnattendedController consistent
Changed all host.os to host.operatingsystem
Refs #3809 - Remove cops for empty lines
Fixes #6884 - Installation media without $minor generate broken $version
$version is generated with the major version and a dot, producing pathslike foo.bar/x64/7. which don't exist. For CentOS at least we want to generatea path without the dot. The default values for these media have been changed too.
fixes #8857 - refactor Debian boot_files_uri into parent class to match CoreOS
fixes #7652 - Implements CoreOS OS support
Fixes #8414 - extracts validators from models
Also cleans up some unused validators looking for trailing whitespacethat is stripped by the StripWhitespaces concern.Tried to make some sense from unmatching regexps and validation errormessages. Some validations might need a different regexp to check for what...
Refs #3809 - Remove useless assignments
fixes #7982 - Parameterize Operatingsystem.title to avoid non-alphanumeric characters in title (and friendly_id)
Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead
fixes #7331 - delete unassigned os default templates
Fixes #6695: Adding two OS parameters with same name should raise an error
Fixes #5692 - correct counts in cached_counters
fixes #6636, #6657, #6694 - add field length validations, extend audit field length
Fixes #3377 - Add altlinux support
fixes #3272 - allow 'admin' account to be removed and replaced
fixes #6355 - OS free text search shouldn't search associations
fixes #4664 - shorten OS description for SUSE
fixes #4256 - makes columns sortable in the UI
fixes #4201 - update operating system by label, use description or fallname otherwise
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #3906 - Support for Junos ZTP
fixes #1489 - add AIX family and facts importer support
Fixes #3721 - Map OS family to a display variant
Fixes #3720 - Add description field to operatingsystem
fixes #2818 - validation of OS families in ptables
fixes #3091 - strip leading and trailing whitespace before_save on names of all objects
fixes #2400 migration to remove orphaned records and add foreign keys constraints to database tables
fixes #2932 - add find_by_fullname for Operatingsystem
refs #2400 clean up tests so there are no orphaned foreign keys
WIP rails3 migration
fixes #1077 - Ensure that host OS attributes are related to the OS itself
Fixes #540 - Manages sub proxies
Automates the creation of DHCP, DNS and TFTP settings on remote servers.This handles all required settings in order to prepare a machine for provisioning.
Fixes #366 - Redmine authorization port
This is a major feature which provides RBAC authorization within Foremana mental note to myself - never ever work on large commits
fixes #237 - installing puppet from epel breaks if base image is not 5.3 or 4.9 release
Commented failing test due to unimplemented validation in OperatingSystem.
refactored the trailing spaces test and added parameter test
added before_destroy :ensure_not_used test on RED
refactoring tests
operatingsystem tests refactored on green
refactor
Operatingsystem tests on green
updated migrations to use puppet Rails function of creating the db schema, adjusted what ever it took to get the first Fedora 11 client installed with our kickstart