-
Notifications
You must be signed in to change notification settings - Fork 42
/
crowbar.yml
executable file
·498 lines (491 loc) · 12 KB
/
crowbar.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
# Copyright 2014, Dell
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
version: "2.0"
source_url: "https://github.com/opencrowbar/core"
os_support:
- ubuntu-12.04
- redhat-6.5
- centos-6.5
- opensuse-13.1
- fedora-20
barclamps:
- name: crowbar
description: "Self-referential barclamp enabling other barclamps"
- name: test
description: "Test Barclamp Integrations"
- name: network
description: "Network Configuration"
- name: chef
description: "Chef CMDB & DevOps Framework"
- name: deployer
description: "Discover and Inventory Systems (aka Sledgehammer)"
- name: provisioner
description: "Install Persistent Operating System"
- name: dns
description: "Domain Name Service (DNS)"
- name: ntp
description: "Network Time Protocol (NTP)"
- name: logging
description: "Log Centralization and Management"
jigs:
- name: script
class: 'BarclampCrowbar::Jig'
description: 'Run arbitrary scripts on nodes via SSH'
- name: noop
class: NoopJig
description: "Jig used when roles have no action to run"
- name: test
description: 'Test jig for exercising jig and noderole operations.'
class: 'BarclampTest::Jig'
- name: chef
class: 'BarclampChef::Jig'
description: "Allow Crowbar to manage nodes using Chef"
implementor: chef-client
- name: chef-solo
class: 'BarclampChef::SoloJig'
description: "Allow Crowbar to manage nodes using chef-solo"
implementor: chef-solo
extra_files:
- http://downloads.sourceforge.net/project/elilo/elilo/elilo-3.16/elilo-3.16-all.tar.gz
- http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.10.0-1.el6.x86_64.rpm
debs:
ubuntu-12.04:
raw_pkgs:
- http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.10-1.ubuntu.12.04_amd64.deb
- http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.10.0-1.ubuntu.12.04_amd64.deb
repos:
- deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
- deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
- deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
- deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
- deb http://archive.canonical.com/ubuntu precise partner
- deb-src http://archive.canonical.com/ubuntu precise partner
- deb http://extras.ubuntu.com/ubuntu precise main
- deb-src http://extras.ubuntu.com/ubuntu precise main
- deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
- deb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
- deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
- deb http://get.docker.io/ubuntu docker main
pkgs:
- rpcbind
#repos:
# Rabbit MQ repo
#- deb http://www.rabbitmq.com/debian/ testing main
required_pkgs:
- build-essential
- curl
- kwalify
- libpq-dev
- libxml2-dev
- libxslt1-dev
- postgresql-9.3
- postgresql-client-9.3
- postgresql-contrib-9.3
- ruby1.9.1
- ruby1.9.1-dev
- sudo
- vim
- zlib1g-dev
# openssh stuff
- openssh-client
- openssh-server
- less
- efibootmgr
- iputils-ping
# Package mangling stuff
- createrepo
- dpkg-dev
# To let us extract ISO images without loopback mounting them.
- bsdtar
- git
build_pkgs:
- bison
- flex
- make
pkgs:
# build-essential stuff
- build-essential
- binutils-doc
- autoconf
- flex
- bison
- patch
# crowbar stuff
- curl
- postgresql-9.3
- postgresql-client-9.3
- postgresql-contrib-9.3
- libpq-dev
- kwalify
- libcurl4-gnutls-dev
# minicom stuff
- minicom
# openldap stuff
- libnss-ldap
- libpam-ldap
- ldap-utils
- db4.8-util
- slapd
# rabbitmq stuff
- rabbitmq-server
# ruby stuff
- ruby1.9.1
- ruby1.9.1-dev
# runit stuff
- runit
# sudo stuff
#- sudo
# java stuff
#- sun-java6-jdk
#- sun-java6-jre
- dpkg-dev
- screen
- tcpdump
- alien
- graphviz
- vim
# for nokogiri
- libxslt1.1
# docker support (Ubuntu only for now)
- linux-image-generic-lts-raring
- linux-headers-generic-lts-raring
- lxc-docker
# provisioner
- dhcp3-server
- nfs-common
- nfs-kernel-server
- ipmitool
- syslinux
- tftpd-hpa
- efibootmgr
# apache stuff
- apache2
- apache2-prefork-dev
- libapache2-mod-fcgid
- libapache2-mod-wsgi
# dns
- bind9
- bind9utils
# ntp
- ntp
rpms:
redhat-6.5:
raw_pkgs:
- http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-server-11.0.10-1.el6.x86_64.rpm
- http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.10.0-1.el6.x86_64.rpm
repos:
- rpm http://mirrors.servercentral.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
- rpm http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm
- bare bsdtar 20 http://download.opensuse.org/repositories/home:/AndreasStieger:/branches:/Archiving/CentOS_CentOS-6/
build_pkgs:
- libcurl-devel
- yum-plugin-downloadonly
- createrepo
- libxml2-devel
- zlib-devel
- tar
required_pkgs:
# ruby stuff
- ruby
- ruby-devel
- rubygems
# openssh stuff
- openssh-clients
- openssh-server
pkgs:
# openldap stuff
- openldap
- openldap-servers
- openldap-clients
- krb5-workstation
- openssl-devel
- vim-enhanced
# network
- vconfig
- iptables-ipv6
# provisioner
- rpcbind
- ipmitool
- dhclient
- nfs-utils
- tftp-server
# apache stuff
- httpd
- httpd-devel
- mod_fcgid
- mod_ssl
- mod_wsgi
centos-6.5:
raw_pkgs:
- http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-server-11.0.10-1.el6.x86_64.rpm
- http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.10.0-1.el6.x86_64.rpm
repos:
- rpm http://mirrors.servercentral.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
- rpm http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm
- bare bsdtar 20 http://download.opensuse.org/repositories/home:/AndreasStieger:/branches:/Archiving/CentOS_CentOS-6/
build_pkgs:
- libcurl-devel
- yum-plugin-downloadonly
- yum-plugin-priorities
- createrepo
- libxml2-devel
- zlib-devel
- tar
required_pkgs:
# ruby stuff
- ruby
- ruby-devel
- rubygems
# openssh stuff
- openssh-clients
- openssh-server
pkgs:
# openldap stuff
- openldap
- openldap-servers
- openldap-clients
- krb5-workstation
- openssl-devel
- vim-enhanced
# network
- vconfig
- iptables-ipv6
# provisioner
- rpcbind
- ipmitool
- dhclient
- nfs-utils
- tftp-server
# apache stuff
- httpd
- httpd-devel
- mod_fcgid
- mod_ssl
fedora-20:
repos:
- rpm http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm
required_pkgs:
# ruby stuff
- ruby
- ruby-devel
- sudo
# openssh stuff
- openssh-clients
- openssh-server
build_pkgs:
- libcurl-devel
- yum-plugin-priorities
- createrepo
- libxml2-devel
- zlib-devel
pkgs:
# openldap stuff
- openldap
- openldap-servers
- openldap-clients
- krb5-workstation
- openssl-devel
- vim-enhanced
# provisioner
- rpcbind
- ipmitool
- dhclient
- nfs-utils
- tftp-server
# apache stuff
- httpd
- httpd-devel
- mod_fcgid
- mod_ssl
- mod_wsgi
opensuse-13.1:
raw_pkgs:
# openSUSE native packages would be nice
- http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-server-11.0.10-1.el6.x86_64.rpm
- http://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.10.0-1.el6.x86_64.rpm
repos:
- repo http://download.opensuse.org/repositories/server:/database:/postgresql/openSUSE_13.1/ postgresql
- repo http://download.opensuse.org/repositories/devel:/tools/openSUSE_13.1/ devel-libs
- repo http://download.opensuse.org/update/13.1/ update-oss
required_pkgs:
- libecpg6
- libopenssl-devel
- libossp-uuid16
- libpq5
- libxml2-2
- libxml2-devel
- libxslt-devel
- libxslt-tools
- libxslt1
- postgresql93
- postgresql93-contrib
- postgresql93-devel
- postgresql93-server
- ruby20
- ruby20-devel
- sudo
- zlib-devel
# openssh stuff
- openssh-clients
- openssh-server
build_pkgs:
- libcurl-devel
- libxml2-devel
- zlib-devel
- tar
pkgs:
# openldap stuff
- openldap2
- openldap2-client
- krb5-client
- libopenssl-devel
- openssl
- libssh-devel
- vim
# network
- vlan
# provisioner
- nfs-client
- nfs-kernel-server
- dhcp-client
- tftp
- apache2
- apache2-devel
required_pkgs:
- gcc
- gcc-c++
- make
- zlib-devel
- tcpdump
- efibootmgr
- curl
- vim
# postgresql 93 stuff
- postgresql93
- postgresql93-devel
- postgresql93-contrib
- postgresql93-server
- libxml2-devel
- libpq5
- libpqxx
- libpqxx-devel
- libossp-uuid16
- libecpg6
- sudo
# Repo and iso mangling stuff
- createrepo
- dpkg-devel
# To extract ISO images without needing a loopback mount.
- bsdtar
- git
build_pkgs:
- make
- gcc
- glibc-devel
- kernel-devel
- flex
- bison
pkgs:
# build-essential stuff
- gcc
- gcc-c++
- kernel-devel
- make
- autoconf
- flex
- bison
- patch
# crowbar stuff
- curl
- createrepo
# minicom stuff
- minicom
# rabbitmq stuff
# sudo stuff
- sudo
- screen
- graphviz
# openssh stuff
- openssh
# network
- bridge-utils
- dhcp
- iptables
- tcpdump
# provisioner
- dhcp
- syslinux
- xinetd
- efibootmgr
# dns
- bind9
- bind9utils
# ntp
- ntp
# loggins
- rsyslog
gems:
pkgs:
- active_scaffold
- amqp
- bluecloth
- builder
- bundler-(~>1.3.0)
- bunny-(<0.8.0)
- cancan
- coveralls
- 'chef-(=11.6)'
- cstruct
- database_cleaner
- devise-(~>3.0.0)
- email_spec
- formtastic
- haml
- highline
- i18n
- jquery-rails
- json-(~>1.7.0)
- kwalify
- launchy
- libxml-ruby
- ruby-shadow
- net-http-digest_auth
- net-ssh
- net-ssh-multi
- puma
- pg
- railroad
- rails-(~>3.2.13)
- rails_config
- ledermann-rails-settings
- rails-erd
- rake
#- rcov
- rdoc
- rest-client
# Pinned to not interfere with chefspec.
- rspec-rails-(=2.11.4)
- sass
- sass-rails-(~>3.2.3)
- sendfile
- simplecov
- simple-navigation
- state_machine
- syslogger
- xml-simple
- factory_girl_rails-(~>1.7.0)
- delayed_job_active_record
- delayed_job
- daemons