Changeset 421


Ignore:
Timestamp:
Oct 23, 2009, 2:12:56 PM (15 years ago)
Author:
sebas
Message:

agrego medibuntu a la receta de repos

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  
    1313        content => template("ubuntu_sources_list/sources.list.erb"),
    1414    }
    15     exec{"/usr/bin/apt-get update":
     15    exec{"apt-get update ubuntu":
     16        command => "/usr/bin/apt-get update",
    1617        refreshonly => true,
    1718        subscribe => File["/etc/apt/sources.list"],
     
    2223class ubuntu_sources_list::virtualbox {
    2324
    24    package { [ "apt" ]: ensure => installed }
     25#   package { [ "apt" ]: ensure => installed }
    2526
    2627    file { "/etc/apt/sources.list.d/virtualbox.list":
     
    3031        content => template("ubuntu_sources_list/sources.list.d/virtualbox.erb"),
    3132    }
    32     exec{"/usr/bin/apt-get update":
     33    exec{"apt-get update vb":
     34        command => "/usr/bin/apt-get update",
    3335        refreshonly => true,
    3436        subscribe => File["/etc/apt/sources.list.d/virtualbox.list"],
     
    4143    }
    4244}
     45
     46class 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.