| 1 | {{{ |
| 2 | node instalaciones { |
| 3 | |
| 4 | include basenode |
| 5 | include basenode::admin |
| 6 | include basenode::admin::cta::sedenacional |
| 7 | |
| 8 | dnsmasq::config { 'pocho': |
| 9 | dhcp_authoritative => 'yes', |
| 10 | dhcp_range => '10.0.30.1,10.0.30.254,255.255.0.0,2h', |
| 11 | dhcp_gw => '10.0.10.1', |
| 12 | dhcp_nameservers => '10.0.99.2', |
| 13 | dhcp_script => '/usr/local/sbin/dnsmasq-genhostname.sh', |
| 14 | dhcp_hostsfile => '/etc/dnsmasq.hostsfile', |
| 15 | addn_hosts => '/etc/hosts.dnsmasq', |
| 16 | domain => 'sede.org.ar', |
| 17 | dhcp_boot => '/pxelinux.0,pocho,10.0.99.2', |
| 18 | tftp_root => '/', |
| 19 | log_queries => 'yes', |
| 20 | log_dhcp => 'yes' |
| 21 | } |
| 22 | |
| 23 | network::interface { "eth0" : |
| 24 | address => "10.0.99.2", |
| 25 | broadcast => "10.0.255.255", |
| 26 | netmask => "255.255.0.0", |
| 27 | parameters => "gateway 10.0.10.1\n dns-search sede.org.ar\n dns-nameservers 10.0.10.1", |
| 28 | } |
| 29 | |
| 30 | include debproxy::server |
| 31 | include di_netboot_assistant |
| 32 | include ltsp::buildclient |
| 33 | ltsp::client::debproxy::activateclient { dist: |
| 34 | debproxyhost => "debproxy-ubuntu", |
| 35 | } |
| 36 | include ltsp::client::plymouth::logocta |
| 37 | include ltsp::client::localgen::es_AR |
| 38 | include ltsp::client::ldm::carpani_cta |
| 39 | |
| 40 | include ltsp::client::installpackages |
| 41 | include ltsp::client::checkoutinroot |
| 42 | |
| 43 | |
| 44 | include login_themes::plymouth::logocta |
| 45 | include escritorio::basico |
| 46 | include escritorio::fondos::cta |
| 47 | include escritorio::gnome-theme::xp |
| 48 | include escritorio::tb |
| 49 | include escritorio::autostart-off |
| 50 | include escritorio::iconos |
| 51 | include escritorio::oo3conf::fileformat |
| 52 | include escritorio::vb::ose |
| 53 | |
| 54 | } |
| 55 | }}} |