diff options
author | k.kedron <k.kedron@partner.samsung.com> | 2019-07-09 13:02:08 +0200 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2019-07-10 12:43:55 +0000 |
commit | 004fb6486e9f31a2f8398051c77dcd8ce86e20d2 (patch) | |
tree | dd120428486e42614352262e174e8d4cb61e8bc9 /asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes | |
parent | 533eb74d88fef53ce652e97c1251dac63f392760 (diff) |
Corrected typos in chef scripts.
Corrected typos and checkstyles.
Issue-ID: SDC-2424
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: If2464645dad7da3fa7706e35e4ccace3ece6aeb4
Diffstat (limited to 'asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes')
-rw-r--r-- | asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/03-schemaCreation.rb | 14 | ||||
-rw-r--r-- | asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/04-importConformance.rb (renamed from asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/04-importComformance.rb) | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/03-schemaCreation.rb b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/03-schemaCreation.rb index 4de50f6492..b046b0da51 100644 --- a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/03-schemaCreation.rb +++ b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/03-schemaCreation.rb @@ -18,12 +18,12 @@ template "janusgraph.properties" do source "janusgraph.properties.erb" mode "0755" variables({ - :DC_NAME => node['cassandra']['datacenter_name'], - :cassandra_ip => node['Nodes']['CS'].first, - :cassandra_pwd => node['cassandra'][:cassandra_password], - :cassandra_usr => node['cassandra'][:cassandra_user], + :DC_NAME => node['cassandra']['datacenter_name'], + :cassandra_ip => node['Nodes']['CS'].first, + :cassandra_pwd => node['cassandra'][:cassandra_password], + :cassandra_usr => node['cassandra'][:cassandra_user], :janusgraph_connection_timeout => node['cassandra']['janusgraph_connection_timeout'], - :replication_factor => node['cassandra']['replication_factor'] + :replication_factor => node['cassandra']['replication_factor'] }) end @@ -58,7 +58,7 @@ template "/tmp/sdctool/config/elasticsearch.yml" do }) end -bash "excuting-schema-creation" do +bash "executing-schema-creation" do code <<-EOH cd /tmp chmod +x /tmp/sdctool/scripts/schemaCreation.sh @@ -66,7 +66,7 @@ bash "excuting-schema-creation" do EOH end -bash "excuting-janusGraphSchemaCreation.sh" do +bash "executing-janusGraphSchemaCreation.sh" do code <<-EOH chmod +x /tmp/sdctool/scripts/janusGraphSchemaCreation.sh /tmp/sdctool/scripts/janusGraphSchemaCreation.sh /tmp/sdctool/config diff --git a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/04-importComformance.rb b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/04-importConformance.rb index 188aa1d031..0490c89668 100644 --- a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/04-importComformance.rb +++ b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/recipes/04-importConformance.rb @@ -4,7 +4,7 @@ printf("\033[33mcl_release=[%s]\n\033[0m", cl_release) -bash "import-Comformance" do +bash "import-Conformance" do cwd "#{working_directory}" code <<-EOH conf_dir=/tmp/sdctool/config |