4ebb7d463e
Currently, setting the $custom_preferences variable to false fails because of the /etc/apt/preferences concatenated_file being re-defined. Fix this by setting dependencies on the resource only when we expect to create the /etc/apt/preferences file. Also, since there is no "ensure" parameter to concatenated_file, use a simple file resource to ensure that it is removed. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
5 lines
93 B
Puppet
5 lines
93 B
Puppet
class apt::preferences::absent {
|
|
file {'/etc/apt/preferences':
|
|
ensure => absent,
|
|
}
|
|
}
|