On 2019-05-12 19:36, chengkai liang wrote:
you have to set modulepath to tell puppet where to find your module: https://puppet.com/docs/puppet/5.5/dirs_modulepath.html. The document should be good enough to get your started.


If modulepath is not set it would mean the class that the inclusion of a class from that module would fail with an error "Could not find class".

You now also mixed in a node expression for 'agent.com' which added yet another source of possible errors. Start with just node default, or no node expression at all. Just so you eliminate possible error sources.

Make sure your site.pp runs, then add some resource.

- henrik

On Sun, May 12, 2019 at 7:44 AM Asmae Azbeg <azbegas...@gmail.com <mailto:azbegas...@gmail.com>> wrote:

    Hi,
    I tried what you did to me and he detected the error,
    Actually i tried another example and I have the same result
    here it is and there are also my puppet.conf files, I do not know
    why it does not have [main] and [master] there.
    puppet master :
    file.png


    puppet agent :
    file1.PNG

    I am really sorry for the inconvenience but i really need your help,
    this is my class project
    Best,
    Asmae

    Le dim. 12 mai 2019 à 14:55, Henrik Lindberg
    <henrik.lindb...@puppet.com <mailto:henrik.lindb...@puppet.com>> a
    écrit :

        On 2019-05-12 01:06, Asmae Azbeg wrote:
         > Hi everyone ,
> i installed puppet server and agent version 5.5.10. The communication
         > was successful and i want to crreate and deploy the hello
        warld file but
         > it was'nt working.
         > I followed the steps in this link:
         > https://puppet.com/docs/puppet/5.4/quick_start_helloworld.html
         > here is my puppet server
         > 59953541_2377841845569398_3417727458516926464_n.png
         > 60273866_317554218919831_679099363892396032_n.png
         > but in the puppet agent  i didn't recieve  the file :
         > fich.PNG
         >
         > i really need your help,
         > thank you in advance ,
         > Asma

        Suspect that you are not running the files you think you are.
        Test by making an obvious error in the site.pp you think you are
        running. If it does not fail, you know you are not using the file.

        It is probably looking in the "production" environment directory
        and you
        seem to have the files outside of any environment... (kind of what
        Martin said).

        Best,
        - henrik

         >
         > --
         > 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%2bunsubscr...@googlegroups.com>
         > <mailto:puppet-users+unsubscr...@googlegroups.com
        <mailto:puppet-users%2bunsubscr...@googlegroups.com>>.
         > To view this discussion on the web visit
         >
        
https://groups.google.com/d/msgid/puppet-users/CAG5AitKVwUGWtYrKBWO%3DrqxuuEFm1%3DTt%3DjyvbmvHjzUPw13%2B5Q%40mail.gmail.com

         >
        
<https://groups.google.com/d/msgid/puppet-users/CAG5AitKVwUGWtYrKBWO%3DrqxuuEFm1%3DTt%3DjyvbmvHjzUPw13%2B5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
         > For more options, visit https://groups.google.com/d/optout.


--
        Visit my Blog "Puppet on the Edge"
        http://puppet-on-the-edge.blogspot.se/

-- 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%2bunsubscr...@googlegroups.com>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/puppet-users/qb9539%244gao%241%40blaine.gmane.org.
        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/CAG5AitLLmCVYm9zJLzoiWMb484L9aQ7Dsufp4Dhj23%2BKGGwnCA%40mail.gmail.com
    
<https://groups.google.com/d/msgid/puppet-users/CAG5AitLLmCVYm9zJLzoiWMb484L9aQ7Dsufp4Dhj23%2BKGGwnCA%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/CAC9thQWdmpfCuLvG17B%3DYq%3DyfbFM5312V6YtHwxroE2_J8wEVQ%40mail.gmail.com <https://groups.google.com/d/msgid/puppet-users/CAC9thQWdmpfCuLvG17B%3DYq%3DyfbFM5312V6YtHwxroE2_J8wEVQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
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/qb9q7t%2429cc%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to