Use a template for zshrc, setup root zshrc
[cacert-puppet.git] / sitemodules / profiles / manifests / base.pp
index d33e8f7..bb43a01 100644 (file)
@@ -104,9 +104,17 @@ class profiles::base (
     owner   => 'root',
     group   => 'root',
     mode    => '0644',
-    source  => 'puppet:///modules/profiles/base/newuser.zshrc.recommended',
+    content => epp('profiles/base/zshrc.epp'),
     require => Package['zsh'],
   }
+  file { '/root/.zshrc':
+    ensure  => file,
+    owner   => 'root',
+    group   => 'root',
+    mode    => '0640',
+    content => epp('profiles/base/zshrc.epp',
+      {'prompttemplate' => 'fire'}),
+  }
 
   file { '/etc/apt/sources.list':
     ensure  => file,