summaryrefslogtreecommitdiffstats
path: root/lib/puppet/provider/package/norpm.rb
diff options
context:
space:
mode:
authorCarlos Camacho <ccamacho@redhat.com>2016-04-28 12:06:46 +0200
committerEmilien Macchi <emilien@redhat.com>2017-01-19 07:21:12 -0500
commitbed1c230f22c9f4e75b6fded053311c4d96b1887 (patch)
treed9f6b4e9926fc5b2a49c1e54c1ee5cb06d3a4073 /lib/puppet/provider/package/norpm.rb
parentbf68fa9683ee30cc2ebdf624f47e82a4fcceb746 (diff)
Implement NTP profile
This puppet manifest will install and configure by default the NTP service. It will also make sure chrony is purged, because it's present on the EL7 images. Change-Id: If3cf7d9690001b051465ea25cf8a8c3bc6f7c33a
Diffstat (limited to 'lib/puppet/provider/package/norpm.rb')
-rw-r--r--lib/puppet/provider/package/norpm.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/provider/package/norpm.rb b/lib/puppet/provider/package/norpm.rb
index 0145d9f..0764265 100644
--- a/lib/puppet/provider/package/norpm.rb
+++ b/lib/puppet/provider/package/norpm.rb
@@ -33,6 +33,10 @@ Puppet::Type.type(:package).provide :norpm, :source => :rpm, :parent => :rpm do
true
end
+ def purge
+ true
+ end
+
def self.instances
return []
end