Skip to content

Commit

Permalink
Purge stale modules when syncing puppetfile
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienthebo committed May 10, 2013
1 parent 7d26ecf commit 7359406
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/r10k/task/puppetfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def call
task = R10K::Task::Module::Sync.new(mod)
task_runner.insert_task_after(self, task)
end

purge_task = Purge.new(@puppetfile)
task_runner.append_task purge_task
end
end

Expand Down

0 comments on commit 7359406

Please sign in to comment.