Thank you for the reply. I guess that's right. I do have a doubt though. In the version 2017 of Salt, the file was saved and run as:
But does the command hold good for the version 2018 too? I saved the profile in my salt-master, both the provider and profile, tried running it but received back:
[ERROR ] An un-handled exception was caught by salt's global exception handler:
AttributeError: 'unicode' object has no attribute 'setdefault'
Traceback (most recent call last):
File "/usr/bin/salt-cloud", line 10, in <module>
salt_cloud()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 460, in salt_cloud
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 95, in run
mapper = salt.cloud.Map(self.config)
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1672, in __init__
self.rendered_map = self.read()
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1850, in read
overrides.setdefault('name', name)
AttributeError: 'unicode' object has no attribute 'setdefault'
Traceback (most recent call last):
File "/usr/bin/salt-cloud", line 10, in <module>
salt_cloud()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 460, in salt_cloud
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 95, in run
mapper = salt.cloud.Map(self.config)
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1672, in __init__
self.rendered_map = self.read()
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1850, in read
overrides.setdefault('name', name)
AttributeError: 'unicode' object has no attribute 'setdefault'
Thank you.