git://scientific.zcu.cz
/
meta-site_hadoop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d264a17
)
Helper class for development under Vagrant.
author
František Dvořák
<valtri@civ.zcu.cz>
Mon, 29 Dec 2014 00:30:32 +0000
(
01:30
+0100)
committer
František Dvořák
<valtri@civ.zcu.cz>
Mon, 29 Dec 2014 00:30:32 +0000
(
01:30
+0100)
manifests/devel/hadoop.pp
[new file with mode: 0644]
patch
|
blob
diff --git a/manifests/devel/hadoop.pp
b/manifests/devel/hadoop.pp
new file mode 100644
(file)
index 0000000..
56e4580
--- /dev/null
+++ b/
manifests/devel/hadoop.pp
@@ -0,0
+1,19
@@
+# == Class site_hadoop::devel::hadoop
+# Local post-installation steps for Hadoop.
+class site_hadoop::devel::hadoop {
+ hadoop::kinit{'vagrant-kinit':
+ touchfile => 'vagrant-user-created',
+ }
+ ->
+ hadoop::mkdir{'/user/vagrant':
+ owner => 'vagrant',
+ group => 'hadoop',
+ mode => '0750',
+ touchfile => 'vagrant-user-created',
+ }
+ ->
+ hadoop::kdestroy{'vagrant-kdestroy':
+ touchfile => 'vagrant-user-created',
+ touch => true,
+ }
+}