Permalink
Browse files

Tweaking config so concat works on solaris

  • Loading branch information...
1 parent b160b6e commit 9ae41b596ae0365d056d84d25072da58b3291c3d @reidmv reidmv committed Jan 7, 2012
Showing with 6 additions and 2 deletions.
  1. +1 −1 manifests/define/amandahosts.pp
  2. +5 −1 manifests/virtual.pp
@@ -9,7 +9,7 @@
realize(Concat["${amanda::params::homedir}/.amandahosts"])
concat::fragment {
- "amanda::define::amandahosts::$title":
+ "amanda::define::amandahosts/$title":
target => "${amanda::params::homedir}/.amandahosts",
content => $content,
order => $order;
@@ -86,7 +86,11 @@
owner => $amanda::params::user,
group => $amanda::params::group,
mode => "600",
- require => File[$amanda::params::homedir];
+ require => File[$amanda::params::homedir],
+ gnu => $operatingsystem ? {
+ "Solaris" => false,
+ default => true,
+ };
}
Xinetd::Service {

0 comments on commit 9ae41b5

Please sign in to comment.