-->
  • Recent Articles

    Newly defined Classes are not showing up in PE console

    Issue:
    Newly defined Classes are not showing up in PE console.



    Solution:
    1. Check the logs at /var/log/puppetlabs/console-services/console-services.log.
    2. if " [p.c.class-updater] 200 response received for request for classes in production." its most probably a syntax issue.
    3. If it is 400 error then it is a connectivity issue.
    4. In my case, i've written class in "/etc/puppetlabs/code/environments/production/modules/msgofday/manifests"  
    CAPS.
    5. I've changed that to SMALL letters and it works.
    [root@example.com manifests]# cat *
    class msgofday {
    notify { 'hello, world!': }
     }
    class msgofday::motd {
        file { '/etc/motd':
        owner  => 'root',
        group  => 'root',
        mode    => '0644',
        content => "hello, world!\n",
        }
     }
    [root@example.com manifests]#

    No comments