diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-14 15:12:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-14 15:12:28 -0300 |
commit | 3f2aad8d17bde2354ad6d222d85d7281c40391b5 (patch) | |
tree | c8f290a1d6609baf41e97017c4e10022c1fdbe9e /manifests/subsystem/hostname.pp | |
parent | 11466421c5c5ebb56d345b8f100e22fcd4b539ce (diff) | |
download | puppet-nodo-3f2aad8d17bde2354ad6d222d85d7281c40391b5.tar.gz puppet-nodo-3f2aad8d17bde2354ad6d222d85d7281c40391b5.tar.bz2 |
Splitting nodo code into subsystems
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", + } +} |