We're a small organization and all my servers are pets.  I've made an
effort to keep site specific data out of the manifest, but I haven't been
able to completely.
Hiera has been a big help in getting us most of the way.

Is it even possible to have a clean manifest, when a person has pets to
mange?

I'm still ending up with hostnames as variables in erb files, assigning
classes like "files::servername" and something like the following:

  # manage index.html
  file { '/var/www/html/index.html':
    owner           => apache,
    group           => apache,
    mode            => '0640',
    source          => $::hostname ? {
      default       => undef,
      $::hostname   => "puppet:///modules/httpd/${::hostname}.index.html",
    }
  }

Any advice is appreciated.
Thanks,

-- 
Kent Brede

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2BnSE3829QU-tfnEcM3zcPg%2Bdyx268M4kkB4FqSf3Q%2BH6Hs%2B%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to