Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit a088007

Browse files
committed
Ensure the libdir exists too
1 parent a927d3c commit a088007

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
file {
28-
[$cachedir, $tapsdir, $cmddir]:
28+
[$cachedir, $tapsdir, $cmddir, $libdir]:
2929
ensure => 'directory' ;
3030

3131
# Environment Variables

spec/classes/homebrew_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
with_source("puppet:///modules/homebrew/boxen-#{cmd}.rb")
2929
end
3030

31+
should contain_file("#{dir}/lib").with_ensure("directory")
3132
should contain_file(cmddir).with_ensure("directory")
3233
should contain_file("#{dir}/Library/Taps").with_ensure("directory")
3334
should contain_file("/test/boxen/cache/homebrew").with_ensure("directory")

0 commit comments

Comments
 (0)