Initial Chef repository

This commit is contained in:
Greg Karékinian
2015-07-21 19:45:23 +02:00
parent 7e5401fc71
commit ee4079fa85
1151 changed files with 185163 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
actions :add
default_action :add
attribute :repository, :kind_of => String, :name_attribute => true
attribute :master_token, :kind_of => String
attribute :type, :kind_of => String, :equal_to => ['deb', 'rpm', 'gem'], :default => node['packagecloud']['default_type']
attribute :base_url, :kind_of => String, :default => "https://packagecloud.io"
attribute :gpg_key_url, :kind_of => String, :default => node['packagecloud']['gpg_key_url']
attribute :priority, :kind_of => [Fixnum, TrueClass, FalseClass], :default => false
attribute :metadata_expire, :kind_of => String, :regex => [/^\d+[d|h|m]?$/], :default => nil