source: trunk/puppet/manifests/classes/ubuntu-firefox-startuppage.pp @ 228

Last change on this file since 228 was 222, checked in by sebas, 15 years ago

clase para configurar la pagina de inicio en firefox

File size: 528 bytes
Line 
1# Example:
2#    ubuntufirefox::startuppage { dist:
3#       startuppage => "http://www.sedenacional.cta.org.ar",
4#    }
5
6define ubuntufirefox::startuppage ( $startuppage ) {
7   file { "/etc/firefox-3.0/pref/ubufox.js":
8   ensure  => "present",
9   content => "pref(\"browser.startup.homepage\", \"file:/etc/firefox-3.0/pref/ubuntu-firefox-startup-page.conf\");\n",
10   }
11
12   file { "/etc/firefox-3.0/pref/ubuntu-firefox-startup-page.conf":
13   ensure  => "present",
14   content => "browser.startup.homepage=$startuppage\n",
15   }
16}
17
Note: See TracBrowser for help on using the repository browser.