Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
67110766 06/19/2018 02:13 PM Lukas Zapletal

Fixes #21007 - new unattended action 'failed'

fcc2b55d 06/15/2018 07:25 AM Lukas Zapletal

Fixes #23768 - keep_subnet flag to prevent subnet override (#5635)

9d43fc71 06/14/2018 12:05 PM Michael Moll

Fixes #19789 - fix Layout/SpaceAroundOperators cop

630061d2 06/14/2018 09:50 AM Michael Moll

Fixes #19775 - Fix Layout/ExtraSpacing cop

9e1851e4 06/13/2018 10:21 AM Tomer Brisker

Fixes #23913 - Stop auditing host status updates

e0910b7e 06/12/2018 03:06 PM Michael Moll

Fixes #23857 - Fix Performance/InefficientHashSearch cop

e18361ce 06/06/2018 12:00 PM Lukas Zapletal

Fixes #23800 - i18n for exceptions fixed

1d1e4dab 05/19/2018 02:54 PM Ewoud Kohl van Wijngaarden

Fixes #23646 - Remove storeconfig leftovers

In Foreman 1.1 sharing the database with Puppet's storeconfigs was
deprecated. We've given users sufficient time to migrate away from it
and possibly broke it along the way. I haven't checked.

68388bc2 04/26/2018 04:29 PM Michael Moll

Fixes #19781 - Fix Layout/LeadingCommentSpace cop

401a54db 04/23/2018 11:31 AM Lukas Zapletal

Fixes #23331 - grouped permissions for host disabled (#5468)

02a26515 04/12/2018 06:46 PM Ondřej Pražák

Fixes #15411 - Move smart_proxy_ids_for to Host

3cd8c84b 04/11/2018 07:21 AM Michael Moll

Fixes #19787 - Fix Layout/SpaceAfterComma cop

b03dcd1b 04/05/2018 11:56 AM Michael Moll

Fixes #23081 - Fix Style/SafeNavigation cop

ee360810 04/05/2018 11:56 AM Michael Moll

Fixes #19894 - Fix Style/RedundantParentheses cop

90361fa8 04/05/2018 11:56 AM Michael Moll

Fixes #19796 - Fix Layout/SpaceInsidePercentLiteralDelimiters cop

74275f51 04/05/2018 11:56 AM Michael Moll

Fixes #19840 - Fix Rails/ReadWriteAttribute cop

85021506 04/05/2018 11:56 AM Michael Moll

Fixes #19839 - Fix Rails/Present cop

20b2ec5b 04/05/2018 11:56 AM Michael Moll

Fixes #22331 - Fix Rails/Presence cop

8ac0ffd9 04/05/2018 11:56 AM Michael Moll

Fixes #19832 - Fix Rails/FindBy cop

a03e5341 03/22/2018 07:15 PM Marek Hulán

Fixes #22918 - Audit all taxonomies assignments

We need to move all audited definitions to top of models because all
concerns can use audit_associations call which relies on audit being
already activated.

f2ac9055 03/21/2018 08:42 PM Lukas Zapletal

Fixes #22796 - fact importing telemetry

348ec9c0 03/09/2018 07:46 PM Sebastian Gräßl

Fixes #22779 - Calculate out of sync host via origin interval (#5221)

3de2d5aa 02/19/2018 02:34 PM Michael Moll

Fixes #22104 - adapt to Rails 5.1 change tracking

da9865b8 01/15/2018 04:28 PM Michael Moll

Fixes #19907 - Configure Style/TernaryParentheses cop

89380cc2 01/11/2018 11:51 AM Ondřej Pražák

Fixes #13092 - Deploy correct bonding for reprovisioned host (#4583)

d5d2d63f 01/04/2018 08:26 PM Ondřej Pražák

Fixes #5790 - Add compute resource to hostgroup (#4593)

4efcf484 12/19/2017 03:22 PM Ondřej Pražák

Fixes #21851 - Remove deprecations for 1.17

bdd294fe 12/17/2017 03:18 PM Ondřej Pražák

Fixes #21760 - Fix tests on Rails 5.1

d4eee3e5 12/17/2017 01:29 PM Timo Goebel

fixes #21947 - host scopes include table name

69205f5c 12/15/2017 03:34 PM Tomer Brisker

Fixes #19772, #19773, #19774 - Fix some empty line cops

66e83407 12/11/2017 10:11 PM Dominic Cleal

Fixes #21103 - Replace 'false' AR callback results with throw

bd33211d 11/29/2017 02:00 PM Fabian von Feilitzsch

Fixes #21565 - Orchestration on fact import

This adds the enable_orchestration_on_fact_import setting, which allows
a user to make Foreman perform host orchestration operations when a
host is updated from puppet fact upload

700b555c 11/14/2017 07:45 AM Lukas Zapletal

Fixes #19151 - progress_report_id fix for host edit

b1438ff0 09/27/2017 02:39 AM Ivan Necas

Fixes #21037 - use Host::Base as auditable_type

Otherwise, we are hitting "Invalid single-table inheritance type:
Host::Discovered is not a subclass of Host::Managed" when converting the
host from discovered to managed.

715d097c 09/26/2017 03:18 PM Shimon Shtein

Fixes #15409 - Separated puppet facts from core

38964973 09/22/2017 11:45 AM Dominic Cleal

Fixes #20957 - Replace alias_method_chain with Module prepend

Deprecated in Rails 5.0 and will be removed in 5.1. Some instances of
classes overwriting existing methods can be handled with `super`, other
concerns or modules are changed to use prepend instead of include....

ceeb3926 09/19/2017 03:40 AM Dominic Cleal

Fixes #20955 - Remove conditions to {destroy, delete}_all calls

ff1e9ffc 09/18/2017 10:50 AM Dominic Cleal

Fixes #20950 - Use 'distinct' in AR finders

fb31c426 09/18/2017 09:45 AM Dominic Cleal

Fixes #20956 - Don't pass class constants to AR conditions

2d2390b5 09/15/2017 11:45 AM Timo Goebel

fixes #20653 - ui notifications for hosts with usergroup owner

558a7590 09/07/2017 05:32 AM Nagoor Shaik

Fixes #20516 - GET hosts API displays owner_name attribute

be670616 08/24/2017 04:56 AM Lukas Zapletal

Fixes #20622 - puppet import does not refresh all statuses

c8f5cd53 07/31/2017 06:20 AM Tomer Brisker

Fixes #20248, #20327 - Respect context in CSV export

Since CSV export is done using an enumerator which is executed by a
different thread to the one that creates it, we need to manually pass in
the context (user, location, organization) to the enumerator.

959d3847 07/25/2017 07:07 AM Daniel Lobato Garcia

Fixes #20401 - Allow pxe_loader in the Jail

060d2004 07/09/2017 06:28 AM boaz shust

Fixes #20119 - Be more descriptive when validating hostname

Signed-off-by: Boaz Shuster <>

84fd5ea2 07/06/2017 03:16 PM Tomer Brisker

Fixes #19826 - Fix Rails/ActiveSupportAliases cop

4dec807a 07/06/2017 03:15 PM Tomer Brisker

Fixes #19828 - Fix Rails/Blank cop

I disabled the default UnlessPresent value since sometimes it's clearer
to use `unless attribute.present?` instead of `if attribute.blank?`.

60cf5a37 06/19/2017 05:09 AM Shimon Shtein

Fixes #15711 - Redesigned host info to providers.

Now you can add your own info by registering a
host method that will return info hash.

b8b00a96 04/20/2017 07:56 AM Swapnil Abnave

Fixes #18381 - PXE loader show inherited value in host/hostgroup

4deab2f3 04/12/2017 02:31 AM Lukas Zapletal

Fixes #13772 - orchestration now uses app logger

9ba40b5e 04/10/2017 07:12 AM Tomer Brisker

Fixes #16082 - Associate FactValues with Host::Base

To prevent regression in existing search functionality, this also
requires that the hostgroup relation will be moved to the base class as
well. Since Host::Managed inherits from Host::Base, this should not...

34c2e24e 04/07/2017 08:21 AM Timo Goebel

fixes #17895 - do not import link-local ipv6 addr fact

26c7d10a 03/30/2017 07:37 AM Dominic Cleal

fixes #19087 - create host built notification from Host#built

Comparing the host's installed_at timestamp is unreliable on MySQL
databases, as the timestamp field has a limited granularity. Under Rails
5 in a sub-second test, this field will not be changed....

fd8bf7f1 03/28/2017 04:49 AM Lukas Zapletal

Fixes #15374 - move progress_report_id to Host::Base

28b7dd9f 03/15/2017 12:03 PM Timo Goebel

fixes #18476 - users have ssh keys

ff74c383 03/10/2017 04:52 AM Lukas Zapletal

Fixes #18800 - strong params no longer breaks inherited attrs

a36689ab 03/09/2017 07:45 AM Ohad Levy

fixes #18681 - moves polymorphic subject into notification object

also adds host build, destroyed and missing owner UI notifications

535d2329 03/08/2017 04:40 AM Amir Fefer

Fixes #14013 - add a setting for default owner of new hosts

5f606e11 02/22/2017 03:26 AM Daniel Lobato Garcia

Fixes #16982 - Scope properly when no taxonomies are set

The default scope for hosts and other objects did not restrict
properly by taxonomies. An user without organizations or
locations, could do anything it's permissions allow to.
The list of hosts was unrestricted and showed hosts in...

f6c313fb 02/21/2017 08:12 AM Timo Goebel

fixes #17533 - provision dhcp for bond child macs

91825902 01/26/2017 08:55 AM Timo Goebel

fixes #18102 - a host cannot be backed by the same vm

3fd6a0c1 01/24/2017 06:15 AM Dominic Cleal

fixes #18208 - replace audited-activerecord with audited (#4218)

ec3360d9 01/24/2017 04:13 AM Daniel Lobato Garcia

Fixes #16752 - Extract template code from Host::Managed

Host::Managed contains a lot of code related with determining the
template that a host should have. Other Host objects such as
Host::Discovered might need that logic, without becoming a
Host::Managed....

9883149a 01/11/2017 06:42 AM Amir Fefer

Fixes #6952 - Set hostgroup after provisioning from pxe

After hostgroup provisioning, when the machine has registered
with foreman, it should be in the same hostgroup.
to achieve this behavier, the fact foreman_hostgroup should be
added to hostgroup provisioning template

22439f75 01/04/2017 10:05 AM Daniel Lobato Garcia

Fixes #17680 - templates_used host helper

templates_used contains the names of all of the provisioning templates
kickstart used during a host build. This allows users to be able to
show the name of a provisioning template during PXEBoot, for example

477b6b6b 01/03/2017 04:40 AM Ondřej Pražák

Fixes #16740 - Access host params through macro

9c39317b 01/02/2017 05:24 AM Marek Hulán

Fixes #17886 - move config groups under parameters

997cdccf 12/29/2016 08:11 AM Timo Goebel

fixes #17853 - resolve ips in interface scope

976bf6e0 12/21/2016 10:42 AM Dominic Cleal

fixes #16792 - don't modify AR record attributes in-place

Rails 5 may call #freeze on strings passed in as an attribute during
validation, so attributes must not be edited in-place with gsub! and
similar methods.

ff5900e9 12/13/2016 10:14 AM Trey Dockendorf

Fixes #17257 - Allow specific configs to be recreated

a4fdab63 12/09/2016 08:46 AM Timo Goebel

fixes #15610 - choose firmware for vsphere vms

ef9f2f9d 12/09/2016 03:51 AM Trey Dockendorf

Fixes #6006 - Add options to disable updates from facts

Add option ignore_facts_for_operatingsystem:
do not update system's operating system based on facts
Add option ignore_facts_for_domain:
do not update system's domain based on facts
911c6e9e 12/02/2016 10:14 AM Timo Goebel

fixes #17095 - ensure subnet belongs to ip from facts

86f7f4f5 12/01/2016 05:27 AM Shimon Shtein

Fixes #16987 - Added ability to apply facet attributes

27752930 11/25/2016 02:43 AM Kavita Gaikwad

Fixes #17343 - set deep munge config off

deep_munge was introduced as a solution to keep
Rails secure by default which results in
'empty array becomes nil in params'.
Thats why, set deep_munge config off in application.rb.
Also, added changes which will cast param argument to string...

a8d5cb3c 11/08/2016 07:00 AM Lukas Zapletal

Fixes #17006 - added SSH BMC provider

74002ce3 11/07/2016 03:03 PM Justin Sherrill

Fixes #16546 - update facts on existing hosts

when create_new_host_when_facts_are_uploaded is set to false

350c9f8f 11/03/2016 11:42 AM Timo Goebel

fixes #17071 - set ip after acquiring compute details

9e52b97b 11/02/2016 02:56 AM Marek Hulán

Fixes #17103 - search ignored taxonomies

When searching for ProvisioningTemplate we should respect also host
taxonomies ignore list.

525e3213 10/31/2016 04:27 AM Dominic Cleal

fixes #16866 - don't call orchestration skip if unattended is off

a390cfb7 10/24/2016 05:05 AM Timo Goebel

fixes #17041 - skips orchestration when importing facts

The orchestration callbacks only run if unless :skip_orchestration?,
however skip_orchestration? is not a method for Nic::Managed causing the
callbacks to always run, even if importing facts.

4090ccb5 10/13/2016 05:44 AM Daniel Lobato Garcia

Fixes #6492 - ipmi_boot permission renamed to ipmi_boot_hosts

Authorizer expects permission names to follow a convention
'action'_'controller'. However this permission was not following it, and
this prevented the permission from being applied properly.

Before this fix, only admins could call ipmi_boot. I've also added a...

a4d7a037 10/07/2016 02:51 AM Marek Hulán

Fixes #12864 - verify host owner taxonomies

4d0870ad 10/04/2016 12:38 PM Dominic Cleal

fixes #16749 - improve NIC update performance during fact imports

- In get_facts_for_interface, replace regexes in hash key filtering
with simple String methods and simplify hash construction
- Change logger.debug to lazy evaluation for production performance,...

dc212679 09/23/2016 09:45 AM Dominic Cleal

fixes #16547 - handle nil value from get_interface_scope

Since 7b75a6a, get_interface_scope may return no scope for managed hosts
when importing a physical interface not already known by MAC address.

9eb5b719 09/22/2016 06:28 AM Shlomi Zadok

Fixes #12535 - expose config_groups in ENC

1e180a50 09/22/2016 03:19 AM Lukas Zapletal

Fixes #16532 - fixed hostgroup architecture params

37c0b37f 09/14/2016 10:59 AM Dominic Cleal

fixes #16545 - correctly search for classes from YAML import

Prevents a full class hash of name => parameters being passed to the AR
finder when using a parameterized (hash-style) YAML format.

698e916c 09/13/2016 05:58 AM Shimon Shtein

Fixes #16125 - add owner type validation

f0e9c776 09/08/2016 05:11 AM Lukas Zapletal

Fixes #16424 - extracted create_new_host_when_facts_are_uploaded

c49eb07f 09/07/2016 04:58 AM Lukas Zapletal

Fixes #16449 - reordered taxonomy detection during import

56f51d58 09/06/2016 11:34 AM Timo Goebel

fixes #15590 - ipv6 tftp orchestration

d301d11d 08/26/2016 10:39 AM Ondřej Pražák

Fixes #14771 - Show corresponding os list for arch

4cbf879e 08/24/2016 06:41 AM Lukas Zapletal

Fixes #12634 - New HW Model flag pxe_loader

Implementation of

https://github.com/theforeman/rfcs/blob/master/text/0001-PXE-Booting-UEFI.md

In short, new host/hostgroup flag PXE loader is added to specify TFTP
DHCP filename and Foreman now orchestrates all PXE-capable templates...

8e780e97 08/23/2016 09:34 AM Dominic Cleal

fixes #16243 - make Host::Managed.new's options arg optional

The options argument no longer exists on Rails 5 as it was part of the
support for protected_attrs. The argument list to .new should be handled
more defensively, like Host::Base.

15f2f291 08/23/2016 06:48 AM Daniel Lobato Garcia

Fixes #16197 - Host#smart_proxies returns only the host proxies

Doing the following:
- Create 2 smart proxies, one for dhcp/dns/tft/puppetca/puppet, another
for realms. Let's keep the realms proxy off, so it's unreachable.
- Create a hostgroup A that sets domain, subnet, realm, puppet_proxy,...

31ddd916 08/22/2016 07:36 AM Timo Goebel

fixes #16199 - always run build related callbacks

a86dcf44 08/22/2016 07:31 AM Klaas Demter

Fixes #16061 - auto ip assignment for non-primary interfaces

Squashed commit with a test case and the changes Timo suggested thanks
for the help also tried to decrease complexity of my change.

7b75a6a0 08/17/2016 08:44 AM Justin Sherrill

Fixes #16073 - match up nic identifiers for unmanaged hosts

295536d1 08/10/2016 11:31 AM Dominic Cleal

fixes #15787 - update shoulda-matchers to 3.x

Contains changes to models for the new behaviour of the uniqueness
validation test, which saves a model with one value and then attempts
to validate a second.

NestedAncestryCommon's validation now doesn't fail when the specified...