[Puppet Users] Re: recovery from foreman

2014-02-27 Thread mjackson
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.


[Puppet Users] Re: recovery from foreman

2014-02-27 Thread mjackson
Yes, it was in my puppet.conf file.  That has been removed and now a 
compile is working. 

Thanks!

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/ec769f0b-b5a4-4321-9760-5bc9ca947a01%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: recovery from foreman

2014-02-27 Thread mjackson
Hi Again,

Out of curiosity ... How does PuppetEnterprise interface w/ VMware/Vsphere 
to set the host name in Linux?

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/9d358c48-cf1a-40e0-afa4-96807d03ac9e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] recovery from foreman

2014-02-26 Thread mjackson
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.

-- 
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/f07723f1-f06f-4861-b87f-e368ea275e32%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.