[Puppet Users] Could not find default node or by name

bmort
Mon, 16 Aug 2010 20:30:56 -0000

I have this working on 2 other machines.  Would you help me determine
what I''ve overlooked?

Version
[beer@free30 manifests]# puppet -V
0.25.5

The command and error:
[beer@free30 etc]$ sudo puppet -v /etc/puppet/manifests/site.pp --
debug
debug: importing ''/etc/puppet/manifests/modules.pp''
debug: importing
''/etc/puppet/modules/testfile/manifests/init.pp''
debug: importing
''/etc/puppet/modules/freetds/manifests/init.pp''
debug: importing ''/etc/puppet/modules/odbc/manifests/init.pp''
debug: importing
''/etc/puppet/modules/odbcinst/manifests/init.pp''
debug: importing ''/etc/puppet/modules/monit/manifests/init.pp''
debug: importing ''/etc/puppet/manifests/nodes.pp''
debug: Adding code to main on line 30 in file /etc/puppet/manifests/
nodes.pp
debug: Adding code to main on line 14 in file /etc/puppet/manifests/
site.pp
debug: Failed to load library ''selinux'' for feature
''selinux''
Could not find default node or by name with ''free30.test.com,
free30.test, free30'' on node free30.test.com
[beer@free30 etc]$

nodes.pp:
# /etc/puppet/manifests/nodes.pp

# make sure you know what you are doing.
node basenode {
  include testfile
  include freetds
  include odbc
  include odbcinst
  include monit
}

node ''free30.test.com'' inherits basenode {
}

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

import "modules"
import "nodes"

# The filebucket option allows for file backups to the server
# *Note this is not working but appears to be required
filebucket { main: server => ''no.where.com'' }

# Set global defaults - including backing up all files to the main
filebucket and adds a global path
File { backup => main }