Displaying 1 result from an estimated 1 matches for "pkg_src".
Did you mean:
dg_src
2007 Dec 14
3
Nested conditions
...shd_config",
"5.1" =>
"puppet://myserver.com/files/os/rhel5/etc/ssh/sshd_config"
}
}
I asked on IRC and a fellow recommended using the case
function. It did work, but I don''t think it looks as
pretty:
case $operatingsystem {
Debian: {
$pkg_src =
"puppet://myserver.com/files/os/debian/etc/ssh/sshd_config"
}
Gentoo: {
$pkg_src =
"puppet://myserver.com/files/os/gentoo/etc/ssh/sshd_config"
}
RedHat: {
case $lsbdistrelease {
4: {
$pkg_src =
"puppet://myserver...