search for: list_debian7

Displaying 1 result from an estimated 1 matches for "list_debian7".

Did you mean: list_debian6
2013 Jun 27
2
Conditional statement =,<,> etc.
...ters 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 available on the 2.7.x hosts :/. Next idea, use the facter operatingsystemrelease...