aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp15
1 files changed, 10 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 7c58cf0..c6578cd 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -88,19 +88,24 @@ class nodo {
group => "root",
mode => 0644,
ensure => present,
+ require => File['/usr/local/bin/prompt.sh'],
}
- # Previously we used /etc/bash.bashrc but now we're planning
- # not to manage it. As a transition procedure we'll sync all
- # nodes with the default file.
- #
- # TODO: remove when after all nodes have synced.
file { "/etc/bash.bashrc":
source => "puppet://$server/modules/nodo/etc/bash.bashrc",
owner => "root",
group => "root",
mode => 0644,
ensure => present,
+ require => File['/usr/local/bin/prompt.sh'],
+ }
+
+ file { "/usr/local/bin/prompt.sh":
+ source => "puppet://$server/modules/nodo/bin/prompt.sh",
+ owner => "root",
+ group => "root",
+ mode => 0755,
+ ensure => present,
}
}