Merge pull request #391 from NeatNerdPrime/puppet_module_upgrade

Puppet tasks fix commit
This commit is contained in:
Anders Ingemann 2017-08-11 16:42:21 +02:00 committed by GitHub
commit 8932f223b8

View file

@ -1,6 +1,7 @@
import os import os
from bootstrapvz.base import Task from bootstrapvz.base import Task
from bootstrapvz.common import phases from bootstrapvz.common import phases
from bootstrapvz.common.tasks import apt
from bootstrapvz.common.exceptions import TaskError from bootstrapvz.common.exceptions import TaskError
from bootstrapvz.common.releases import jessie, wheezy from bootstrapvz.common.releases import jessie, wheezy
from bootstrapvz.common.tools import sed_i, log_check_call, rel_path from bootstrapvz.common.tools import sed_i, log_check_call, rel_path
@ -59,6 +60,7 @@ class CheckManifestPath(Task):
class InstallPuppetlabsPC1ReleaseKey(Task): class InstallPuppetlabsPC1ReleaseKey(Task):
description = 'Install puppetlabs PC1 Release key into the keyring' description = 'Install puppetlabs PC1 Release key into the keyring'
phase = phases.package_installation phase = phases.package_installation
successors = [apt.WriteSources]
@classmethod @classmethod
def run(cls, info): def run(cls, info):