On Friday, March 21, 2014 2:09:12 AM UTC-5, Sebor wrote:
>
> Hi!
> I have the entry in my site.pp:
> user { 'testuser':
> name => 'testuser',
> ensure => 'present',
> home => '/export/home/testuser',
> password => '$5$3dA8tfNG$XIKm1FRM3limH12jzdSVjQAcCWzxj64H6BI/n66',
> roles => 'root',
> managehome => true,
> }
>
> But my agents doesnt apply any changes in system:
> Info: Caching catalog for testhost.local
> Info: Applying configuration version '1395384645'
> Finished catalog run in 0.12 seconds
>
> However, local command "puppet apply site.pp" works:
> /Stage[main]//User[testuser]/ensure: created
> Finished catalog run in 1.55 seconds
> Any ideas?
>
>

Two likely scenarios come to mind:

   1. a user matching the declaration already exists on the system, or
   2. the catalog retrieved from the master does not contain the resource.


The user might already exist for any number of reasons, but a good one 
would be that you created him previously via "puppet apply".

The catalog might not contain the resource if the site.pp file you describe 
is not in the right place or has a different name.  By default the right 
place and name is "/etc/puppet/manifests/site.pp", but that that can be 
changed in the config file.


John

-- 
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/2fb03f92-1443-4ef8-9676-8d4c539f2e13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to