forked from asmagin/sitecore-packer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Berksfile.core.rb
64 lines (51 loc) · 1.72 KB
/
Berksfile.core.rb
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
directory = File.dirname(__FILE__)
require "#{directory}/src/components/core/chef/Berksfile.core"
def scp_packer_sources
scp_sources
scp_packer_cookbook 'w'
scp_packer_cookbook 'w', 'virtualbox_iso'
scp_packer_cookbook 'w', 'virtualbox_ovf'
# scp_packer_cookbook 'w', 'amazon_ebs'
scp_packer_cookbook 'w16s'
scp_packer_cookbook 'dotnet'
scp_packer_cookbook 'iis'
# MSSQL
scp_packer_cookbook 'sql16d'
# SOLR
scp_packer_cookbook 'solr662'
scp_packer_cookbook 'solr721'
# Sitecore 9.0
scp_packer_cookbook 'sc900'
scp_packer_cookbook 'sc901'
scp_packer_cookbook 'sc902'
# Sitecore 9.0 SXA JSS
scp_packer_cookbook 'sc902_sxa171_jss1100'
scp_packer_cookbook 'sc902_sxa180_jss1100'
# Sitecore 9.1
scp_packer_cookbook 'sc910'
scp_packer_cookbook 'sc911'
# Sitecore 9.1 SXA JSS
scp_packer_cookbook 'sc910_sxa180'
scp_packer_cookbook 'sc910_jss1100'
scp_packer_cookbook 'sc910_sxa180_jss1100'
scp_packer_cookbook 'sc911_sxa181'
scp_packer_cookbook 'sc911_jss1101'
scp_packer_cookbook 'sc911_sxa181_jss1101'
# Sitecore Commerce 9.0
scp_packer_cookbook 'xc901'
scp_packer_cookbook 'xc902'
scp_cookbook 'components', 'windows'
scp_cookbook 'components', 'virtualbox'
scp_cookbook 'components', 'iis'
scp_cookbook 'components', 'sql'
scp_cookbook 'components', 'solr'
scp_cookbook 'components', 'sitecore', '90x'
scp_cookbook 'components', 'sitecore', '91x'
scp_cookbook 'components', 'sitecore_modules'
scp_cookbook 'components', 'commerce'
scp_cookbook 'components', 'develop'
end
def scp_packer_cookbook(type, name = '')
name = type if name.empty?
cookbook "scp_packer_#{name}", path: "#{File.dirname(__FILE__)}/src/containers/#{type}/chef/cookbooks/scp_packer_#{name}"
end