puppet-askbot/manifests/site/setup_template.pp
Colleen Murphy e449a2ce34 Enable arrow alignment lint check
Discussion following https://review.openstack.org/#/c/199792/ confirmed
that we do want to enforce this check. This patch re-enables the check
and fixes lint errors that fail the check.

Change-Id: Id9e8086ba1636d158547a5fc8b2b6d24de511a12
2015-07-14 19:17:00 -07:00

22 lines
484 B
Puppet

# Define: askbot::helper::template_file
#
# Define a setup_templates file, cloned from a template
# directory.
#
# Parameters:
# - $template_path: root directory of setup_templates.
# - $dest_dir: destination directory of target files.
#
define askbot::site::setup_template (
$template_path,
$dest_dir,
) {
file { "${dest_dir}/${name}":
ensure => present,
owner => 'root',
group => 'root',
mode => '0644',
source => "${template_path}/${name}",
}
}