> Facter facts are all strings, not true booleans. You'll need to check
> for whether or not $is_virtual == 'true'.
Thanks for the prompt reply, Jacob!
Things look good now.
-mz
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this
On 2011-11-23 12:49 , Matt Zagrabelny wrote:
> Hi,
>
> I've got a question regarding a fact. I'm trying to use the
> 'is_virtual' fact in a class manifest:
>
> class io_scheduler {
> if $is_virtual {
> file { "/etc/default/grub":
> owner => "root",
> group => "root",
>
Hi,
I've got a question regarding a fact. I'm trying to use the
'is_virtual' fact in a class manifest:
class io_scheduler {
if $is_virtual {
file { "/etc/default/grub":
owner => "root",
group => "root",
mode=> 0644,
source => "puppet:///modules/io_scheduler/