Giter VIP home page Giter VIP logo

Comments (12)

liamjbennett avatar liamjbennett commented on July 29, 2024

This is interesting. I would love to know the use-case here. Are you just trying to manage a lot of sites?

I would have said something like this might belong in a profile rather than the module itself.

from puppet-iis.

israelriibeiro avatar israelriibeiro commented on July 29, 2024

Hi, Liam.

yes, that's the case - i used this module to create many sites or pool as i want. I think it's easier to use this way. What do you mean by profile?

from puppet-iis.

liamjbennett avatar liamjbennett commented on July 29, 2024

I meant profile as in "roles and profiles" -http://garylarizza.com/blog/2014/02/17/puppet-workflow-part-2/

from puppet-iis.

israelriibeiro avatar israelriibeiro commented on July 29, 2024

Hi, Liam.

I read Gary's article. I find it quite useful to installed everything i need when i'm talking about cleaned machines, for example, i have hostgroup on foreman to install all php-stack to run a wordpress. Or, as i was talking to a friend of mine, this would be more useful to docker container. Could you clarify how my approach here fits into roles and profiles?

Thanks for the article, i really apreciated.

from puppet-iis.

liamjbennett avatar liamjbennett commented on July 29, 2024

Well what you have created here is almost a profile already.

Your code's purpose is to install multiple sites/bindings on the one node. The arguments that you pass to may differ on a role by role basis therefore it's a profile or a the very minimum part of a internal module in your own codebase.

from puppet-iis.

colutti avatar colutti commented on July 29, 2024

@israelriibeiro Could you please provide an example of how to use your hiera class in the default.yaml file? Where do I put your class at?

from puppet-iis.

israelriibeiro avatar israelriibeiro commented on July 29, 2024

@colutti , if i correctly remember, i add this to node manifest:

class { "iis::iis_hiera": }

Maybe you could add this to hiera too:

classes
 - iis::iis_hiera

from puppet-iis.

colutti avatar colutti commented on July 29, 2024

Yes, but how do you pass parameters to the class iis::iis_hiera?

from puppet-iis.

israelriibeiro avatar israelriibeiro commented on July 29, 2024

@colutti , i described that here: https://github.com/israelriibeiro/puppet-iis#hiera

from puppet-iis.

colutti avatar colutti commented on July 29, 2024

Thank you very much.

from puppet-iis.

colutti avatar colutti commented on July 29, 2024

It would be nice to improve your documentation if you could add an example of how to add { 'iis::iis_hiera': } to the manifest, just to make sure everyone gets it.

from puppet-iis.

bastelfreak avatar bastelfreak commented on July 29, 2024

Hi. I'm going to close this Issue. We deprecated the module and the new version is available here: https://forge.puppet.com/puppetlabs/iis

from puppet-iis.

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.