Thanks, Chris.  It was a typo with the "manifests" name.

On Sunday, August 10, 2014 4:14:47 PM UTC-4, Tom Tucker wrote:
>
>
> I've been chasing this for a few hours.  I created my own user management 
> module and Puppet can't find it.  I must be overlooking something obvious 
> here.  Module path, ownership, permission, etc. have all been checked.  Any 
> ideas?
>
>
> Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/hostint.rb
> Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Could not find class sismon_account for dpupmstr4901.domain.com on node 
> dpupmstr4901.domain.com
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>
>
>
> # Init passes validation
> ########################
> [root@dpupmstr4901 manifest]# puppet parser validate init.pp
> [root@dpupmstr4901 manifest]# 
>
> # modulepath
> ##############
> [root@dpupmstr4901 manifest]# puppet config print modulepath
> /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules
>
>
>
> [root@dpupmstr4901 rc3.d]# cd -
> /etc/puppetlabs/puppet/modules/sismon_account/manifest
>
> [root@dpupmstr4901 manifest]# ls
> init.pp
>
>
> [root@dpupmstr4901 manifest]# cat init.pp 
>  class sismon_account {
>
>  file { "/data/home":
>     ensure => "directory",
>   }
>
>  group {'sismon':
>   ensure => present,
>   gid => 3997,
>    }
>
>   user { "sismon":
>    ensure           => "present",
>    comment          => "sismon@${hostname}",
>    gid              =>  "3997",
>    home             => "/data/home/sismon",
>    password         => "*************",
>    password_max_age => "99999",
>    password_min_age => "0",
>    shell            => "/bin/bash",
>    uid              => "3997",
>    managehome => true,
>   }
>
>  file { "/data/home/sismon/.ssh":
>     ensure => "directory",
>     owner => "3997",
>     group => "3997",
>     mode  => "0775",
>   }
>
>  file { "/data/home/sismon/.ssh/authorized_keys":
>     owner   => "3997",
>     group   => "3997",
>     mode    => "0400",
>     source  => 
> "puppet://$::server/modules/sismon_account/data/home/sismon/.ssh/authorized_keys",
>      }
>
> }
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/cf16c28b-08d0-4c40-bfd6-ff79ce6cd04c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to