Skip to content

Instantly share code, notes, and snippets.

@sly01
Created July 22, 2017 12:34
Show Gist options
  • Save sly01/98468d167e466769ff61ed5258842732 to your computer and use it in GitHub Desktop.
Save sly01/98468d167e466769ff61ed5258842732 to your computer and use it in GitHub Desktop.
include ::nfs::client
nfs::client::mount { '/scripts':
mount => '/scripts',
server => '192.168.33.50',
share => '/test',
perm => '0755',
options => 'rw,nfsvers=3',
}
file { '/root/hello.txt':
ensure => 'file',
source => '/scripts/hello.txt',
path => '/root/hello.txt',
owner => 'root',
group => 'root',
mode => '0644',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment