Can anyone tell me why this is legal:

     file { "/etc/cron.d":
        owner  => "root",
        group  => "root",
        mode   => $operatingsystem ? {
           'Solaris' => "0755",
           default   => "0700",
        }
      }


...And yet if I have any resource attributes below the "mode" selector 
statement, it will not parse?  
 
(Am I doing the right thing by having a selector in my file resource?  I 
have a large amount of files to validate, and attributes change for many of 
the files, depending on the OS.)  


 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to