From eb74655ae9826dcde235f1849b50e7d5a2b02223 Mon Sep 17 00:00:00 2001 From: harlowja Date: Tue, 26 Jun 2012 07:47:29 -0700 Subject: Add all the upstart/systemd/init.d files. Let the package building solutions figure out exactly which of these they wish to delete or wish to take, since setup.py can not know it just has to install them all. --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fd67da46..402443ea 100755 --- a/setup.py +++ b/setup.py @@ -67,7 +67,11 @@ setuptools.setup(name='cloud-init', ('/etc/cloud/cloud.cfg.d', glob('config/cloud.cfg.d/*')), ('/etc/cloud/templates', glob('templates/*')), # Only really need for upstart based systems - #('/etc/init', glob('upstart/*.conf')), + ('/etc/init', glob('upstart/*.conf')), + # Only really need for systemd based systems + ('/etc/systemd/system', glob('systemd/*.service')), + # Only really need for init.d based system + ('/etc/init.d', glob('initd/*')), ('/usr/share/cloud-init', []), ('/usr/lib/cloud-init', ['tools/uncloud-init', 'tools/write-ssh-key-fingerprints']), -- cgit v1.2.3