Comments (6)
removing the Unix::Path from stub.pp, it fails then with:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Failed to parse template unbound/stub.erb:
Filepath: /etc/puppetlabs/code/environments/production/modules/unbound/templates/stub.erb
Line: 4
Detail: uninitialized constant Puppet::Parser::TemplateWrapper::PuppetX
Did you mean? Puppet_X
PuppetDB
Puppet::Parser::TemplateWrapper::Puppetdb
(file: /etc/puppetlabs/code/environments/production/modules/unbound/manifests/stub.pp, line: 41, column: 16) (file: /etc/puppetlabs/code/environments/production/modules/profile/manifests/dnsserver.pp, line: 35) on node mynode
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
from puppet-unbound.
Hmm, it looks like the path reference should be Stdlib::Unixpath
I suspect. I'll test the latest in my environment sometime soon.
from puppet-unbound.
#222 is incomplete. I'll come back.
from puppet-unbound.
Hi @buzzdeee, I believe #222 will solve the issue, can you confirm? Thanks for putting up the issue.
from puppet-unbound.
@xaque208
I tested #222 and it generally works for me.
Only note: before that I had the stub IP address as a string, now it requires an Array due to the loop in the template.
The stub.pp still allows Array and String. So either the stub.pp needs to be more strict, or the template should be more relaxed.
from puppet-unbound.
this was fixed in #222
from puppet-unbound.
Related Issues (20)
- Wrong quoting for local-data TXT records HOT 5
- version 2.4.3 breaks the configfile for tls-upstream on CentOS 7
- `unbound_version` fact needs a test HOT 1
- Debian: module change ownership of directory /run to unbound HOT 13
- add ability to define/generate local-data + override local-zone template HOT 3
- Fix installation on Debian distribution - e.g. unbound option auto-trust-anchor-file is provided two times HOT 8
- Handle TXT records containing double quotes and white space
- Resource default statements in module HOT 17
- Drop EOL Debian 8
- Please support 'respip' in module_config HOT 1
- add deprecation message on the forge HOT 4
- unbound_version not set on first run causing unexpected config file setting HOT 1
- No support Static record mapping to multiple IP
- Documentation is misleading when using unbound::stub
- Outgoing port permit/avoid order wrong when outgoing_port_permit_first = false
- Option trust_anchor_file is not usable
- Allow to restart instead of reload on config changes
- $conf_d and $unbound_conf_d are not documented and unclear how they differ beyond their location HOT 2
- Newer versions of Unbound require the "include:" line in its own stanza 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 puppet-unbound.