Changeset 667


Ignore:
Timestamp:
May 3, 2010, 7:02:50 PM (11 years ago)
Author:
josx@…
Message:

Agregando Before para que antes de hacer apt-get update haga la instalacion de los keyrings correspondientes

Location:
trunk/puppet/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-debian_sources_list/manifests/init.pp

    r422 r667  
    4040        subscribe => File["/etc/apt/sources.list.d/virtualbox.list"],
    4141        require => File["/etc/apt/sources.list.d/virtualbox.list"],
     42        before => Exec["apt-get update vb"],
    4243    }
    4344}
     
    5758        require => File["/etc/apt/sources.list.d/backports.list"],
    5859    }
    59     exec{"/usr/bin/apt-get --yes -q --allow-unauthenticated install debian-backports-keyring":
     60    exec{ "debian-backports-keyring":
     61        command => "/usr/bin/apt-get --yes -q --allow-unauthenticated install debian-backports-keyring",
    6062        refreshonly => true,
    6163        subscribe => File["/etc/apt/sources.list.d/backports.list"],
    6264        require => File["/etc/apt/sources.list.d/backports.list"],
     65        before => Exec["apt-get update backports"],
    6366    }
    6467}
  • trunk/puppet/modules/ubuntu_sources_list/manifests/init.pp

    r421 r667  
    4141        subscribe => File["/etc/apt/sources.list.d/virtualbox.list"],
    4242        require => File["/etc/apt/sources.list.d/virtualbox.list"],
     43        before => Exec["apt-get update vb"],
    4344    }
    4445}
     
    6061        require => File["/etc/apt/sources.list.d/medibuntu.list"],
    6162    }
    62     exec{"/usr/bin/apt-get --yes -q --allow-unauthenticated install medibuntu-keyring":
     63    exec{ "medibuntu_keyring":
     64        command => "/usr/bin/apt-get --yes -q --allow-unauthenticated install medibuntu-keyring",
    6365        refreshonly => true,
    6466        subscribe => File["/etc/apt/sources.list.d/medibuntu.list"],
    6567        require => File["/etc/apt/sources.list.d/medibuntu.list"],
     68        before => Exec["apt-get update medibuntu"]
    6669    }
    6770}
Note: See TracChangeset for help on using the changeset viewer.