Changeset 421
- Timestamp:
- Oct 23, 2009, 2:12:56 PM (15 years ago)
- Location:
- trunk/puppet/modules/ubuntu_sources_list
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/modules/ubuntu_sources_list/manifests/init.pp
r410 r421 13 13 content => template("ubuntu_sources_list/sources.list.erb"), 14 14 } 15 exec{"/usr/bin/apt-get update": 15 exec{"apt-get update ubuntu": 16 command => "/usr/bin/apt-get update", 16 17 refreshonly => true, 17 18 subscribe => File["/etc/apt/sources.list"], … … 22 23 class ubuntu_sources_list::virtualbox { 23 24 24 package { [ "apt" ]: ensure => installed }25 # package { [ "apt" ]: ensure => installed } 25 26 26 27 file { "/etc/apt/sources.list.d/virtualbox.list": … … 30 31 content => template("ubuntu_sources_list/sources.list.d/virtualbox.erb"), 31 32 } 32 exec{"/usr/bin/apt-get update": 33 exec{"apt-get update vb": 34 command => "/usr/bin/apt-get update", 33 35 refreshonly => true, 34 36 subscribe => File["/etc/apt/sources.list.d/virtualbox.list"], … … 41 43 } 42 44 } 45 46 class ubuntu_sources_list::medibuntu { 47 48 # package { [ "apt" ]: ensure => installed } 49 50 file { "/etc/apt/sources.list.d/medibuntu.list": 51 owner => "root", 52 group => "root", 53 mode => 0644, 54 content => template("ubuntu_sources_list/sources.list.d/medibuntu.erb"), 55 } 56 exec{"apt-get update medibuntu": 57 command => "/usr/bin/apt-get update", 58 refreshonly => true, 59 subscribe => File["/etc/apt/sources.list.d/medibuntu.list"], 60 require => File["/etc/apt/sources.list.d/medibuntu.list"], 61 } 62 exec{"/usr/bin/apt-get --yes -q --allow-unauthenticated install medibuntu-keyring": 63 refreshonly => true, 64 subscribe => File["/etc/apt/sources.list.d/medibuntu.list"], 65 require => File["/etc/apt/sources.list.d/medibuntu.list"], 66 } 67 } 68
Note: See TracChangeset
for help on using the changeset viewer.