[Puppet Users] Re: Alias for package list

2009-03-17 Thread Dave Cheney
Works for me case $operatingsystem { default: {$ssh_packages = ["openssh-server", "openssh- clients"] } } package { $ssh_packages: ensure => installed } service { sshd: name => $operatingsystem ? { d

[Puppet Users] Re: Alias for package list

2009-03-16 Thread Felix Schäfer
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,

[Puppet Users] Re: Alias for package list

2009-03-16 Thread Jason Slagle
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

[Puppet Users] Re: Alias for package list

2009-03-16 Thread Dave Cheney
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

[Puppet Users] Re: Alias for package list

2009-03-16 Thread Felix Schäfer
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