What's on line 13, col 10 of /biz/puppet/modules/profile/manifests/web_server.pp?
-Pablo On Tuesday, August 6, 2013 1:58:56 PM UTC-5, Dan M wrote: > > Hi > > I am setting up first sandbox environment with Puppet and facing > (probably) config issue. > Any help is highly appreciated. > > Setup covers two boxes: > > - OS: RedHatEnterpriseServer 6.4 > - Master node (ip-10-0-8-10) and Agent node (ip-10-0-8-11) > - Puppet version: 3.2.3 > > > Two standard modules have been installed on the Master node only: > > - $> sudo puppet module install puppetlabs/ntp > - $> sudo puppet module install puppetlabs/apache > > > *puppet.conf* is provided at [1] > > *site.pp* from /biz/puppet/hieradata/devbranch/site.pp: > node ip-10-0-8-11 { > include role::knox_portal > } > > *Role* from /biz/puppet/modules/role/manifests/knox_portal.pp: > class role::knox_portal { > include profile::web_server > } > > *Profile* from /biz/puppet/modules/profile/manifests/web_server.pp > class profile::web_server { > class { "apache": } > } > > While running *sudo puppet agent --test* on Agent node, I am getting: > [me@ip-10-0-8-11 puppet-skeleton]$ sudo puppet agent --test > 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:2 on node ip-10-0-8-11 > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > > Thank you > Dan > > [1] puppet.conf > [main] > server = ip-10-0-8-10 > certname = ip-10-0-8-10 > modulepath = > /etc/puppet/modules:/usr/share/puppet/modules:/biz/puppet/modules > > manifest = /biz/puppet/hieradata/$environment/site.pp > logdir = /var/log/puppet > rundir = /var/run/puppet > ssldir = $vardir/ssl > > dns_alt_names = ip-10-0-8-10, puppet > report = true > reports = store, http > > reporturl = http://ip-10-0-8-10:3000/reports/upload > pluginsync = true > > [master] > hiera_config = /biz/puppet/hiera/hiera.yaml > > [agent] > classfile = $vardir/classes.txt > localconfig = $vardir/localconfig > > certname = ip-10-0-8-11 > dns_alt_names = ip-10-0-8-11 > > report = true > archive_files = true > environment = devbranch > > > > -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.