Comments (4)
Hi
I also test this module (latest from github) on centos 7 with wildfly 9.0.2 and it works for me
The only bug I got it tries to enable the service in every puppet run like this
Notice: /Stage[main]/Wildfly::Service/Service[wildfly]/enable: enable changed 'false' to 'true'
==> default: Notice: /Stage[main]/Wildfly::Prepare/Group[wildfly]/ensure: created
==> default: Notice: /Stage[main]/Wildfly::Prepare/User[wildfly]/ensure: created
==> default: Notice: /Stage[main]/Wildfly::Prepare/File[/opt/wildfly]/ensure: created
==> default: Notice: /Stage[main]/Wildfly::Install/Exec[Download wildfly from http://download.jboss.org/wildfly/9.0.2.Final/wildfly-9.0.2.Final.tar.gz]/returns: executed successfully
==> default: Info: /Stage[main]/Wildfly::Install/Exec[Download wildfly from http://download.jboss.org/wildfly/9.0.2.Final/wildfly-9.0.2.Final.tar.gz]: Scheduling refresh of Exec[untar wildfly-9.0.2.Final.tar.gz]
==> default: Notice: /Stage[main]/Wildfly::Install/Exec[untar wildfly-9.0.2.Final.tar.gz]/returns: executed successfully
==> default: Notice: /Stage[main]/Wildfly::Install/Exec[untar wildfly-9.0.2.Final.tar.gz]: Triggered 'refresh' from 1 events
==> default: Info: Computing checksum on file /opt/wildfly/bin/standalone.conf
==> default: Info: /Stage[main]/Wildfly::Setup/File[/opt/wildfly/bin/standalone.conf]: Filebucketed /opt/wildfly/bin/standalone.conf to puppet with sum f87f0b158b9734ca32d7d307d3567ff2
==> default: Notice: /Stage[main]/Wildfly::Setup/File[/opt/wildfly/bin/standalone.conf]/content: content changed '{md5}f87f0b158b9734ca32d7d307d3567ff2' to '{md5}30aa047065bc97124716636387d96a8b'
==> default: Notice: /Stage[main]/Wildfly::Setup/File[/opt/wildfly/bin/standalone.conf]/seluser: seluser changed 'unconfined_u' to 'system_u'
==> default: Notice: /Stage[main]/Wildfly::Setup/File[/opt/wildfly/bin/standalone.conf]/seltype: seltype changed 'usr_t' to 'bin_t'
==> default: Info: /Stage[main]/Wildfly::Setup/File[/opt/wildfly/bin/standalone.conf]: Scheduling refresh of Class[Wildfly::Service]
==> default: Info: /Stage[main]/Wildfly::Setup/File[/opt/wildfly/bin/standalone.conf]: Scheduling refresh of Class[Wildfly::Service]
==> default: Info: /Stage[main]/Wildfly::Setup/File[/opt/wildfly/bin/standalone.conf]: Scheduling refresh of Class[Wildfly::Service]
==> default: Notice: /Stage[main]/Wildfly::Setup/Wildfly::Config::Mgmt_user[wildfly]/Wildfly::Config::User[wildfly]/File_line[wildfly:ManagementRealm]/ensure: created
==> default: Info: Class[Wildfly::Service]: Scheduling refresh of Service[wildfly]
==> default: Notice: /Stage[main]/Wildfly::Service/File[/etc/default/wildfly.conf]/ensure: defined content as '{md5}76ba1c433ac18364bae42b40d117bb6d'
==> default: Info: /Stage[main]/Wildfly::Service/File[/etc/default/wildfly.conf]: Scheduling refresh of Service[wildfly]
==> default: Notice: /Stage[main]/Wildfly::Service/File[/etc/init.d/wildfly]/ensure: defined content as '{md5}c51849d364e29f46ed3928cf0f598df8'
==> default: Notice: /Stage[main]/Wildfly::Service/Service[wildfly]/ensure: ensure changed 'stopped' to 'running'
==> default: Info: /Stage[main]/Wildfly::Service/Service[wildfly]: Unscheduling refresh on Service[wildfly]
this is the config I used
node default {
include my_os
include my_java
include my_wildfly
}
# Operating Sytem settings
class my_os {
host{'localhost':
ip => "127.0.0.1",
host_aliases => ['localhost.localdomain',
'localhost4',
'localhost4.localdomain4'],
}
host{'dev.example.com':
ip => "10.10.10.10",
host_aliases => 'dev',
}
service { iptables:
enable => false,
ensure => false,
hasstatus => true,
}
$install = ['binutils.x86_64','wget']
package { $install:
ensure => present,
}
}
class my_java {
contain my_os
class { 'jdk_oracle':
version => "8",
version_update => '60',
version_build => '27',
}
}
class my_wildfly{
contain my_os, my_java
class { 'wildfly':
version => '9.0.2',
install_source => 'http://download.jboss.org/wildfly/9.0.2.Final/wildfly-9.0.2.Final.tar.gz',
java_home => '/opt/jdk1.8.0_60',
dirname => '/opt/wildfly',
mode => 'standalone',
config => 'standalone-full-ha.xml',
users_mgmt => { 'wildfly' => { password => 'wildfly'}},
}
}
from puppet-wildfly.
Thank you @ashish1099
First, are you using Safari? He keeps trying to replace wildfly for wildly and it really annoys me hahaha
I was aware of this problem, but was unable to map the cause since it seemed non-deterministic (heisenbug) in my environment
One day I lost about 4-6 hours of my day due to VMWare Fusion slow network when using beaker (hate that I can't use vagrant-cachier with Beaker + Vagrant) and had to give up on this for a while
@biemond This problem that you reported is a constant. At first I thought it was a a problem with service
type (he just keeps reporting that it can't enable the service), but lately started to think that I might be missing something about systemd behavior (i.e. Do I really need /etc/systemd/system/wildfly.service file?)
http://www.dmartin.es/2014/07/jboss-eap-6-as-rhel-7-service/
from puppet-wildfly.
indeed
puppet on rhel 7 checks with systemctl the UnitFileState property for if it is enabled or not. In our case this property is empty.
The wildfly service ( <7.0 init.d script ) does not support systemctl is-enabled
But the dmartin solution seems fine. I will take a look at it
from puppet-wildfly.
Just fixed with latest commit. Feel free to test and reopen this if you still having problems with RHEL7 based distros.
from puppet-wildfly.
Related Issues (20)
- Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir HOT 2
- JBOSS-EAP with **systemctl start jboss-eap** don't works from another machine just locally HOT 1
- where the log file is stored on Puppet Agent by this module HOT 1
- on SUSE Linux /etc/init.d/jboss-eap: line 13: /etc/init.d/functions: No such file or directory HOT 1
- wildfly_restart functionality issues
- how to install und build multiple standalone instances in the same machine
- Need a way to install module with multiple jar files as source HOT 1
- Transfer this module to voxpupuli HOT 22
- wildfly::jgroups::stack::tcpping fails with "No resource definition" HOT 1
- Update test environment for Ruby 3, Puppet 7, and related Gems HOT 1
- Add parameters to domain.conf variables PROCESS_CONTROLLER_JAVA_OPTS and HOST_CONTROLLER_JAVA_OPTS
- Replace MaxPermSize with MaxMetaspaceSize in domain.conf template HOT 1
- `wildfly::host::server_config` with `ensure => absent` in already absent server tries to stop it and fails with timeout
- Include support for CLI API for actions currently performed via HTTP API HOT 2
- Multiple calls to defined type wildfly::host::server_config cause "Duplicate resource" error HOT 3
- class wildfly::setup hardcodes subsystem when setting up remote user HOT 2
- Installer download fails because install_cache_dir doesn't exist
- Module configures service only as sysvinit, regardless of actual init system, when $version < 10 HOT 1
- Update Wildfly download URL for version >= 25
- Support for Wildfly 31.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-wildfly.