I'm not a puppet expert figuring out how to migrate to version 4.
We have port specified but i don't know how to set it correct.
class my_ssh (
Stdlib::Port $sshd_config_port = 22,
) {
class { '::ssh::server':
port => $sshd_config_port,
}
}
Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Ssh::Server]: parameter 'port' expects a value of type Undef or Array, got Integer
Hi,
I'm not a puppet expert figuring out how to migrate to version 4.
We have port specified but i don't know how to set it correct.
what is the correct way to use stdlib::port?