class locales {
  package { "locales":
    ensure => installed,
  }

  file { "/etc/default/locale":
    source  => [ "puppet:///modules/site_nodo/etc/default/locale",
                 "puppet:///modules/nodo/etc/default/locale" ],
    ensure => present,
    owner  => root,
    group  => root,
    mode   => 0644,
  }

  file { "/etc/locale.gen":
    source  => [ "puppet:///modules/site_nodo/etc/locale.gen",
                 "puppet:///modules/nodo/etc/locale.gen" ],
    ensure => present,
    owner  => root,
    group  => root,
    mode   => 0644,
  }

  exec { "locale-gen":
    refreshonly => true,
    subscribe   => File["/etc/locale.gen"], 
  }
}