ensure facts importer works correctly also when importing from a report / rake task
ensures populate hosts rake task can run correctly
fixes minor ovirt validation bug
fixes #1540 added suport for provisioning on ovirt/rhvem using fog.
This patch addes a compute resource concept within foreman
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
code smell
Fixes #944 - clear network conflicts
When a network conflict is detected (such as conflicting ip/name dns ordhcp records), foreman would try to suggest a resolution.
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
expose puppet_ca settings to puppet.
this also introduce it as an ENC variable just in case you want to use it in puppet.conf template
fixes #1533 - depreciate usage of puppetrun or a tftp server without a proxy
fixes #808 - Add smart-proxy puppetrun to foreman
fixes #1503 - When creating a host, it should be possible to define a Puppet CA and a Puppet Master to use
fixes #1530 - Disabling puppet env in ENC is now a configurable.
refactor - added an importing class for puppet facts
fixes #1265 - Parition tables can't access @host
fixes #1451 - Host creation fails if ":tftp_servername:" is set in proxy-settings
fixes #1376 - Unattended installation without TFTP integration
fixes #1313 ensure all host names are lowercased
Signed-off-by: Florian Koch <florian.koch1981@googlemail.com>
fixes #1176 - SLES still did not display correct minor version
fixes #1422 - Media is greyed out when creating Solaris hosts
fixes #1176 - SLES (SUSE) operatingsystem not displaying minor version
Revert "Fixes #944 - clear network conflicts"
This reverts commit 117ba92a758e4589ef5fdf1f1b9083402b2d317b.
fixes #1385 - <%= @host.architecture %> macro
fixes #402 - Add noops/pending to metric handling, and provide pending hosts for dashboard views.
This change adds the ability to see noops in metric reports insideforeman graphs, charts and lists. The business reason for this is to allowusers to run their puppet agents in noop mode, and see where nodes have...
WIP rails3 migration
<%= @host.architecture %> not available in templates
Signed-off-by: Frank Sweetser <fs@wpi.edu>
Fixes #1298 - Make the run distribution chart appear within the same scope as the rest of the dashboard
Signed-off-by: Tim Speetjens <tim.speetjens@gmail.com>
un-obtrosive js for the show host charts.
fixes #1276 - Non intrusive javascript pie and bar
refs #1151 Fix the scopes so they behave as expected and Adapt dashboard pie data to the corrected scopes
fixes #1257 - various fixes around bcm dhcp record
refs #1257 - added missing model definition
fixes #1269 - do not enforce assoication validations on non managed hosts
fixes #1262 - Node.rb fails when host has no owner
fixes #1219 - <%= shortname > and <= domain %> not available in PXELinux template
new UI for foreman
adds host description as an ENC parameter refs #1179
refs #1179 - hostname name in enc should include its parents too
fixes #1179 - exposes foreman attributes in encthis includes:
fixes #1135 - missing "good" systems with skipped resources in dashboard report
Fixes #1133 - Support configurable exportable "facts" (as tags) and "username" to rundeck
Signed-off-by: Marcello de Sousa <foreman-dev@area151.com>
fixes #1056 - Rundeck url doesn't work when ldap auth is active
fixes #1134 - Multiple host exporting formatting for rundeck not correct
fixes #1147 - fail to update hosts when running with unattended mode disable
fixes #1057 - Allow foreman search to output multiple hosts when outputting to rundeck
refs #1128 - ensure that parameters cache is cleared between tests
fixes #1128 - Ability to match on Parameters in Smart Variables
fixes #1127 - add ip auto discovery when none is defined
fixes #1122 - extracted common REGEXPs
fixes #1120 - Replaced DHCP functionaitlity by the new net dhcp record classes
fixes #1111 - search auto completer should not suggest hosts which are not visible to the current user
Fixes #1086 - Add smart-variables to params output for templating
refs #1085, order matters if the host params is a short name instead of fqdn
fixes #1085 - add default domain and subnet settings to hostgroups
fixes #1091 - hosts should not use pre initializer for users
fixes #1087 - removes code duplication between Reports and Hosts
fixes #724 - Allow default VM specs to be tied to a hostgroup
fixes #762 - Check class assignment consistency
fixes #1077 - Ensure that host OS attributes are related to the OS itself
fixes #1078 - Foreman should accept minimal parameters when creating a new host
fixes #1058 Adds support for OpenSuSE provisioning
Fixes #989 - Add Sparc Solaris support
Fixes #636 - Update environment from facts
wrong puppetca condition - refs #1043
fixes #1044 - Adds ERB templates to disk layouts
fixes #1043 - make autosign optional
fixes #777 - this enable auditing of when a host is changing its puppet class assignmetns
one limitation of this patch is that at the moment, each class changegets its own audit record.
fixes #1029 - allows smart variables to be resolved via http get request.
this would allow to an external query to resolve a variable value to a given host.
e.g.http://foreman/hosts/<fqdn>/lookup_values/<variable_name>
fixes #322 Ability to add custom variables and multiple values resovledin a dynamic Hierarchally order
This commits introduces the ability to define variables per puppetclass.
additionally, each class can have multiple values, depends on the hostwhich is requesting that variable....
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 #35 - Allow hostgroup nesting for puppet classes and parameters
Fixes #820 - Intel Solaris support
fixes #973 - Error 500 when click "All Puppet Classes"
fixes #903 - Show resulting provisioning options at the Host edit screen
fixes #930 - Skipped resources should not put systems in 'error' state
fixes #899 - There are numerous typos and formatting issues with the code
fixes #285 - Use Charting system which can work offline
additionally, main menu buttons and bookmarks drop down are easier to handle and read
fixes #839 - Disable (grey out) "build" button for unmanaged hosts
fixes #769 - host groups passwords are stored in their non encrypted form in the database.
fixes #841 - unmanaged hosts still require ip/mac address
Addresses #830 - set host model from facter for virtual guests
adds search to hosts refs #719
fixes #759 - populate hosts fails if the host has no mac-address
fixes #801 - Strip carriage returns from all partition tables
Fixes #789 - External node interpolation of puppetmaster
fixes #765 - puppetmaster name is no longer resolved after #609
Fixes #758 - Respond_to typo
Fixes #609 - Orchestrate puppetca operations
This also includes adding support for a puppet smart-proxy target typeand providing migration supportUpdated to provide backward compatability for host and hostgroup objectsNow terminates the build and incorporates other fixes...
fixes #702 - remove pxe-config-link when changing the mac address
this also ensures that the legacy TFTP system won't be called once a smart proxy is in use.
fixes #681 - with_fact named scope can't be used with more than one fact name and value pairs
Fixes #642 - Redo managed host implementation
fixes #708 - Perform case insensitive match when checking if hostname includes domain
Fixes #653 - adds ip and mac to host whilelist for template rendering
enforce mac address validation - refs #648
fixes #648 - libvirt validations errors even if libvirt hypervisor isnot selected
Fixes #631 - Adds the ability to set default values for hostgroups, whichare automatically applied when creating a new host (and selecting thathost group), and allows for templates to be rendered with those defaulthostgroup values
fixes #604 - making safemode template rendering configurable
Fixes #452 - Host's owner should default to the logged in user
fixes #605 - remove parenthesize argument(s) warnings
fixes #603 - mac address validations logic for virtual hosts is broken