Displaying 2 results from an estimated 2 matches for "lang_expressions".
2013 Oct 11
6
puppet class if
Hello,
I created puppet class and I want the file operation to be executed on all
servers but not on server with hostname "''server1.domain.com". I tried this
class, but it does not work. Is there any other way? Thanks
class test {
if $hostname != ''server1.domain.com'' {
file { "/etc/ntp.conf":
owner
2013 Feb 21
8
Facter & Puppet disagree on RHEL 6?
I''ve run into an odd one on one of my new RHEL 6 boxes. Puppet and Facter
seem to disagree about the value of a fact.
Puppet version: 2.7.9
Facter version: 1.6.4
Module: puppetlabs-apache
apache::params falls through its if structure:
if $::osfamily == ''redhat'' or $::operatingsystem == ''amazon'' {
...
} elsif $::osfamily ==