Refs #3809 - Remove cops for empty lines
fixes #3249 - change regex syntax from start/end of line to start/end of string
upgrade foreman to rails 3.2.13
This commit updates from rails 3.0.x to 3.2.x, main changes include:
Users who uses foreman in production, make sure that you now compileyour assets, e.g...
fixes #2324 Refactoring of Host STI
Allows plugins to render a different STI-type edit form and savethe changed type. Also allows the /fact_values upload to specifya type. Adds tests for the STI type changes.
fixes #2254 - Add STI to hosts table
Signed-off-by: Joseph Mitchell Magen <jmagen@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
fixes #1988 - CRUD Actions for nested parameters for host, domain, hostgroup, os
e.g.
GET /api/domains/6/parametersPOST /api/hosts/6/parametersPUT /api/hostgroups/6/parameters/100DELETE /api/operatingsystems/6/parameters/100
fixes #2193 SQL error on Postgres 9.1 for classes_from_storeconfigs
ensures rails does not complain on migration, unsure of why its required
fixes #2001 - Changing Loc or Org after compute resource selection give 500 error
Fixes #1880 - Build button (or any with the disabled attribute) shouldn't be clickable
added puppet location and organization parameters
fixes #1814 - converts sp_* attributes into a BMC interface class
this patch also includes the following
fixes #2072 Foreman complains about medium etc when deploying to Image based providers(EC2/OpenStack/RackSpace..)
refs #1890, typo
fixes #1890 api host status
fixes #1834 to get foreman running under ruby 1.9.3
fixes #2023 - Don't try to save os=nil in the fact importer
I've tried to address all possible places where empty set of facts (e.g. wedont have the facts just yet as its a brand new install) could lead to theoperating system value disappering.
i believe the issue happened because of a boolean == string compareing (e.g....
fixes #1353 added custom hook when host build mode changes
see http://theforeman.org/projects/foreman/wiki/Custom_Hooks_in_Plugin
fixes #2003 - Improve Parameterized classes values retrieval time
This patch adds a new classification class whichtries to fetch all values at once
The initial implementation cared about a name / value at a timehowever getting all at once (e.g. during a puppet ENC call) is much more...
SQL improvments for paramaters in host edit section refs #2003
oops, fixed typos
Minor optimization
Since we are looking for the ID and the join table includes the IDthere is no reason to actaully fetch the data table it self.
Add organization and location to foreman.
This feature allows foreman to provide multi location, multi tenant andmulti organizations capablities.
the idea is that resources within foreman (e.g. hosts, subnets, users,environments etc) can belong to one or more locations and organization,...
fixes #1957 - remove old libvirt hypervisors code
Since foreman 1.0 libvirt hypervisors are now part of compute resourcesthis patch removes the old code and migrate any existing hypervisors tobe libvirt based compute resources.
allows accessing token value from safe mode rendering
also added to_s method, just in case someone would do <%= token %>
add subnets to safemode rendering
fixes #1028 - show and override puppet class parameters in the host form.
refs #1892 - make sure hosts objects are not READONLY
(rails by default when using scope with joins set the records to readonly)
fixes #1892 - auto generate provisioning tokens based on build state
Use tokens for discovery of host identity during installation
- fixes #1069- fixes #1720- refs #969
fixes #832 - adds parameterized class support
Credits:This patch is based on the original work of Olivier Favre<olivier@yakaz.com> many many thanks!
fixes #1847 Ensure main and Settings aren't shown on the puppetclasses page linked to from the host page
Fixed typo in the word 'associations'
refs #1843 normally facts base hash has no certname.
this will make sure we don't fetch the wrong host (without a certname) by mistake.
refs #1843 - adds missing lookup
fixes #1843 - Accepts a plain hash as facts source
make sure usernames are not in the logs
[SQL optimizations] - many small optimizations
fixes #1752 - fixes clone from keeping internal data (such as vm external uuid).
dont enforce host domain validations on non managed hosts
fixes #1165 add inherited params display and override option to the host form.
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
fixes #1716 - remove whitespace from hostname
fixes #1710 - Hosts json index function returns too much
fixes #1586 -Root password inheritance doesn't seem to work properly
wip audits upgrade
we don't change mac/ip by default
This seems to be a bit tricky as facter not always report the correct mac.
managed hosts will not be auto updating by default, however one could stilldefine the ignore_puppet_facts_for_provisioning settings.
fixes #1115 Host parameters are not available via the API
ensure that facter mac addressed and formatted correctly when imported into foreman
ptable, arch and medium errors where not always visible in the UI when saving a host
renamed the parameter queuename to progress_report_id to reflect the fact thatwe now have multiple queues in a single progress report.
fixes #1670 - Model / OS on "Hosts" page not getting updated properly
fix error in validation for new compute hosts
Add compute resource attributes to provisioning templates refs #1223
fixes #1597 - Restrict compute resources access by user
And add some rights to give non admin users so they can perform some normal actions on the hosts they own.
unit/domain_parameter_test.rb self-broke... added a tiny fix.Removing compute_resources/vms nesting, it is such a nightmare for functional tests....
adds ec2 provisioning support fixes #1223
- added progress bar for instance creation- minor fixes for certname based deployments- added ssh provisioning support to orchestartion, which utilize finish scripts by default- added images support (part of the vm compute tab)...
Refactor my_hosts and my_facts scopes to include auth checks
fixes #137 - Better support for non-hostname certnames
This patch introduce a new setting :use_uuid_for_certificates whichdefaults to false.
users who wish to deploy their hosts using a random unique id, shouldenable that setting, and use the certname directive in their puppet.conf...
Changes to dashboard statistics. Fixes #1617
refs #1503, ensures that puppet proxy is not required if you are not provisioning
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
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