Skip to content

Commit

Permalink
Enabling chrony-wait service too (bsc#1137196)
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jun 12, 2019
1 parent 5863eac commit 3dadfd1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions package/yast2-caasp.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 12 11:28:35 CEST 2019 - schubi@suse.de

- Enabling chrony-wait service too (bsc#1137196).
- 4.1.3

-------------------------------------------------------------------
Fri Nov 9 16:09:30 UTC 2018 - lslezak@suse.cz

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-caasp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-caasp
Version: 4.1.2
Version: 4.1.3
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 1 addition & 2 deletions src/lib/y2system_role_handlers/dashboard_role_finish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ def update_chrony_conf

# Add the ntpd service to the list of services to enable
def enable_service
enabled = ::Installation::Services.enabled
enabled << "chronyd" unless enabled.include?("chronyd")
::Installation::Services.enabled |= ["chronyd", "chrony-wait"]
end

# Dashboard role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@
handler.run
end

it "sets the chronyd service to be enabled" do
it "sets the chrony services to be enabled" do
handler.run
expect(::Installation::Services.enabled).to include("chronyd")
expect(::Installation::Services.enabled).to include("chrony-wait")
end
end

Expand Down

0 comments on commit 3dadfd1

Please sign in to comment.