Ask Your Question

Create local users with a freeIPA environment?

asked 2015-06-24 11:32:40 -0600

mlanghor gravatar image

We're rolling out RedHat's version of freeIPA, and I'm running into an issue now with managing users locally.

Yea, it's kinda wonky, but we have all of our application accounts defined in IPA but disabled. Where the applications will be running we'd have them configured as local users. The accounts being in IPA simply to provide uid/gid lookups with shared filesystems.

This causes issues with Puppet trying to create the account, since useradd states that the user exists.

Any way in puppet to work around this, other than going right to the /etc/passwd, /etc/shadow, /etc/group files?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-26 00:41:23 -0600

johnnyb04 gravatar image

updated 2015-07-30 07:42:28 -0600

Have you tried the forcelocal attribute for the user resource? For instance...

user{ 'localusers': name => 'bob', ensure => present, forcelocal => true; }

edit flag offensive delete link more


I hadn't tried that param. Thanks! should be much better than a file_line

mlanghor gravatar imagemlanghor ( 2015-12-08 12:50:13 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-24 11:32:40 -0600

Seen: 482 times

Last updated: Jul 30 '15