Error: openssh: not in required origin format:
.*/<port_category>/<port_name>
Error: /Stage[main]/Ssh::Server::Install/Package[openssh]/ensure: change
from absent to present failed: openssh: not in required origin format:
.*/<port_category>/<port_name>
when I run the following:
puppet agent --server=puppet --no-daemonize --verbose --onetime
I believe this error is caused by a case statement I have in params.pp
which looks something like...
case $::osfamily {
redhat: {
$server_package_name = 'openssh-server'
$client_package_name = 'openssh-clients'
$sshd_config = '/etc/ssh/sshd_config'
$ssh_config = '/etc/ssh/ssh_config'
$ssh_known_hosts = '/etc/ssh/ssh_known_hosts'
$service_name = 'sshd'
}
freebsd: {
$server_package_name = 'openssh'
$sshd_config = '/etc/ssh/sshd_config'
$ssh_config = '/etc/ssh/ssh_config'
$ssh_known_hosts = '/etc/ssh/ssh_known_hosts'
$service_name = 'sshd'
}
default: {
fail("Unsupported platform: ${::osfamily}/${::operatingsystem}")
}
}
My module runs fine on linux. It does not work on FreeBSD. Any ideas on
how to fix?
TIA
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c3d0e1d2-885d-47b7-b086-5fb36fa925b7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.