diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-15 13:03:46 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-15 13:03:46 -0200 |
commit | e88378ecb98bc3932aa8484837fefa04e5b9323b (patch) | |
tree | fad367800442e83d3a8847c7e67cf41b3c3b0f3f /manifests | |
parent | 95322378019d3a4f26ed4396f33f1a83185f64ed (diff) | |
download | puppet-nodo-e88378ecb98bc3932aa8484837fefa04e5b9323b.tar.gz puppet-nodo-e88378ecb98bc3932aa8484837fefa04e5b9323b.tar.bz2 |
Better prompt config
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 15 |
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, } } |