We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now the codeflag, code and moduleoptions are parameters. There is no way to change them after resource creation.
codeflag
code
moduleoptions
When first executed example will create resource Jboss::Securitydomain[db-auth-default]:
Jboss::Securitydomain[db-auth-default]
include jboss jboss::securitydomain { 'db-auth-default': ensure => 'present', code => 'Database', codeflag => 'required', moduleoptions => { 'dsJndiName' => 'java:jboss/datasources/default-db', 'principalsQuery' => 'select \'password\' from users u where u.login = ?', 'hashUserPassword' => false, 'hashStorePassword' => false, 'rolesQuery' => 'select r.name, \'Roles\' from users u join user_roles ur on ur.user_id = u.id join roles r on r.id = ur.role_id where u.login = ?', }, }
When executing next time with different parameters nothing will change but it should change:
include jboss jboss::securitydomain { 'db-auth-default': ensure => 'present', code => 'Database', codeflag => 'required', moduleoptions => { 'dsJndiName' => 'java:jboss/datasources/default-db2', 'principalsQuery' => 'select paswd from users where login = ?', 'hashUserPassword' => true, 'hashStorePassword' => false, }, }
We should change them to property so we can have better manage them.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now the
codeflag
,code
andmoduleoptions
are parameters. There is no way to change them after resource creation.When first executed example will create resource
Jboss::Securitydomain[db-auth-default]
:When executing next time with different parameters nothing will change but it should change:
We should change them to property so we can have better manage them.
The text was updated successfully, but these errors were encountered: