fixes #100 - Setting is now a ActiveRecord object
This allows users to manage foreman settings via the UI.
the UI is a bit ugly, but works :)
Fixes #756 - Foreman should now detect changes in puppet.conf (eg: environments) when importing classes
Signed-off-by: Marcello de Sousa <foreman-dev@area151.com>
Fixes #565 - rake puppet:import:puppet_classes misses some changes
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
fixed broken tests
added default order and paginations whichfixes #721fixes #688
fixes #698 - Searching for puppetclass in json format gives 500 error
Fixes #378 - Adds support for multiple configuration templates
Configuration templates (Kickstart, preseed, syslinux, gpxe etc) can nowbe saved in the database directly.
Each template is associated with valid operating systems (unless if its asnippet which can rendered via all other templates) and a possible...
Fixes #450 - Environment imports lose their puppetclass associations
Fixes #386 - Updated rake puppet:import_classes to support the new API
The rake task now queries for the changes and then performs the update.
Some additional sanity checking is performed in the execution phase.
A batch mode is provided via rake puppet:import:puppet_classes[true]. When...
Environment JSON API should return the environment ID as well
Fixes #239 - Erases environments and puppetclasses
The fix also includes a page in which the use selects the additionsand removals which they would wish to apply to their database.Errors are reported and an opportunity is given to reapply the changes.
fixes #305 - puppetclass importer should try harder
fixes #301 - Disallow deletion of Environment when hosts are using it
fixes #302 and all references to_label and to_sremoved references to all per_page settings as they are common now
Fixes #256 - Environment names should be alphanumeric
Fixes #204 - Remove AS from environments page
Merged import facility in Environment and Puppetclass controllers
switches global setting var to be a constant var - refs #100
fixes #121 - rake task might import a 'main' class
fixes #81 - Rake does not import classes from modules when not using the environment statement in puppet.conf
fixes #21: this adds support from module path under the setting file and provides a fallback to /etc/puppet/modules
hopefully fixing #5 for good
fixes #5
moved hardcoded URLS into url_path
If no environments are used, we import the default production one
added import of puppet classes
Add support for multiple puppet classes per host / operating system / environment etcthis should enable a proper dropdowns when creating the gui part that shows possible puppet class / operating system / env combinations
fix external nodes to actully work with multiple puppet classes...
fixed wrong env name variable, fixed wrong RHE version (2 instead of 3)
realigned models to use :though and habtm when it made sense, setup basic AS controllers to support that