Hello, and welcome to our first demonstration!
We're going to be taking a look at working on our openSUSE system,
so some experience of that Linux distribution for you.
We're going to be able to install our salt‑minion,
check its version,
and run some very simple remote execution commands just to verify that
everything is up and running and the way that it should.
And look at this, a very big, warm welcome to openSUSE.
It may be the first time we've actually used the console of
the openSUSE system during this course.
But yes, it is part of the requirements to know SUSE for your Linux+,
and we're going to begin by making sure that we
have got the git client installed.
The git client, of course, is going to give me access to GitHub,
and it's GitHub that we're able to go through and
download the course demonstration files.
So let's get this installed.
Now that we've got it installed,
we can remind ourselves of the URL where we're going to
get the repository information from.
So we can go through and use then our newly installed git command,
and we can clone our repository from https and then looking at github.com.
And our course repository we're going to find within theurbanpenguin.
And once we've got this in,
then we can navigate through to comptia and then ‑automation.git.
With this then downloaded, we can access the demonstration files.
As always, I tend to recommend that we try and create the files ourselves,
but they are here as reference.
And if we look in then the comptia‑automation/salt directory,
we don't have too much to work with, but the common.sls,
a state file that we're going to be using later on.
But what were we here for?
Ah, yes, I remember!
Running then our zipper install ‑y the salt‑minion.
The salt‑minion is the agent.
Like the salt‑master or the server, these are all based around Python,
and we can see that so many of the packages begin with Python3.
With that installed,
then we should be up and running at least in a masterless environment.
And we wanted to give you the idea, if you like,
the taste of Salt, rather than the full Salt experience,
and that's really also required by your Linux+ exam.
If I go through and do a sudo and salt‑call,
salt‑call is the executable that we have on all of our minions,
‑‑local means that we don't connect into the master,
and ‑‑version, you guessed it, displays the version number.
But as well as executing simple options like this,
we're also able to execute our remote execution modules,
Python modules written for Salt.
So we have test.ping,
so we can check that we're getting a response from our minion,
and look at this, we are.
But we can also go through and do a test.version,
another way to get our version number coming back.
But if we add an s to this, versions,
we actually get then more operating system information,
where we get to see both the operating system data and the
dependency packages that are required by Salt.
So there you go.
We've got Salt installed, we've had an introduction to Salt,
but we're going to learn more about remote execution commands and documentation very soon.