Comments (5)
You have to include also the module puppet (or at least pupet::debug) in order to make debug work (it provides File[puppet_debug_variables] )
from psick.
Hi,
Excellent, I've put this at the top of my basenode:
include puppet::debug
and it works nicely!
PEBCAK... :)
Thanks!
Ger.
from psick.
A suggestion, to avoid variables scping issues, you should define variables BEFORE including the relevant classes.
So, if you follow the "nodes inheritcance" approach, as described in my puppet.intrastructures, be use to include classes ONLY at the "end" of the inherticance tree (at the real node level) AFTER the definition (and eventually override) of the variables you may have at the basenode or lower levels.
I suggest to use "roles" to define group of servers with the same functionality so that in a node you just include one class: the role class, and there you include all the classes you need for that role.
from psick.
Okay, I'll move it to the end of the basenode def. for now, when I figure out roles better I'll put it there.
Thanks for helping this n00b.. :)
from psick.
You're welcomed, and actually it's quite useful to receive this kind of feedback, so thank you 2.
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.