summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authormicah <micah@leap.se>2013-06-14 16:27:56 +0200
committermicah <micah@leap.se>2013-06-14 16:27:56 +0200
commitf2e26b8dd58ef98044d763811c32619c4cff8938 (patch)
treebd68fb8f77094c71457ec82c9b377f843439f2e8 /puppet/modules
parent086439b2676a763d4414ea3f2ef80fb0daaba088 (diff)
parent400dde54f3950ad01d716b664d2ed1a236b8ca42 (diff)
Merge branch 'feature/leap_path' of /home/git/repositories/micah/leap_platform into develop
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_config/manifests/default.pp2
-rw-r--r--puppet/modules/site_config/manifests/shell.pp10
2 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/default.pp b/puppet/modules/site_config/manifests/default.pp
index 7758a69d..cfb46130 100644
--- a/puppet/modules/site_config/manifests/default.pp
+++ b/puppet/modules/site_config/manifests/default.pp
@@ -36,4 +36,6 @@ class site_config::default {
Class['git'] -> Vcsrepo<||>
+ # include basic shell config
+ include site_config::shell
}
diff --git a/puppet/modules/site_config/manifests/shell.pp b/puppet/modules/site_config/manifests/shell.pp
new file mode 100644
index 00000000..b1a65389
--- /dev/null
+++ b/puppet/modules/site_config/manifests/shell.pp
@@ -0,0 +1,10 @@
+class site_config::shell {
+
+ file {
+ '/etc/profile.d/leap_path.sh':
+ content => 'PATH=$PATH:/srv/leap/bin',
+ mode => '0644',
+ owner => root,
+ group => root;
+ }
+}