Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add default action as 'add' to yum_repository LWRP

  • Loading branch information...
commit 7bb39ae69b12e509d7644c1f5c2d003abfcf455a 1 parent 4966544
@reset reset authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 resources/repository.rb
View
5 resources/repository.rb
@@ -29,3 +29,8 @@
attribute :type, :kind_of => String, :default => nil
attribute :failovermethod, :kind_of => String, :default => nil
attribute :bootstrapurl, :kind_of => String, :default => nil
+
+def initialize(*args)
+ super
+ @action = :add
+end
Please sign in to comment.
Something went wrong with that request. Please try again.