Displaying 1 result from an estimated 1 matches for "list_debian6".
Did you mean:
list_debian7
2013 Jun 27
2
Conditional statement =,<,> etc.
...run different versions of Puppet, 2.7.x
and 3.2.x. My first idea was to use facters variable
operatingsystemmajrelease and define like this:
file { ''/etc/apt/sources.list'':
source => $operatingsystemmajrelease ? {
6 => ''puppet:///modules/apt/sources.list_debian6'',
7 => ''puppet:///modules/apt/sources.list_debian7'',
},
owner => ''root'',
group => ''root'',
mode => ''0644'',
}
This works nice for Puppet 3.2.2, but this variable isn''t av...