Ask Your Question

Getting noop when noop is not used [closed]

asked 2016-12-01 08:58:01 -0600

evil_del gravatar image

Hi, I am using Puppet to manage users over our environment. When I do an agent run on all nodes, the changes are as expected: users are added and deleted as per the code. However, on one host, one user never gets removed and shows as a noop, when I'm NOT running as a noop. All other changes are made, but that one user always says noop. Any idea?

$ sudo puppet agent --test
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for node01
Info: Applying configuration version '144444444'
Notice: /Stage[main]/Accounts::User[xxx]/ensure: current_value present, should be absent (noop)
Notice: /Stage[main]/Accounts::User[yyy]/ensure: created
Notice: Applied catalog in 26.14 seconds
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by evil_del
close date 2017-02-24 10:44:29.181671

2 Answers

Sort by ยป oldest newest most voted

answered 2016-12-01 10:32:49 -0600

evil_del gravatar image

Solved. I WAS using a noop. I had put it in the purge section for test purposes.

# ensure any unmanaged users are purged
resources { 'user':
  purge => true,
  noop  => true,
edit flag offensive delete link more

answered 2016-12-01 09:27:31 -0600

initially i thought it may be because a process is running as that user on the box where it fails to delete user - however that normally givers an error message rather than a noop message .. maybe worth checking anyway.

another thing to look at may be to see in the manifest if noop is being defined - its possible tou could have noop => true that disables it for this user or node...

edit flag offensive delete link more


Hi, thanks for the comment. I'm not using noop in the manifest. Also the user left the company a long time ago and there are no processes owned by that user.

evil_del gravatar imageevil_del ( 2016-12-01 09:59:38 -0600 )edit

You were right. See answer.

evil_del gravatar imageevil_del ( 2016-12-01 10:33:21 -0600 )edit

Question Tools

1 follower


Asked: 2016-12-01 08:58:01 -0600

Seen: 169 times

Last updated: Dec 01 '16