Comments (7)
I'm not able to reproduce the error (https://travis-ci.org/example42/puppet-dhcpd)
Can you give more details on the environment and be sure to have the modules updated (especially the puppi one)?
from psick.
I have two environments. Both Solaris.
First it works in this environment.
Master Solaris 11 Puppet 2.7.21
Client Solaris 10 Puppet 2.7.20
The problematic setup is a clone of the master which has been upgraded.
Master Solaris 11 Puppet 3.1.1
Client Solaris 10 Puppet 2.7.20
Modules:
puppi last commit "Date: Wed Apr 10 03:30:13 2013 -0700"
resolver last commit "Date: Sat Mar 9 00:09:50 2013 +0100"
from psick.
Have you been able to reproduce this?
from psick.
Sorry, no.
I've not an easily testable Solaris box at disposal (if you know an url or can provide a Solaris10/11 Vagrant base box that would help a lot, having Solaris boxes here https://github.com/example42/puppet-playground would help a lot the support for Solaris ).
What I can say is that the problem seems related to the params_lookup function (provided by the Puppi module and used in all example42 modules for any parameter assed to the main class) and that a somehow related issue (not using arrays inside functions) was fixed on Puppi when Puppet 3 was released (so is surely covered by your puppi version).
I tested on a Puppet 3.1.1 (on Linux) without problems.
Just a question: do you have the same problem with both client and server at 3.1.1?
The issue is potentially serious anyway, because params_lookup is at the core or Example42 modules, so this has to be investigaed.
Can you try some changes on the first line of the resolver where params_lokup is used and see if the error "shitfs" to the following line:
Instead of:
$dns_domain = params_lookup( 'dns_domain' , 'global' ),
try:
$dns_domain = params_lookup( ['dns_domain' , 'global'] ),
or
$dns_domain = params_lookup( ['dns_domain'] , ['global'] ),
and let me know if:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: custom functions must be called with a single array that contains the arguments. For example, function_example([1]) instead of function_example(1) at /etc/puppet/modules/resolver/manifests/init.pp:148 on node puppetclient
becomes:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: custom functions must be called with a single array that contains the arguments. For example, function_example([1]) instead of function_example(1) at /etc/puppet/modules/resolver/manifests/init.pp:149 on node puppetclient
from psick.
I will look into this next week.
from psick.
I can not reproduce this anymore either. Strange.
from psick.
Well, suppose (and hope) I can close the issue
from psick.
Related Issues (20)
- Refine general Vagrantfile and review/test all environments config.yaml
- puppet_install.sh not working on fedora 27 HOT 1
- Minimal install miss hiera.yaml
- More structured, dynamic, and manageable control-repo spec tests
- Move hieradata to separated module
- Missing development tools in vagrant gitlab.foss.psick.io HOT 3
- boxes.yaml has a duplicate line
- Allow to choose sync folder mount type
- all_roles task missing HOT 2
- Windows compatibility HOT 1
- Link does not work
- Rename Gitlab CI variable CI_BUILD_REF_NAME -> CI_COMMIT_REF_NAME HOT 4
- docs: image is missing
- pool_size throws errors HOT 1
- docs: pe vagrant environment README is missing a plugin
- tp-profile repo is wrong
- Vagrant FOSS shows missing profile psick::puppet::tp HOT 2
- add root passwords rotation script HOT 2
- Update Vagrant PE Env
- Vagrant PE environment causes puppet compiler error 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 psick.