Skip to content

Commit

Permalink
Merge pull request #178 from elyezer/scap-client
Browse files Browse the repository at this point in the history
Add setup_scap_client task
  • Loading branch information
kbidarkar committed Apr 27, 2015
2 parents 326e72b + 4b01eae commit 0f77631
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions automation_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@ def setup_abrt():
run('abrt-auto-reporting enabled')


def setup_scap_client():
"""Task to setup puppet-foreman_scap_client."""
run('yum -y install puppet-foreman_scap_client', warn_only=True)


def vm_create():
"""Task to create a VM using snap-guest based on a ``SOURCE_IMAGE`` base
image.
Expand Down Expand Up @@ -1007,6 +1012,8 @@ def product_install(distribution, create_vm=False, certificate_url=None,
**installer_options
)

execute(setup_scap_client, host=host)

certificate_url = certificate_url or os.environ.get(
'FAKE_MANIFEST_CERT_URL')
if certificate_url is not None:
Expand Down

0 comments on commit 0f77631

Please sign in to comment.