Hey Guys,

I am wanting to add certain users to certain hosts. I was thinking of 
listing it in my users module. Here is an example:

 user {'llane':
    if $fqdn = 'node1.example.com' {
      ensure => present,
    }else{
      ensure => absent,
    }
    home       => '/home/llane',
    managehome => true,
    uid        => '1003',
    shell      => '/bin/bash',
    comment    => 'Lois Lane',
  }

Basically looking to add Lois Lane to ONLY node1.example.com.

However Puppet is saying I can't do it because of a syntax error. To me the 
code looks correct, but I may be just tired and not noticing the error. Any 
suggestions? Thanks

- Philippe

-- 
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/8115546e-e60f-4f5b-898f-45ba8f574255%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to