Last change
on this file since 766 was
725,
checked in by josx@…, 14 years ago
|
Como modificar la search engine por defecto
|
File size:
994 bytes
|
Rev | Line | |
---|
[222] | 1 | # Example: |
---|
[609] | 2 | # escritorio::ubufox::startuppage { dist: |
---|
| 3 | # startuppage => "http://www.sedenacional.cta.org.ar", |
---|
[222] | 4 | # } |
---|
[724] | 5 | # o |
---|
| 6 | # |
---|
| 7 | # include escritorio::ubufox::searchplugins |
---|
[222] | 8 | |
---|
[609] | 9 | define escritorio::ubufox::startuppage ( $startuppage ) { |
---|
[723] | 10 | file { "/etc/xul-ext/ubufox.js": |
---|
[609] | 11 | ensure => "present", |
---|
[723] | 12 | content => "pref(\"browser.startup.homepage\", \"file:/etc/xul-ext/ubuntu-firefox-startup-page.conf\");\n", |
---|
[222] | 13 | } |
---|
| 14 | |
---|
[723] | 15 | file { "/etc/xul-ext/ubuntu-firefox-startup-page.conf": |
---|
[222] | 16 | ensure => "present", |
---|
| 17 | content => "browser.startup.homepage=$startuppage\n", |
---|
| 18 | } |
---|
| 19 | } |
---|
[724] | 20 | |
---|
[725] | 21 | |
---|
| 22 | # para default de search engine usar browser.search.defaultenginename |
---|
[724] | 23 | class escritorio::ubufox::searchplugins { |
---|
| 24 | file { "/usr/share/xul-ext/ubufox/searchplugins/ask.xml": |
---|
| 25 | ensure => absent |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | file { "/usr/share/xul-ext/ubufox/searchplugins/scroggle-ssl-spanish.xml": |
---|
| 29 | owner => root, |
---|
| 30 | group => root, |
---|
| 31 | mode => 644, |
---|
| 32 | source => "puppet:///escritorio/firefox/scroogle-ssl-spanish.xml" |
---|
| 33 | } |
---|
| 34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.