Comments (10)
Can you check if this solution fixes your problem? https://ask.puppetlabs.com/question/16629/installing-puppet-lint-to-pe-error-provider-gem-is-not-functional-on-this-host/
Never happened to me. Which OS are you using?
from puppet-wildfly.
[root@wildflyagent ~]# cat /etc/release
CentOS Linux release 7.1.1503 (Core)
Derived from Red Hat Enterprise Linux 7.1 (Source)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
from puppet-wildfly.
Archive/faraday dependency removed.
from puppet-wildfly.
@jairojunior: What was the reasoning behind removing the support for deploying from nexus ? Is that just a part of removing the requirement for the archive module?
This is something that we use pretty heavily as nexus provides an easy method for storing and obtaining specific version of a artifact (war).
Is there consideration for adding this feature back in ?
from puppet-wildfly.
@smbambling It's better to give module users freedom to use whichever module they need to manage downloads.
You should still be able to use:
archive::nexus { '/tmp/MyApp.ear': }
wildly::deployment { 'MyApp.ear':
source => '/tmp/MyApp.ear'
}
It's not that bad, right?
from puppet-wildfly.
@jairojunior I think I might see a few issues...
- The local_source variable is not configurable...and dumping items into the /tmp dir can be removed on a system if they are not referenced in X days. That would cause it to be refetched
- If the source is a local path on the file system a wget is still executed which causes an issue
smbambling@icinga ~ touch bambling.txt
smbambling@icinga ~ wget -N -P /tmp /home/smbambling/bambling.txt --max-redirect=5
/home/smbambling/bambling.txt: Scheme missing.
- Also not sure...but it would seem that the file_name variable is going to be incorrect if a local source is set to a file system path. I'm unaware of how the URI::parse will handle that.
Over all though I think your suggestion of just fetching the war independently is 100% valid and workable.
from puppet-wildfly.
@smbambling Thank you, I'll review wildfly::deployment according to your suggestions.
Regarding your 'not sure' point, it will work even with file:://. You'll only have problems if you don't have file name in the URI, and it happens if you're querying a service for a file (e.g. Nexus HTTP API). We could use --content-disposition (http://superuser.com/questions/301044/how-to-wget-a-file-with-correct-name-when-redirected) for this cases.
from puppet-wildfly.
In place of using the wget with --content-disposition. What about just checking the URI scheme to make sure its valid for wget
╰─ irb
2.2.3 :001 > require 'uri'
=> true
2.2.3 :002 > uri = URI.parse("http://www.google.com")
=> #<URI::HTTP http://www.google.com>
2.2.3 :003 > uri.scheme
=> "http"
2.2.3 :004 > uri = URI.parse("/tmp/foo.war")
=> #<URI::Generic /tmp/foo.war>
2.2.3 :005 > uri.scheme
=> nil
2.2.3 :006 > uri = URI.parse("https://www.google.com")
=> #<URI::HTTPS https://www.google.com>
2.2.3 :007 > uri.scheme
=> "https"
2.2.3 :008 > uri = URI.parse("ftp://www.google.com")
=> #<URI::FTP ftp://www.google.com/>
2.2.3 :009 > uri.scheme
=> "ftp"
2.2.3 :010 >
from puppet-wildfly.
@jairojunior Also ...maybe a new issue should be created to track this ?
from puppet-wildfly.
@smbambling Sure. Currently, wildfly::deployment and wildfly::config::module only support ftp, http and https protocols. And as we discussed its definitely need file support.
from puppet-wildfly.
Related Issues (20)
- 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 HOT 1
- Missing template when using jboss-eap as distribution
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.