Comments (4)
Hi @Joris29, thank for pointing out these potential improvements. One of the primary reasons why we didn't use very strict types was to avoid a very abrupt backwards-incompatible update. Some changes of the mentioned changes can probably get away with a stricter datatype right away and we will look into it.
The $source_url
suggestion, however, cannot be implemented as (afaik) the parameter is used to contain a full URL that starts with either puppet://
, http(s)://
or ftp://
, rather than exclusively those three String values. You can see examples of this happening in our Spec test files. Maybe the wording of this parameter description could be adjusted to be a little less vague.
I cannot ensure either that the $address
change will work as we seem to permit the value 'localhost'
as a valid option, while our custom type Stdlib::IP::Address doesn't specify that as a true value.
We will investigate these and more possible parameter type updates soon. However, if there is any potential upgrade/bugfix that you need immediately merged into the module, feel free to drop a Pull Request and we will review/merge it as soon as we can.
from puppetlabs-tomcat.
@Joris29 A limitation regarding our custom Port type is that it allows exclusively Integers. Which might break the builds of users that were passing Strings. That one might be have to be remade as a Variant[String[1], Stdlib::Port] to avoid breaking changes.
The $address suggestion is a fairly good idea. Can't believe I didnt think about it before 😅
from puppetlabs-tomcat.
The one that bothers me most at the moment is the port being a string it just feels weird but I'll see if i can make a PR
from puppetlabs-tomcat.
And about the address you could work with a variant either being Stdlib::IP::Address or localhost
Something like this:
Variant[Stdlib::IP::Address, 'localhost']
from puppetlabs-tomcat.
Related Issues (11)
- new forge release to allow compatibility with puppet/archive 6.x HOT 4
- WARNING property "name" in resources unfixed
- Allow setting attributes of Context element in context.xml
- Tests failing since upgrade to Tomcat 8.5.84
- Wrong package_ensure type HOT 1
- Breaking changes introduced in 6.4.0 HOT 1
- Support for Tomcat 8.5+
- Missing dependency on File['server.xml'] when connector, host or valve classes are used
- Tomcat module declares Puppet 8 compatibility, but its dependency modules do not HOT 3
- Installation from archive location problem HOT 1
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 puppetlabs-tomcat.