Git Product home page Git Product logo

Comments (5)

alexjfisher avatar alexjfisher commented on June 29, 2024

@rgarrigue See #55

from puppet-vmwaretools.

rgarrigue avatar rgarrigue commented on June 29, 2024

@alexjfisher Ok. Should I enforce STRICT_VARIABLES=no ? If I should, how do I do that, site.pp, puppet.conf ?

Thanks,

from puppet-vmwaretools.

alexjfisher avatar alexjfisher commented on June 29, 2024

It'd be strict_variables = false in puppet.conf on your master
https://docs.puppet.com/puppet/latest/reference/configuration.html#strictvariables

STRICT_VARIABLES=no is how you'd set the option when using rspec-puppet and puppetlabs_spec_helper. https://github.com/puppetlabs/puppetlabs_spec_helper#initializing-puppet-for-testing

I don't think this will help you though. The option already defaults to false but I'm guessing in recent versions, puppet generates warnings. If it was set to true I don't think the catalog would compile at all.

To fix the warnings, you'd have to fix the params.pp manifest in this module. The fixes aren't hard, but there are quite a lot of them needed. I might be able to find the time at some point, just probably not this week at least.

from puppet-vmwaretools.

rgarrigue avatar rgarrigue commented on June 29, 2024

So I tried the strict_variable=no, but as you guessed that's not changing
anything. Settings it to yes issue an error instead of a warning and stop
compilation, no is the default issue warning type.

So... well, that only cosmetic, nevermind this. Thanks for the answer
anyway !

2016-08-31 14:07 GMT+02:00 Alex Fisher [email protected]:

It'd be strict_variables = false in puppet.conf on your master
https://docs.puppet.com/puppet/latest/reference/configuration.html#
strictvariables

STRICT_VARIABLES=no is how you'd set the option when using rspec-puppet
and puppetlabs_spec_helper. https://github.com/puppetlabs/
puppetlabs_spec_helper#initializing-puppet-for-testing

I don't think this will help you though. The option already defaults to
false but I'm guessing in recent versions, puppet generates warnings. If
it was set to true I don't think the catalog would compile at all.

To fix the warnings, you'd have to fix the params.pp manifest in this
module. The fixes aren't hard, but there are quite a lot of them needed. I
might be able to find the time at some point, just probably not this
week at least.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#54 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AByQn3CqUpTvo735MvTak0g5gfpRb54Rks5qlW5mgaJpZM4JtOC-
.

from puppet-vmwaretools.

razorsedge avatar razorsedge commented on June 29, 2024

Fixed in #62 and released to the Forge as 6.1.0.

from puppet-vmwaretools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.