lib/danarchy_deploy/system/centos.rb in danarchy_deploy-0.2.9 vs lib/danarchy_deploy/system/centos.rb in danarchy_deploy-0.2.10
- old
+ new
@@ -14,10 +14,10 @@
[installer, updater, cleaner]
end
private
- def set_hostname(hostname)
+ def self.set_hostname(hostname)
`hostnamectl set-hostname #{hostname}`
end
end
end
end