diff options
Diffstat (limited to 'manifests/subsystem/hostname.pp')
-rw-r--r-- | manifests/subsystem/hostname.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/subsystem/hostname.pp b/manifests/subsystem/hostname.pp new file mode 100644 index 0000000..4dedcec --- /dev/null +++ b/manifests/subsystem/hostname.pp @@ -0,0 +1,9 @@ +class nodo::subsystem::hostname { + file { "/etc/hostname": + owner => "root", + group => "root", + mode => 0644, + ensure => present, + content => "${::fqdn}\n", + } +} |