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.
This commit is contained in:
harlowja
2012-06-26 07:47:29 -07:00
parent 7f99a3b300
commit aa530fa2bd

View File

@@ -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']),