file {"/etc/apt/sources.list":
source => [ "puppet:///site/etc/apt/sources.list.$fqdn", "puppet:///site/etc/apt/sources.list" ],
notify => Exec["apt update"];
}
exec { "apt update":
command => "/usr/bin/apt-get update",
refreshonly => true,
}
|
Pastie
