Run "factor | grep operatingsystemrelease" on your client and see what happens. If it doesn't give output, try "factor" by itself and see if you have a typo in the name for the fact.
I would guess that it's not giving a version number, or giving one different from what you expect.
Erm, that's "facter operatingsystemrelease" or just "facter" :-)
Factor is a helpful tool, but not here and now.
> I would guess that it's not giving a version number, or giving one different from what you expect.
Quite possible. Note that facts can be different between different
versions of facter (don't get me started on the old lsbdistid etc.)
However, I suspect your error is rooted elsewhere. Hint:
http://docs.puppetlabs.com/references/stable/function.html#versioncmp
HTH,
Felix
>> Run "factor | grep operatingsystemrelease" on your client and see what happens. If it doesn't give output, try "factor" by itself and see if you have a typo in the name for the fact.
>
> Erm, that's "facter operatingsystemrelease" or just "facter" :-)
> Factor is a helpful tool, but not here and now.
Ah thanks for the fix.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
notify { "OS release detected as '$operatingsystemrelease'": }
--