OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 import distutils.spawn | 3 import distutils.spawn |
4 import io | 4 import io |
5 import os | 5 import os |
6 import subprocess | 6 import subprocess |
7 import sys | 7 import sys |
8 | 8 |
9 if distutils.spawn.find_executable('puppet') \ | 9 if distutils.spawn.find_executable('puppet') \ |
10 and distutils.spawn.find_executable('hiera'): | 10 and distutils.spawn.find_executable('hiera'): |
(...skipping 11 matching lines...) Expand all Loading... |
22 Pin-Priority: 501 | 22 Pin-Priority: 501 |
23 | 23 |
24 # See https://issues.adblockplus.org/ticket/3706#comment:4 | 24 # See https://issues.adblockplus.org/ticket/3706#comment:4 |
25 Package: facter | 25 Package: facter |
26 Pin: version 1.* | 26 Pin: version 1.* |
27 Pin-Priority: 501''' | 27 Pin-Priority: 501''' |
28 | 28 |
29 PUPPETLABS_GPG_KEY = ''' | 29 PUPPETLABS_GPG_KEY = ''' |
30 -----BEGIN PGP PUBLIC KEY BLOCK----- | 30 -----BEGIN PGP PUBLIC KEY BLOCK----- |
31 Version: GnuPG v1.4.12 (GNU/Linux) | 31 Version: GnuPG v1.4.12 (GNU/Linux) |
32 Comment: GPGTools - http://gpgtools.org | |
33 | 32 |
34 mQINBEw3u0ABEAC1+aJQpU59fwZ4mxFjqNCgfZgDhONDSYQFMRnYC1dzBpJHzI6b | 33 mQINBEw3u0ABEAC1+aJQpU59fwZ4mxFjqNCgfZgDhONDSYQFMRnYC1dzBpJHzI6b |
35 fUBQeaZ8rh6N4kZ+wq1eL86YDXkCt4sCvNTP0eF2XaOLbmxtV9bdpTIBep9bQiKg | 34 fUBQeaZ8rh6N4kZ+wq1eL86YDXkCt4sCvNTP0eF2XaOLbmxtV9bdpTIBep9bQiKg |
36 5iZaz+brUZlFk/MyJ0Yz//VQ68N1uvXccmD6uxQsVO+gx7rnarg/BGuCNaVtGwy+ | 35 5iZaz+brUZlFk/MyJ0Yz//VQ68N1uvXccmD6uxQsVO+gx7rnarg/BGuC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P0pvD6P/Dlt1FvoL98z4UyM1GY/bXYVaJ6g9xbL1K2Vza2jDMMw7A+r8raC/v |
| 163 ZwPrc7Vs6kkHIQxHLIW9fAHxEKpOyQwtMykNQTke31HP4yZvpaMGTicsifKgdZaA |
| 164 ATx2UWz4hA2GrhY2k+KsD+SWGOCD+ZIWEzBu2uKkvGnfJmeAzkfsx/L2XO9/P2ac |
| 165 V8Gm0qV3573koG1Ys1+uPsM4DWF752Sxl1/DzQCgYyv6BicGKtZ0HbHGxqGf5tPI |
| 166 hHOgd67DCCx7/JMAMm1EB12m0jncCJOovRzQH99yCAZ2dycXjGzcZV+xIqpMLvZ3 |
| 167 SisxJFKBhYQuPp6/9zoKjQrDojIVLYZCRvidssk+kiSFUl99zKN4Xy1SyUD89H4O |
| 168 3VJrnUQOz4dfF89vNevPXr2sdAU36PnsQQJ/m183FRsgastvUULiiB7Bc/YUqYUO |
| 169 P1OOkwomdX11eRY3Sqh67586ICBdVlzqPKNF0oEQW/TIRdaPnSjXRN8ncmNUwICm |
| 170 ua+1iNrSgygWUS6a/4/OCB8fj/xx13fBsFkFLS8ZsRZygnJYieFbaSL55eYq9GkB |
| 171 rDE5Z38C/41shTGoU0BcSCMSU2tf380s9gkmkSQRwHMh6AbixAKj |
| 172 =infX |
89 -----END PGP PUBLIC KEY BLOCK----- | 173 -----END PGP PUBLIC KEY BLOCK----- |
90 ''' | 174 ''' |
91 | 175 |
92 add_key_process = subprocess.Popen(['apt-key', 'add', '-'], stdin=subprocess.PIP
E) | 176 add_key_process = subprocess.Popen(['apt-key', 'add', '-'], stdin=subprocess.PIP
E) |
93 add_key_process.communicate(PUPPETLABS_GPG_KEY) | 177 add_key_process.communicate(PUPPETLABS_GPG_KEY) |
94 | 178 |
95 with io.open('/etc/apt/sources.list.d/puppetlabs.list', 'wb') as handle: | 179 with io.open('/etc/apt/sources.list.d/puppetlabs.list', 'wb') as handle: |
96 handle.write(PUPPETLABS_SOURCES) | 180 handle.write(PUPPETLABS_SOURCES) |
97 | 181 |
98 with io.open('/etc/apt/preferences.d/puppetlabs', 'wb') as handle: | 182 with io.open('/etc/apt/preferences.d/puppetlabs', 'wb') as handle: |
99 handle.write(PUPPETLABS_PREFS) | 183 handle.write(PUPPETLABS_PREFS) |
100 | 184 |
101 subprocess.check_call(['apt-get', '-y', 'update']) | 185 subprocess.check_call(['apt-get', '-y', 'update']) |
102 subprocess.check_call(['apt-get', '-y', 'install', | 186 subprocess.check_call(['apt-get', '-y', 'install', |
103 '-o', 'Dpkg::Options::=--force-overwrite', | 187 '-o', 'Dpkg::Options::=--force-overwrite', |
104 'puppet', 'puppet-common', 'hiera-puppet']) | 188 'puppet', 'puppet-common', 'hiera-puppet']) |
105 | 189 |
106 if not os.path.exists('/etc/puppet/hiera.yaml'): | 190 if not os.path.exists('/etc/puppet/hiera.yaml'): |
107 realpath = os.path.realpath(__file__) | 191 realpath = os.path.realpath(__file__) |
108 dirname = os.path.dirname(realpath) | 192 dirname = os.path.dirname(realpath) |
109 config = os.path.join(dirname, 'hiera.yaml') | 193 config = os.path.join(dirname, 'hiera.yaml') |
110 if os.path.exists(config): | 194 if os.path.exists(config): |
111 os.symlink(config, '/etc/puppet/hiera.yaml') | 195 os.symlink(config, '/etc/puppet/hiera.yaml') |
OLD | NEW |