Age | Commit message (Collapse) | Author |
|
Currently ssh_authorized_key has some logic about $user being false or
'', but it sets its value to default to 'root'.
So, in order to use the name as the user's name, one has to clear the
user parameter, which is totally redundant.
Since it is sometimes useful to publish multiple keys for a user, the
$user parameter is useful.
To make using ssh_authorized_key for one-key normal users simpler, make
$user default to being empty (which will use $name as the user name).
'root' can always be specified either via the name or by the $user
paramter.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
When one uses the $name to define the user that should receive an SSH
key, setting $user to a negative value, ssh_authorized_key currently
creates the authorized_keys file under /home/.ssh/authorized_keys
Fix this by changing ${user} to ${real_user} in the key's path.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
Since there is no "catch-all" default configuration file for sshd, we
need to add for each OS.
Add a template for FreeBSD so that sshd can be configured on this OS.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
When the os of a client is not one of those that use a specialized
class, (e.g. FreeBSD) the inclusion is currently broken: it tries to
include sshd::default which does not exist.
Change this to include sshd::base instead.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
|
|
|
|
option, even though it is listed in the man page, and commented out in the default config file. I filed a bug with debian (#607238)
|
|
Lenny sshd_config template, even though we offer it as a variable. With this commit, the variable will actually work, rather than be overriden
|
|
the defaults when not specified
|
|
should be 'check_ssh_port'
|
|
|
|
checks and the pre-requirements
|
|
use 'include sshd::debian', then none of the variables are set, and you
will fail to parse the templates
|
|
internal nagios_service name)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- added new upstream options
- don't put new lines for control statements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit d4fba70a51eeb253b0155f378ce7735df9479cd4.
|
|
|
|
and instead allow for a version change through an if variable. thanks ng!
|
|
|
|
if we are to have the possibility of potentially overriding the version number it must be done in the base class
|
|
$sshd_port parameter, which simply puts a comment in front of that
option, rather than specifying it.
|
|
installed by providing the variable $sshd_ensure_version, which defaults to the previous value of present when not specified
|
|
sshd_head_additional_options and one called sshd_tail_additional_options.
the first puts the value at the beginning of the file, and the second at
the end.
This is necessary due to some option ordering requiring things to be
before others
|
|
no longer necessary to provide it
|
|
|
|
configuration line to get the sshd_config file defaults to be more
like the standard shipped defaults from Debian
|
|
Conflicts:
manifests/init.pp
Conflict due to indentation formatting differences
|
|
also export the key based on ip address, removing all warnings
|
|
http://projects.reductivelabs.com/issues/show/1799#note-1
|
|
note that this removes the user => root default
|
|
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2674 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
|
|
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2672 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
|
|
/etc/init.d/ssh, which means that name needs to be set to 'ssh', and
pattern needs to be set to 'sshd', and then we set the hassstatus and
hasrestart depending on the lsbdistcodename
|