Comments (5)
Better instructions is always good! I would happily merge readme updates if they improve usage.
I might be a bit blind to flaws since I created the module. You don't get that more then two facter facts from installing the module.
from jhaals-warranty.
I'd be happy to create a pull request, but so far haven't figured out how to implement this module myself. It seems like you should be able to clone it into the /ect/facter/facts.d and then run a facter -p, but I don't see any extra facts when I do that. I've also made sure the warranty.rb file is executable.
facter -p --debug |grep warranty
Fact file /etc/facter/facts.d/jhaals-warranty was parsed but returned an empty data set
Fact file /etc/facter/facts.d/jhaals-warranty was parsed but returned an empty data set
Fact file /etc/facter/facts.d/jhaals-warranty was parsed but returned an empty data set
Fact file /etc/facter/facts.d/jhaals-warranty was parsed but returned an empty data set
from jhaals-warranty.
That's not how you install modules
http://docs.puppetlabs.com/puppet/2.7/reference/modules_installing.html
from jhaals-warranty.
Yes, I am aware of how to install a module, however non of my attempts to actually use it have been successful.
git clone https://github.com/JHaals/jhaals-warranty.git /etc/puppet/modules
puppet module list
/etc/puppet/modules
├── jfryman-nginx (v0.0.5)
├── jhaals-warranty (???)
Could you paste a code snippet of how *you* use this module?
I have done a handful of tests, creating classes that include this module, however none of them work.
from jhaals-warranty.
What OS are you using?
It's just providing a facter fact. It's up to you how to use it.
if str2bool($::warranty) == false {
# do something
}
from jhaals-warranty.
Related Issues (5)
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 jhaals-warranty.