Tidy up unused code, fix description in enman_repo

This commit is contained in:
2016-10-10 19:17:48 +01:00
parent e2a40f8012
commit 294cedb18e
2 changed files with 1 additions and 7 deletions

View File

@@ -1,5 +1,3 @@
require 'open3'
Puppet::Type.type(:enman_repo).provide(:enman) do Puppet::Type.type(:enman_repo).provide(:enman) do
desc "Enman provider for Enman Repositories" desc "Enman provider for Enman Repositories"
@@ -9,10 +7,6 @@ Puppet::Type.type(:enman_repo).provide(:enman) do
mk_resource_methods mk_resource_methods
def initialize(value={})
super(value)
end
def create def create
enman("add", resource[:name]) enman("add", resource[:name])
@property_hash[:ensure] = :present @property_hash[:ensure] = :present

View File

@@ -1,5 +1,5 @@
Puppet::Type.newtype(:enman_repo) do Puppet::Type.newtype(:enman_repo) do
@desc = "foo" @desc = "Manages Sabayon Community Repositories"
ensurable ensurable