-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
No. You can create as many states as you want in one or more files as
you desire.
openssh-client doesn't create any services. That contains purely client
applications. So, all you normally do is install that package using a
salt "pkg.installed" state.
openssh-server does create system services. This is where you use a salt
"service" state to ensure it is running, enabled, etc.
The distinction I was trying to make is simply that different linux
distributions use different names for the same thing. On Ubuntu, the
sshd service is run by using the /etc/init/ssh.conf script. This has
nothing to do with the ssh client software.
Additionally, for any other software that is run as a system service,
you should reference the startup script name when creating your salt
"service" state to ensure it correctly starts.
I hope that makes it clear.
Nick
>> an email to
salt-users+...@googlegroups.com <javascript:>.
> <
https://groups.google.com/groups/opt_out>.
iEYEARECAAYFAlGMJ/AACgkQYoNGId/piAuVlQCfeuERXCZ95mn5rxdzm4sKdClb
G0EAn25/32ZmmmZ9jJQz2RrLQ4md78X4
=GRlB
-----END PGP SIGNATURE-----