Thanks for the feedback about Gepetto, James.

I tried to start using it last year, and learning to use that tool went sideways on me. I have written shell scripts for the past 20+ years, but I don't really write programs anymore (in C, C++, Fortran or even Pascal); so I think I first need to learn how to write a module without it to get down the basics. Afterwards, I can then maybe figure out how to get Gepetto to actually work with a VMware instance of Puppet running in my Windows PC, and also somehow figure out how to get the Git hooks into place as well.

Anyway, thanks again. I have more questions about the module I am writing (this process is truly evolving my understanding), so I will be posting another separate thread about that next.
--Warron

On 6/1/2016 9:21 PM, James Pryor wrote:
Warron,
Thank you for the the praise.
Geppetto is fine. I used it 2014 & part of 2015. Some people may disagree, but I found that it (by way of Eclipse) was quite heavy weight and used lots of CPU and RAM in my workstation. With Geppetto it was amazing to get all my modules in one place and have it report static code analysis errors and warnings across all the modules so that we could fix up our whole codebase. Though that functionality is available outside of Geppetto via puppet-lint[1] by running it across all the modules.

When the atom editor[2] came out with version 1.0, I started using that for about half of my puppet coding with add-on packages for puppet syntax and linting provided[3]. The other half is done in Vim[4] If you need additional choice of editing tools, checkout the front-page of the forge[5] and ask questions here on puppet-users list or on Ask Puppet[6].

Regards,
James

[1] http://puppet-lint.com
[2] https://atom.io/
[3] https://atom.io/packages/search?q=puppet
[4] http://www.vim.org/
[5] https://forge.puppet.com/
[6] https://puppet.com/community/user-groups

On Wed, Jun 1, 2016 at 8:23 PM, warron.french <warron.fre...@gmail.com <mailto:warron.fre...@gmail.com>> wrote:

    James, you are awesome!  Thank you.  I wrote my first module, I am
    calling it sidedoor, as opposed to backdoor; and it for the
    purpose of enabling the creation of accounts on systems to work
    around NSS (LDAP, AD, NIS, Samba, etc...) service outage and have
    never written one from scratch before.  I have to learn to write
    code "in a real world" setting now instead of the Learning VM
    where things don't break, but they don't do anything at all either.

    So, while I am at home sick this week, I have been taking
    advantage of the opportunity to write a module, test it with
    puppet apply --noop, and then commit the module (this last step
    you helped me with).  This link did help me.

    Unfortunately, I think my prior instance of PE -2015.2 was totally
    busted for some reason - not sure why, so I had to rebuild from
    scratch.

    By the way, do you know how to use the Gepetto IDE for writing
    Puppet Modules?


    Thanks again, that link helped me to at least get the module
    recognized; now at least next time I know to look for updating the
    cache of the Puppet Master to the web interface - and waiting for
    3 minutes.

    --------------------------
    Warron French


    On Wed, Jun 1, 2016 at 3:31 PM, James Pryor <pryj...@gmail.com
    <mailto:pryj...@gmail.com>> wrote:

        I have personal experience with PE 2015.2 thus I knew what to
        look for, so I think this will help you.
        
https://docs.puppet.com/pe/2015.2/console_classes_groups.html#adding-classes-to-a-node-group
        and search the page for the word refresh.

        I found this by doing a google search on: puppet enterprise
        console refresh
        and then chose the 2015.2 documentation on the docs.puppet.com
        <http://docs.puppet.com> website.

        I recommend reading all the documentation once. Yes it eats up
        a ton of time and you might not make immediate progress with
        Puppet Enterprise, but the docs cover important foundation
        info so much that your familiarity with the docs will
        eventually make you speed up.

        Regards,
        James


        On Wed, Jun 1, 2016 at 3:20 PM, warron.french
        <warron.fre...@gmail.com <mailto:warron.fre...@gmail.com>> wrote:

            Another question...
                 I have rebuilt my Puppetmaster (as some of you
            already know), and
            copied into place a module I wrote into -
            */etc/puppetlabs/code/environments/production/modules.*
            *
            *
            However, when I go into the Puppet Admin Console, into the
            Classification tab.  When I try to "pull up" my module to
            classify my nodes; the module name doesn't show up in the
            list.


            How do I make the module show up in the list?  Did I miss
            a step?


            --------------------------
            Warron French

-- You received this message because you are subscribed to
            the Google Groups "Puppet Users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to
            puppet-users+unsubscr...@googlegroups.com
            <mailto:puppet-users+unsubscr...@googlegroups.com>.
            To view this discussion on the web visit
            
https://groups.google.com/d/msgid/puppet-users/CAJdJdQkSAbQj1ChFkm3%3DEd7Car4LWvNojkM11XQwC-kpVTmxdg%40mail.gmail.com
            
<https://groups.google.com/d/msgid/puppet-users/CAJdJdQkSAbQj1ChFkm3%3DEd7Car4LWvNojkM11XQwC-kpVTmxdg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
            For more options, visit https://groups.google.com/d/optout.


-- You received this message because you are subscribed to the
        Google Groups "Puppet Users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to puppet-users+unsubscr...@googlegroups.com
        <mailto:puppet-users+unsubscr...@googlegroups.com>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/puppet-users/CAOsPUciQfxwvP_Qt17yzpowoVAMLMV0fyCZvm7tp8iVxo%3D6X8w%40mail.gmail.com
        
<https://groups.google.com/d/msgid/puppet-users/CAOsPUciQfxwvP_Qt17yzpowoVAMLMV0fyCZvm7tp8iVxo%3D6X8w%40mail.gmail.com?utm_medium=email&utm_source=footer>.
        For more options, visit https://groups.google.com/d/optout.


-- You received this message because you are subscribed to the Google
    Groups "Puppet Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to puppet-users+unsubscr...@googlegroups.com
    <mailto:puppet-users+unsubscr...@googlegroups.com>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/puppet-users/CAJdJdQkRpt8avZU98wdU5QpXeuNiBXz-e6jfcPTRQ3n8v51DQA%40mail.gmail.com
    
<https://groups.google.com/d/msgid/puppet-users/CAJdJdQkRpt8avZU98wdU5QpXeuNiBXz-e6jfcPTRQ3n8v51DQA%40mail.gmail.com?utm_medium=email&utm_source=footer>.


    For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com <mailto:puppet-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOsPUcj%3DS5k8nsE0C8-82s2oyPFRSdhRy87zVVZFQKBXpi%3DVww%40mail.gmail.com <https://groups.google.com/d/msgid/puppet-users/CAOsPUcj%3DS5k8nsE0C8-82s2oyPFRSdhRy87zVVZFQKBXpi%3DVww%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/574F9DAD.7010204%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to