diff options
author | Tom De Vylder <tom@penumbra.be> | 2012-11-27 14:48:55 +0100 |
---|---|---|
committer | Tom De Vylder <tom@penumbra.be> | 2012-11-27 14:48:55 +0100 |
commit | 1ae807f8b813413c0e93dc9f511b0004a2df78fa (patch) | |
tree | 85b0aa156c0984a6b8d833d15f3639b67da4599e /manifests/config.pp | |
download | puppet-nfs-1ae807f8b813413c0e93dc9f511b0004a2df78fa.tar.gz puppet-nfs-1ae807f8b813413c0e93dc9f511b0004a2df78fa.tar.bz2 |
Initial commit
Diffstat (limited to 'manifests/config.pp')
-rw-r--r-- | manifests/config.pp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/config.pp b/manifests/config.pp new file mode 100644 index 0000000..e55cb59 --- /dev/null +++ b/manifests/config.pp @@ -0,0 +1,21 @@ +# = Class nfs::config +# +class nfs::config { + File { + ensure => present, + require => Class['::nfs::install'], + notify => Service[$::nfs::service_name], + owner => $::nfs::config_user, + group => $::nfs::config_group, + } + + if $::nfs::client { + } + + if $::nfs::server { + file { $::nfs::config_file: + ensure => directory, + } + } +} + |