diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-12 17:09:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-12 17:09:03 -0300 |
commit | fe1c86b8f938283e9dd8196a8b11a9648f4b49e6 (patch) | |
tree | c2d999eca03862a3e4af57e0885397adf6bbc6ec /manifests/subsystems/profile.pp | |
parent | ec5c750d12bdc7948bb3c04f0c72817718a0bf47 (diff) | |
download | puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.gz puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.bz2 |
Major refactor
Diffstat (limited to 'manifests/subsystems/profile.pp')
-rw-r--r-- | manifests/subsystems/profile.pp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/manifests/subsystems/profile.pp b/manifests/subsystems/profile.pp deleted file mode 100644 index cc84ae0..0000000 --- a/manifests/subsystems/profile.pp +++ /dev/null @@ -1,46 +0,0 @@ -# Custom configuration for user profiles -class profile { - file { "/etc/screenrc": - source => "puppet:///modules/nodo/etc/screenrc", - owner => "root", - group => "root", - mode => 0644, - ensure => present, - } - - # As of squeeze, custom configuration can be placed directly at - # /etc/profile.d, so in the future this file won't need to be - # managed by puppet anymore. - file { "/etc/profile": - source => [ "puppet:///modules/nodo/etc/profile.${::lsbdistcodename}", - "puppet:///modules/nodo/etc/profile", - ], - owner => "root", - group => "root", - mode => 0644, - ensure => present, - require => File['/usr/local/bin/prompt.sh'], - } - - file { "/etc/bash.bashrc": - source => "puppet:///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:///modules/nodo/bin/prompt.sh", - owner => "root", - group => "root", - mode => 0644, - ensure => present, - } - - # This is already being sourced by bash.bashrc. - file { "/etc/profile.d/prompt.sh": - ensure => absent, - } -} |