Add role to build Puppet module

This patch adds an Ansible role which can be used to build Puppet
modules.

Change-Id: I45761c2d111640733ddec8b4c08066655b6944e2
This commit is contained in:
Mohammed Naser 2017-11-13 17:32:49 -05:00
parent 560a907b06
commit d0851b0b4a
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,9 @@
An ansible role to build a Puppet module. This role assumes that Puppet is
already installed on the target system (either manually or using bindep).
**Role Variables**
.. zuul:rolevar:: puppet_module_chdir
:default: {{ zuul.project.src_dir }}
The folder to switch into in order to build the Puppet module

View File

@ -0,0 +1 @@
puppet_module_chdir: "{{ zuul.project.src_dir }}"

View File

@ -0,0 +1,4 @@
- name: Build puppet module
command: puppet module build .
args:
chdir: "{{ puppet_module_chdir }}"