Because it is in your puppet.conf :

external_nodes = /etc/puppet/node.rb

more info about ENC : http://docs.puppetlabs.com/guides/external_nodes.html


On 02/27/2014 07:29 PM, mjack...@broadsoft.com wrote:
Hi,

I uninstalled foreman.  why would  node.rb be utilized?

Regards,

On Wednesday, February 26, 2014 3:15:48 PM UTC-8, mjac...@broadsoft.com wrote:

    I am new to puppet.

    running puppet 2.7.19

    didn't know that you couldn't install foreman and dashboard on the
    same system/puppet master.
    I've uninstalled both of them.

    puppet nodes are complaining about not being able to get their
    catalogs.

    puppet.conf has:

    snippet:

    [main]
        # The Puppet var directory.
        vardir = /var/lib/puppet

        # The Puppet log directory.
        # The default value is '$vardir/log'.
        logdir = /var/log/puppet

        # Where Puppet PID files are kept.
        # The default value is '$vardir/run'.
        rundir = /var/run/puppet

        # Where SSL certificates are kept.
        # The default value is '$confdir/ssl'.
        ssldir = $vardir/ssl

        # Allow services in the 'puppet' group to access key (Foreman
    + proxy)
        privatekeydir = $ssldir/private_keys { group = service }
        hostprivkey = $privatekeydir/$certname.pem { mode = 640 }

        # Puppet 3.0.x requires this in both [main] and [master] -
    harmless on agents
        autosign       = $confdir/autosign.conf { mode = 664 }


    [master]
        autosign       = $confdir/autosign.conf { mode = 664 }
        reports        = store, http
        external_nodes = /etc/puppet/node.rb
        node_terminus  = exec
        ca             = true
    [development]
        modulepath     =
    
/etc/puppet/modules/development:/etc/puppet/modules/common:/usr/share/puppet/modules
    [production]
        modulepath     =
    
/etc/puppet/modules/production:/etc/puppet/modules/common:/usr/share/puppet/modules

    /etc/puppet/manifests/site.pp
    includes:

    import "classes/*"
    import "roles/*.pp"
    import "nodes/*.pp"
    import "users/*.pp"

    -----------end snippet-------------

    and yes /etc/puppet/manifests/nodes does contain node_$agent(fqdn).pp

    ls /var/lib/puppet/yaml/facts

    shows: $agent_hosts.yaml

    in /var/log/messages, I find the following types of errors:

    puppet puppet-master[16517]: Could not find node
    '$agent_hosts(fqdn)';   cannot compile

    # note: $agent_hosts(fqdn)  = a list of hosts that should be
    managed by puppet.  they all look like an fqdn.

    my question:  where would the configuration be to tell where these
    machines are for compiling catalogs?




    This email is intended solely for the person or entity to which
    it is addressed and may contain confidential and/or privileged
    information. If you are not the intended recipient and have
    received this email in error, please notify BroadSoft, Inc.
    immediately by replying to this message, and destroy all copies
    of this message, along with any attachment, prior to reading,
    distributing or copying it.


This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it.
--
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/55378f05-cad2-4acd-9c5f-2b930503fdb8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer         (805008667232363)
Puppet Certified Professional 2013 (PCP0000006)
_________________________________________________________
Open-Future Phone +32 (0)2/255 70 70
Zavelstraat 72              Fax       +32 (0)2/255 70 71
3071 KORTENBERG             Mobile    +32 (0)474/42 40 73
BELGIUM                     http://www.open-future.be
_________________________________________________________


Next Events:
Zabbix Certified Training | 
http://www.open-future.be/zabbix-certified-training-10-till-12th-march
Zabbix for Large Environments Training | 
http://www.open-future.be/zabbix-large-environments-training-13-till-14th-march
Puppet Intruction Course | 
http://www.open-future.be/puppet-introduction-course-14th-april
Puppet Advanced Training | 
http://www.open-future.be/puppet-advanced-training-15-till-17th-april
Subscribe to our newsletter | http://eepurl.com/BUG8H

--
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/530F85C4.5050902%40open-future.be.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to