Tidy up unused code, fix description in enman_repo
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
require 'open3'
|
||||
|
||||
Puppet::Type.type(:enman_repo).provide(:enman) do
|
||||
desc "Enman provider for Enman Repositories"
|
||||
|
||||
@@ -9,10 +7,6 @@ Puppet::Type.type(:enman_repo).provide(:enman) do
|
||||
|
||||
mk_resource_methods
|
||||
|
||||
def initialize(value={})
|
||||
super(value)
|
||||
end
|
||||
|
||||
def create
|
||||
enman("add", resource[:name])
|
||||
@property_hash[:ensure] = :present
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Puppet::Type.newtype(:enman_repo) do
|
||||
@desc = "foo"
|
||||
@desc = "Manages Sabayon Community Repositories"
|
||||
|
||||
ensurable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user