Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #9 from koglinjg/feature_fix_mount_commands
Browse files Browse the repository at this point in the history
Fixed mount commands by adding a pretty generic path
  • Loading branch information
alvagante committed May 2, 2015
2 parents f1ed718 + 043ea45 commit 892b49b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fixtures:
"firewall": "git://github.com/example42/puppet-firewall.git"
"iptables": "git://github.com/example42/puppet-iptables.git"
"concat": "git://github.com/puppetlabs/puppet-concat.git"
"stdlib": "git://github.com/puppetlabs/stdlib.git"
"stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
symlinks:
"nfs": "#{source_dir}"

1 change: 1 addition & 0 deletions manifests/mount.pp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
exec {"create ${real_mountpoint} and parents":
command => "mkdir -p ${real_mountpoint}",
unless => "test -d ${real_mountpoint}",
path => "/bin:/usr/bin:/usr/local/bin"
}
Mount["shared ${share} by ${server}"] {
require => [Exec["create ${real_mountpoint} and parents"], Class['nfs::client']],
Expand Down

0 comments on commit 892b49b

Please sign in to comment.