hello, i want to use something like: notify => $operatingsystem ? { superos => Service[''totalhaxor''], default => none } is there a way, i tried null, no,none ,nil but none seems to work. So it exist or do i fill an enhancement request ? ;) -- Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Thu, April 12, 2007 11:11 am, ADNET Ghislain wrote:> hello, > > i want to use something like: > > > notify => $operatingsystem ? { > superos => Service[''totalhaxor''], > default => none > } > > > is there a way, i tried null, no,none ,nil but none seems to work. So it > exist or do i fill an enhancement request ? ;)Use a case statement: blah { boo: ... } case $... { superos: { Blah[boo] { ... } } } -- Luke Kanies http://reductivelabs.com