summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/shell.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-11 15:00:36 -0400
committerMicah Anderson <micah@riseup.net>2013-06-11 15:01:14 -0400
commit400dde54f3950ad01d716b664d2ed1a236b8ca42 (patch)
treeb019bd130ea82f85b1ce308ecef1ae4872e0a32e /puppet/modules/site_config/manifests/shell.pp
parent14bd8cf734fec65d4f1e16bfe64710008bdac174 (diff)
add a class site_config::shell for shell-related configurations
setup a /etc/profile.d configuration snippet to put /srv/leap/bin in the $PATH (#2122) Change-Id: I0afb5232375e6c6d9f692a97243023c710265d54
Diffstat (limited to 'puppet/modules/site_config/manifests/shell.pp')
-rw-r--r--puppet/modules/site_config/manifests/shell.pp10
1 files changed, 10 insertions, 0 deletions
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;
+ }
+}