|
Re: Boolean expressions: msg#00298sysutils.puppet.user
>>>>> "Matt" == McLeod, Matt <Matt.McLeod@xxxxxxx> writes: Matt> The big hitch now is that FreeBSD, of course, doesn't do the Matt> "root" group. It wants "wheel". So I figure what I want to Matt> do is take a look at $group and $operatingsystem, and if Matt> need be translate "root" to "wheel". I really don't want to Matt> be specifying the group on every file. I think (me newbie) you want the following , http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#selectors :- group => $os ? { freebsd => "wheel", default => "root", } Sincerely, Adrian Phillips -- Who really wrote the works of William Shakespeare ? http://www.pbs.org/wgbh/pages/frontline/shakespeare/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Boolean expressions: 00298, McLeod, Matt |
|---|---|
| Next by Date: | Re: Boolean expressions: 00298, McLeod, Matt |
| Previous by Thread: | Boolean expressionsi: 00298, McLeod, Matt |
| Next by Thread: | Re: Boolean expressions: 00298, McLeod, Matt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |