|
Re: Boolean expressions: msg#00300sysutils.puppet.user
> The docco is somewhat lacking in describing syntax for boolean > expressions for "if" statements, so I've been trying to figure out how > to express that. None of the obvious things I can think of work. Hint? The documentation doesn't describe the syntax because the only syntax that is currently supported is existence i.e., if $variable { file { "/some/file": ensure => present } } else { file { "/some/other/file": ensure => present } } A construct like: if $variable = "value" { do... } else { do... } is not yet supported. Regards James Turnbull -- James Turnbull <james@xxxxxxxxxxxxxxxxx> --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40)
Puppet-users mailing list Puppet-users@xxxxxxxxxxx https://mail.madstop.com/mailman/listinfo/puppet-users |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Boolean expressions: 00300, McLeod, Matt |
|---|---|
| Next by Date: | Re: Boolean expressions: 00300, McLeod, Matt |
| Previous by Thread: | Re: Boolean expressionsi: 00300, McLeod, Matt |
| Next by Thread: | Re: Boolean expressions: 00300, McLeod, Matt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |