Skip to content

Commit

Permalink
Merge pull request #165 from daviddavis/lazy-sync
Browse files Browse the repository at this point in the history
Fixes #13452 - Support download_policy for importer
  • Loading branch information
daviddavis committed Feb 1, 2016
2 parents 2b13c6d + 24966ce commit a96e68e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/runcible/models/yum_importer.rb
Expand Up @@ -3,6 +3,12 @@ module Models
class YumImporter < Importer
ID = 'yum_importer'
REPO_TYPE = 'rpm-repo'
DOWNLOAD_IMMEDIATE = 'immediate'
DOWNLOAD_ON_DEMAND = 'on_demand'
DOWNLOAD_BACKGROUND = 'background'
DOWNLOAD_POLICIES = [DOWNLOAD_IMMEDIATE, DOWNLOAD_ON_DEMAND, DOWNLOAD_BACKGROUND].freeze

attr_accessor 'download_policy'

def id
YumImporter::ID
Expand Down

0 comments on commit a96e68e

Please sign in to comment.