You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature request describes new define: jboss::cliexec.
Description for Wiki (draft):
WIKI CUT HERE
The jboss::cliexec defined type
This define is very versatile. It can be used to execute any JBoss CLI method for any CLI path. This define also supports parameters onlyif and unless. One of them must be present to prevent idempotent issues, they should work similar to ones defined in Puppet build-in resource exec.
The unless parameter can be used to check if resource should be executed. If passed command fails that means that it should be run. You must pass unless if not passing onlyif and only one of them can be set for given resource. Example:
The onlyif parameter can be used to check if resource should be executed. If passed command succeds that means that it should be run. You must pass onlyif if not passing unless and only one of them can be set for given resource Example:
This is the namevar. Command to be executed as full CLI entry and method. The command must be passed without /profile=<profile-name> in domain mode as well (for that profile parameter must be used).
basepath parameter
The base path can be used to shorten recurring paths in commands. Example:
Create appropriate type jboss_cliexec and default provider jboss_cliexec/jbosscli for it
Ruby rspec tests for type jboss_cliexec and provider jboss_cliexec/jbosscli
Deprecate dorestart parameter in jboss::clientry, backing type and providers and change rspec tests
Deprecate running and stopped options for ensure property in jboss::clientry, backing type and providers and change rspec tests
Change the way that jboss::domain::server is implemented. Use jboss::cliexec instead of dorestart. Also running and stopped options for ensure should be implemented with jboss::cliexec.
Documentation changes on README.md and Wiki pages
The text was updated successfully, but these errors were encountered:
This feature request describes new define:
jboss::cliexec
.Description for Wiki (draft):
WIKI CUT HERE
The
jboss::cliexec
defined typeThis define is very versatile. It can be used to execute any JBoss CLI method for any CLI path. This define also supports parameters
onlyif
andunless
. One of them must be present to prevent idempotent issues, they should work similar to ones defined in Puppet build-in resourceexec
.Parameters of
jboss::cliexec
:This type uses JBoss module standard metaparameters
unless
parameterThe
unless
parameter can be used to check if resource should be executed. If passed command fails that means that it should be run. You must passunless
if not passingonlyif
and only one of them can be set for given resource. Example:onlyif
parameterThe
onlyif
parameter can be used to check if resource should be executed. If passed command succeds that means that it should be run. You must passonlyif
if not passingunless
and only one of them can be set for given resource Example:command
parameterThis is the namevar. Command to be executed as full CLI entry and method. The command must be passed without
/profile=<profile-name>
in domain mode as well (for thatprofile
parameter must be used).basepath
parameterThe base path can be used to shorten recurring paths in commands. Example:
WIKI CUT HERE
Scope of change for this feature:
jboss::cliexec
jboss::cliexec
jboss::cliexec
jboss::cliexec
jboss_cliexec
and default providerjboss_cliexec/jbosscli
for itjboss_cliexec
and providerjboss_cliexec/jbosscli
dorestart
parameter injboss::clientry
, backing type and providers and change rspec testsrunning
andstopped
options forensure
property injboss::clientry
, backing type and providers and change rspec testsjboss::domain::server
is implemented. Usejboss::cliexec
instead ofdorestart
. Alsorunning
andstopped
options for ensure should be implemented withjboss::cliexec
.The text was updated successfully, but these errors were encountered: