Works for me
case $operatingsystem {
default: {$ssh_packages = ["openssh-server", "openssh-
clients"] }
}
package { $ssh_packages: ensure => installed }
service { sshd:
name => $operatingsystem ? {
d
Am 16.03.2009 um 13:40 schrieb Dave Cheney:
> Would require => Package[$packagelist] fit the bill ?
Haven't tried it, so take this with a grain of salt, but I'd wager you
end with Package[["some", "software", "to", "install"]], which I don't
think puppet can parse.
Mit freundlichen Grüßen,
On Mon, 16 Mar 2009, Felix Schäfer wrote:
> Haven't tried it, so take this with a grain of salt, but I'd wager you
> end with Package[["some", "software", "to", "install"]], which I don't
> think puppet can parse.
Would tags potentially give you what you needed? Can you install them by
tag?
J
Would require => Package[$packagelist] fit the bill ?
Cheers
Dave
On 16/03/2009, at 11:28 PM, Keith Edmunds wrote:
> I want to be able to do a "require => Package["wspkgs"]. How can I
> achieve
> that?
>
> Thanks,
> Keith
--~--~-~--~~~---~--~~
You received t
Am 16.03.2009 um 13:28 schrieb Keith Edmunds:
>
> I have a longish list of packages defined as:
>
>$packagelist = [
>"autoconf",
>"autogen",
>"automake",
>"autotools-dev",
>"bison",
> ...]
>
> They are installed with:
>
>package { $packagelist