Hi John 

Thank you for helping me.
Today I have fixed several configuration issues of Master's start-up (such 
as SELinux warning, missing domain names, etc), however the problem with 
<*include 
apache*> persist.

To be on the safe side, I am running both Master and Agent from *sudo*. At 
the same time, I have added *puppet* user to *root* group (just to 
eliminate possibility of inaccessible paths):
[me@ip-10-0-8-11 puppet-skeleton]$ groups puppet
puppet : puppet root


Please, find Master debug log below:
[me@ip-10-0-8-10 ~]$ sudo puppet master --no-daemonize --debug

<START_UP_MESSAGES - NO_WARNINGS>

Notice: Starting Puppet master version 3.2.3
Info: Inserting default '~ ^/catalog/([^/]+)$' (auth true) ACL
Info: Inserting default '~ ^/node/([^/]+)$' (auth true) ACL
Info: Inserting default '/file' (auth ) ACL
Info: Inserting default '/certificate_revocation_list/ca' (auth true) ACL
Info: Inserting default '~ ^/report/([^/]+)$' (auth true) ACL
Info: Inserting default '/certificate/ca' (auth any) ACL
Info: Inserting default '/certificate/' (auth any) ACL
Info: Inserting default '/certificate_request' (auth any) ACL
Info: Inserting default '/status' (auth true) ACL
Info: Caching node for ip-10-0-8-11.sampup.com
Debug: No plugins found in subpath '/etc/puppet/modules/ntp/lib' (file / 
directory does not exist)
Debug: No plugins found in subpath '/biz/puppet/modules/role/lib' (file / 
directory does not exist)
Debug: No plugins found in subpath '/biz/puppet/modules/profile/lib' (file 
/ directory does not exist)
Debug: No plugins found in subpath '/biz/puppet/modules/README/lib' (file / 
directory does not exist)
Debug: No plugins found in subpath '/biz/puppet/modules/networking/lib' 
(file / directory does not exist)
Debug: No plugins found in subpath '/biz/puppet/modules/users/lib' (file / 
directory does not exist)
Info: Caching node for ip-10-0-8-11.sampup.com
Debug: importing '/biz/puppet/modules/role/manifests/init.pp' in 
environment devbranch
Debug: importing '/biz/puppet/modules/role/manifests/knox_portal.pp' in 
environment devbranch
Debug: Automatically imported role::knox_portal from role/knox_portal into 
devbranch
Debug: importing '/biz/puppet/modules/profile/manifests/init.pp' in 
environment devbranch
Debug: importing '/biz/puppet/modules/profile/manifests/base.pp' in 
environment devbranch
Debug: Automatically imported profile::base from profile/base into devbranch
Debug: importing '/biz/puppet/modules/networking/manifests/init.pp' in 
environment devbranch
Debug: Automatically imported networking from networking into devbranch
Debug: importing '/biz/puppet/modules/users/manifests/init.pp' in 
environment devbranch
Debug: Automatically imported users from users into devbranch
Debug: importing '/biz/puppet/modules/profile/manifests/web_server.pp' in 
environment devbranch
Debug: Automatically imported profile::web_server from profile/web_server 
into devbranch
Debug: importing '/etc/puppet/modules/apache/manifests/init.pp' in 
environment devbranch
Debug: Automatically imported apache from apache into devbranch
Debug: importing '/etc/puppet/modules/apache/manifests/params.pp' in 
environment devbranch
Debug: Automatically imported apache::params from apache/params into 
devbranch
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: 
syntax error on line 13, col 10: `' at 
/biz/puppet/modules/profile/manifests/web_server.pp:3 on node 
ip-10-0-8-11.sampup.com
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: 
syntax error on line 13, col 10: `' at 
/biz/puppet/modules/profile/manifests/web_server.pp:3 on node 
ip-10-0-8-11.sampup.com
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: 
syntax error on line 13, col 10: `' at 
/biz/puppet/modules/profile/manifests/web_server.pp:3 on node 
ip-10-0-8-11.sampup.com
Debug: Finishing transaction 69970875958340
Debug: Received report to process from ip-10-0-8-11.sampup.com
Debug: Processing report from ip-10-0-8-11.sampup.com with processor 
Puppet::Reports::Store

Agent node log:
[me@ip-10-0-8-11 puppet-skeleton]$ sudo puppet agent --test
Info: Caching certificate for ip-10-0-8-11.sampup.com
Info: Caching certificate_revocation_list for ca
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Puppet::Parser::AST::Resource failed with error ArgumentError: syntax error 
on line 13, col 10: `' at 
/biz/puppet/modules/profile/manifests/web_server.pp:3 on node 
ip-10-0-8-11.sampup.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

And the file in question:
[me@ip-10-0-8-10 puppet-skeleton]$ cat 
/biz/puppet/modules/profile/manifests/web_server.pp
class profile::web_server { 
  # Configuration for all webservers
  class { "apache": } 
  #class { "php": } 
  #class { "memcache": } 
}

What else can I do to understand the issue?

Dan

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to