Skip to content

Commit

Permalink
replace required package
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 1, 2017
1 parent e681fee commit 9518f60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
2 changes: 1 addition & 1 deletion src/clients/ntp-client_proposal.rb
Expand Up @@ -365,7 +365,7 @@ def Write(param)
# Meanwhile, ntpdate was replaced by sntp
ntpdate_only = param["ntpdate_only"]

required_package = "ntp"
required_package = "chrony"

# In 1st stage, schedule packages for installation
if Stage.initial
Expand Down
4 changes: 2 additions & 2 deletions src/modules/NtpClient.rb
Expand Up @@ -112,7 +112,7 @@ def main
@change_firewall = false

# Required packages
@required_packages = ["ntp"]
@required_packages = ["chrony"]

# ports in firewall to open
@firewall_services = ["service:ntp"]
Expand Down Expand Up @@ -481,7 +481,7 @@ def Read
# read current settings
return false if !go_next

if !Mode.installation && !PackageSystem.CheckAndInstallPackagesInteractive(["ntp"])
if !Mode.installation && !PackageSystem.CheckAndInstallPackagesInteractive(["chrony"])
log.info("PackageSystem::CheckAndInstallPackagesInteractive failed")
return false
end
Expand Down
28 changes: 0 additions & 28 deletions src/scrconf/etc_ntp.scr

This file was deleted.

0 comments on commit 9518f60

Please sign in to comment.