Rob Nelson wrote: > Your code only shows one package, $package, being created, but it > does not show where the value for $package is set. Either that var
The package block is missleading, it just installs fail2ban: $package = $::operatingsystem ? { /(?i:Ubuntu|Debian|Mint)/ => 'fail2ban', default => 'undef', } > has the value 'postfix', or the postfix package is managed in another > file. Regardless, there is nothing showing where a package called > $sshdPackage is managed here, which is why the if block is never hit. Do I have to manage postfix or openssh-server in the same file? The following log should prove that openssh-server is installed and managed (somewhere). > > Debug: /Package[openssh-server]: Provider apt does not support > > features virtual_packages; not managing attribute allow_virtual Nevertheless, if you check the log snippets again, why is the 'postfix'-block hit and 'openssh-server' isn't? -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/xn0k761cd1fi74001%40news.gmane.org. For more options, visit https://groups.google.com/d/optout.