added a scope per proxy feature
make sure usernames are not in the logs
[SQL optimizations] - many small optimizations
api v1 - Users controller and tests
- split api routes to separate routes file- better detection of permission failure in model- fix ApiConstraints- catch bad routes in api and return json- render home#index links from restapi- fixed resource params recognition
api v1 - render errors with rabl
better detection of permission failure in modelfix ApiConstraintscatch bad routes in api and return json
fixes #1738 Puppet Runtime charts look very messed up.
fixes #1765 - changing a conflicting IP address might lead to losing DNS or DHCP records
require_nfs_access method should not be a private method.
basic openstack support
fixes #1752 - fixes clone from keeping internal data (such as vm external uuid).
fixes #1751 - ReportCommon#status fails on ruby 1.9
dont enforce host domain validations on non managed hosts
refs #1589, ensure that vmware public key is automaticilly imported when testing connection
fixes parameters whitespace validations
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
disk layout should really not be unique.
fixes #1677 - Fact pie chart alters fact strings to lower case
fixes #1638 - remove whitespaces for user email instead of validation error
added commit comment, history and preview to the template editor.
refs #1586 - ensures that hostgroup hierarchy order is processed correctly
facter sometime send wrong mac address with bonded nics,
This patch is kind of a workaround to ensure we dont override valueable information.
fixes #1707 - db:migrate fail on in bookmark.rb with ruby1.9
fixes #1710 - Hosts json index function returns too much
fixes #1642 Puppet Runtime chart shows nothing.
incorrect error message shown when trying to rename the admin account
auto updaet debian / ubuntu release names from facts.
Added OS Family attribute to Partition Tables and Installation Medium
Do not enable auditing while executing rake tasks / migrations
fixes #1613 - Email address format validation preventing admin user creation
audit with association.
fixes #1649 Puppet class and environment import works only on the first smart-proxy
fixes #1586 -Root password inheritance doesn't seem to work properly
fixes #1544 - Updating a host fails if you cannot reach the SOA nameservers
audit as twitter and versions for template.
This also closes #1377 as it offer versions and diff view of the tempates.
it is not ideal, but it should handle the most common case for now,where we should open other feature requests to support all of the ideas in #1377
wip audits upgrade
fixes #1691 - allow searching for fact values for hosts inside a hostgroup
Fixes puppetclasses search with pg database
The request is sorting the results on a field that isn't in the DISTINCTSELECT'ed columns and pg doesn't like it.Fixes #1607
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
don't allow to delete a provisioning template when its assigned to an OS default template
ensure that facter mac addressed and formatted correctly when imported into foreman
ensure that you can't delete a compute resource while its used - fixes #1683
ptable, arch and medium errors where not always visible in the UI when saving a host
code comments typos
ensure that autosign entries are removed when using ssh based provisioning.
this is required, as we changed the ssh part to be post db commit.
configTemplate returns nil if a template is not found
added classes-filter to the puppet classes selection page. fixed the selected classes sort.
also fixes #1675
Since ssh script now runs post commit, we can not update any attributes within the save method
moved ssh provisioning to post transaction queue
progress reports both queues
renamed the parameter queuename to progress_report_id to reflect the fact thatwe now have multiple queues in a single progress report.
ensure that we don't upgrade debians arch incorrectly - refs #1670
fixes #1389 Add bookmark support for pages which are not in the main dialog
fixes #1667 - restrcutre fog extensions code
fixes #1670 - Model / OS on "Hosts" page not getting updated properly
[EC2] Adds retry on host not available, add some useful debugging.
- debugging, to get the whole message- add backtrace to compute resource failure msg- add debug logging for Fog errors on create
fixes #1351 New smart variable and match cannot be entered at same time.
fix error in validation for new compute hosts
when libvirt is not enabled, compute resource provider name is incorrect.
fixes #1669 - epel is now a snippet.
This adds another method to install the epel repo, as a snippet,allowing users to customly change the url, in case that it doesn't fittheir needs or if the url changes again.
to use, simple use:
<%= snippet "epel" %>
fixes #1575 error 404 on dhcp proxy
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....
fixes incorrect DNS conflict detection
fixed ui for adding and removing ovirt volumes.when creating a vm from template, if there was an error in theform. the vm volumes didnot display correctly.adding and removing volumes in the same submit action did not function well too.
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)...
fixes #1575 - incorrect error message is shown
Refactor my_hosts and my_facts scopes to include auth checks
Fix privacy leaks in stats, facts, and dashboard - fixes #1582
Add AIF pxe type - refs #1620
fixes #1620 - Basic support for Archlinux
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
Compute Resource menu was shown only if libvirt bindings were installed
fixes #1609 - REST API calls /hosts/:id/puppetclasses fails for hosts with same class assigned directly and through host group
refs #1503, ensures that puppet proxy is not required if you are not provisioning
fixes #1600 - records are deleted even though host is not Managed
fixes #1566 - Puppet CA set incorrectly when only one proxy is defined
fixes #1254 - initial support to pxeboot windows
removed puppet from Gem file requirement
this commit also tries to simplify the way we use bundler, in future commits,we should add more logic of which gems to load based on configration file.
make sure foreman doesnt blow up when running without libvirt / virt gems
ensure facts importer works correctly also when importing from a report / rake task
ensures populate hosts rake task can run correctly
fixes #1574 - ovirt - add remove and show volumes
refs #1452 - cant change values while in orcehstation as its already a frozen hash
fixes #1452 use fog for libvirt management
This patch introduces a few new features:
first go at vmware integeration refs #955
this patch adds the ability to add a vmware compute resource, and display their console
fix for undefined constant virt error when running
When unattended is set to false, foreman is unable to run correctly.
This patch loads virt gem anyway (as bunder force it to be installed),this is not ideal, but since we are migrating away from virt to use...
fixes minor ovirt validation bug
Add Connection testing for EC2 compute
fixes #1540 added suport for provisioning on ovirt/rhvem using fog.
This patch addes a compute resource concept within foreman
fixes #1538 - allow to search hosts based on their puppet master
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
refs #1503 better handling of migrating to puppet proxies
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