1 2 3 4 5 6 7 8 9
class nodo::subsystem::hostname { file { "/etc/hostname": owner => "root", group => "root", mode => 0644, ensure => present, content => "${::fqdn}\n", } }