aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/createConfigDirectories.rb
blob: f04dee055b46ee42fb119f112aefd9c7619de7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#####################################
# create directories
# /opt/mso/etc/[..]
# /opt/mso/etc/mso/[..]
# /opt/mso/etc/mso/config/[..]
#####################################
["#{node['mso_config_path']}"].each do |path|
  directory path do
    owner "jboss"
    group "jboss"
    mode "0755"
    action :create
  end
end


directory "#{node['mso_config_path']}" do
  owner 'jboss'
  group 'jboss'
  mode '0755'
  recursive true
  action :create
end