Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug report - rundeck user account #72

Closed
ozbillwang opened this issue May 21, 2015 · 3 comments
Closed

bug report - rundeck user account #72

ozbillwang opened this issue May 21, 2015 · 3 comments
Labels
bug Something isn't working

Comments

@ozbillwang
Copy link
Contributor

I need rename default rundeck account from rundeck to other (following the company naming standard).

rundeck::user: A1234
rundeck::group: A1234

After installed rundeck on a new system, two folders and subfolders are fine with user A1234:

/etc/rundeck
/var/rundeck

But rundeck user is still created, and folder /var/lib/rundeck and subfolders are owned by rundeck.

rundeck:x:502:502::/var/lib/rundeck:/bin/bash

My rundeck system is running on CentOS 6.6

@liamjbennett
Copy link
Member

Based upon this:
https://github.com/rundeck/rundeck/blob/development/packaging/rundeck.spec#L140:L142

The problem is that the rundeck package creates this by default.

What needs to happen here is that we need to manage the rundeck user in install.pp and ensure that if the user != rundeck then we ensure absent for this default.

@liamjbennett liamjbennett added the bug Something isn't working label May 22, 2015
@ozbillwang
Copy link
Contributor Author

Thanks for the confirmation @liamjbennett , that's the root cause. Seems in the same file, line 31~33 have the similar setting.

https://github.com/rundeck/rundeck/blob/development/packaging/rundeck.spec#L31:L33

liamjbennett added a commit that referenced this issue May 29, 2015
The rundeck package will create a default user and group of 'rundeck' if
a non-default user and group is specified by this module then we want to
make sure that they are created properly, that the rundeck defaults are
removed and that all directories have the correct permissions.
liamjbennett added a commit that referenced this issue May 29, 2015
The rundeck package will create a default user and group of 'rundeck' if
a non-default user and group is specified by this module then we want to
make sure that they are created properly, that the rundeck defaults are
removed and that all directories have the correct permissions.
liamjbennett pushed a commit that referenced this issue May 29, 2015
Fix for #72 - bug with non-default user and group
@liamjbennett
Copy link
Member

Fixed in 383d55d

bastelfreak pushed a commit to bastelfreak/puppet-rundeck that referenced this issue Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants