managing jboss users from puppet

38 views
Skip to first unread message

Juan Sierra Pons

unread,
Apr 14, 2014, 10:50:43 AM4/14/14
to puppet...@googlegroups.com
Hi,

I am testing the puppet-jboss_as. For the moment all is working ok. :)

But I want to go furtther, my goal is to configure jboss users too, so
instead of creating the jboss users manually I want to do this with
puppet.

I have created a test user using the jboss provided script

Enter the details of the new user to add.
Realm (ManagementRealm) :
Username (test) :
Password : tost
Re-enter Password : tost
About to add user 'test' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'test' to file
'/usr/share/jboss-as/standalone/configuration/mgmt-users.properties'
Added user 'test' to file
'/usr/share/jboss-as/domain/configuration/mgmt-users.properties'

At the properties files the following can be read

# By default the properties realm expects the entries to be in the format: -
# username=HEX( MD5( username ':' realm ':' password))

I am trying to create the user/hast tuple first on the command line
and then by puppet using the following string

test':'ManagementRealm':'tost

The user is created (by de jboss script ) looks like this:
test=76209d472372fb96109e4347bf9ed3d5

Anyone have faced this before?
Any idea howto proceed?

Thanks for your time

Best regards

--------------------------------------------------------------------------------------
Juan Sierra Pons ju...@elsotanillo.net
Linux User Registered: #257202
Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo
GPG key = 0xA110F4FE
Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE
--------------------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages