Permalink
Browse files

add default action as 'add' to yum_repository LWRP

  • Loading branch information...
1 parent 4966544 commit 7bb39ae69b12e509d7644c1f5c2d003abfcf455a @reset reset committed Apr 16, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 resources/repository.rb
View
@@ -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

0 comments on commit 7bb39ae

Please sign in to comment.