[Pkg-puppet-devel] Bug#571129: Ship templates directory as part of puppet-common

Mathias Gug mathiaz at ubuntu.com
Tue Feb 23 18:09:47 UTC 2010


Package: puppet-common
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch


In Ubuntu we've applied to following patch:
  * debian/rules, debian/puppet-common.dirs:
    - Create templates directory in puppet config directory and include it in
      puppet-common directory.

You may be interested in doing the same.

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-25-server (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== modified file 'debian/puppet-common.dirs'
--- debian/puppet-common.dirs	2010-02-01 12:31:58 +0000
+++ debian/puppet-common.dirs	2010-02-16 14:39:11 +0000
@@ -1,4 +1,5 @@
 etc/puppet/manifests
+etc/puppet/templates
 usr/lib/ruby/1.8
 var/lib/puppet
 var/log/puppet

=== modified file 'debian/rules'
--- debian/rules	2010-02-01 12:31:58 +0000
+++ debian/rules	2010-02-16 14:39:11 +0000
@@ -69,6 +69,8 @@
 
 	dh_installexamples examples/*
 
+	$(INSTALL) -d -m0775 $(pkgconfdir)/templates
+
 	# Logcheck rules.  Gee I wish you could specify a file to source
 	# in dh_installlogcheck.
 	ln ext/logcheck/puppet debian/puppet-common.logcheck.ignore.server


More information about the Pkg-puppet-devel mailing list