Last change
on this file since 765 was
386,
checked in by sebas, 15 years ago
|
agrego los repos para tener el ultimo de mozilla en ubuntu
|
File size:
1.2 KB
|
Line | |
---|
1 | # permite actulizar el sources.list con la variable <%= lsbdistcodename %> |
---|
2 | # asi no tenemos que hacer el hardcoding del nombre de la distribucion |
---|
3 | # el template esta en /etc/puppet/templates/ubuntu/sources.list.erb |
---|
4 | |
---|
5 | class ubuntu::apt { |
---|
6 | file { "/etc/apt/sources.list": |
---|
7 | owner => "root", |
---|
8 | group => "root", |
---|
9 | mode => 0644, |
---|
10 | content => template("ubuntu/sources.list.erb"), |
---|
11 | } |
---|
12 | exec{"/usr/bin/apt-get update": |
---|
13 | refreshonly => true, |
---|
14 | subscribe => File["/etc/apt/sources.list"], |
---|
15 | require => File["/etc/apt/sources.list"], |
---|
16 | } |
---|
17 | } |
---|
18 | |
---|
19 | # deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main |
---|
20 | # deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu YOUR_UBUNTU_VERSION_HERE main |
---|
21 | |
---|
22 | class ubuntu::apt::mozilla { |
---|
23 | file { "/etc/apt/sources.list.d/ubuntu-mozilla-daily.list": |
---|
24 | owner => "root", |
---|
25 | group => "root", |
---|
26 | mode => 0644, |
---|
27 | content => template("ubuntu/ubuntu-mozilla-daily.list.erb"), |
---|
28 | } |
---|
29 | exec{"/usr/bin/apt-get update": |
---|
30 | refreshonly => true, |
---|
31 | subscribe => File["/etc/apt/sources.list.d/ubuntu-mozilla-daily.list"], |
---|
32 | require => File["/etc/apt/sources.list.d/ubuntu-mozilla-daily.list"], |
---|
33 | } |
---|
34 | } |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.