aboutsummaryrefslogtreecommitdiff
path: root/manifests/custom_sources.pp
blob: d0c020ae84a5272dd3597b9908d7d28ee5045421 (plain)
1
2
3
4
5
6
7
8
9
10
define apt::custom_sources_template ($sources_file = "") {

  include apt::update

  file { "/etc/apt/sources.list.d/$sources_file":
            content => template($name),
	    notify => Exec['apt_updated'] 
  }
}