Still no go.  I have a bunch of simple class files stored in 
/etc/puppet/manifests/classes -- not sure how that got designed, but I 
followed a book or two.  It's been working so far, until 3.0.   Here is the 
error when I prepend "modules" to the statement:

Oct 19 14:41:47 stage1 puppet-agent[21124]: Ignoring --listen on onetime run
Oct 19 14:41:48 stage1 puppet-master[21126]: Starting Puppet master version 
3.0.1
Oct 19 14:41:48 stage1 puppet-master[21155]: Denying access: Forbidden 
request: stage1.myserver.com(127.0.0.1) access to /node/stage1.myserver.com 
[find] authenticated  at :95
Oct 19 14:41:48 stage1 puppet-master[21155]: Forbidden request: 
stage1.myserver.comu(127.0.0.1) access to /node/stage1.de-prod.harvard.edu 
[find] authenticated  at :95
Oct 19 14:41:48 stage1 puppet-agent[21124]: Unable to fetch my node 
definition, but the agent run will continue:
Oct 19 14:41:48 stage1 puppet-agent[21124]: Error 403 on SERVER: Forbidden 
request: stage1.myserver.com(127.0.0.1) access to /node/stage1.myserver.com 
[find] authenticated  at :95
Oct 19 14:41:48 stage1 puppet-master[21155]: Error parsing fileserver 
configuration: wrong number of arguments (3 for 1); using old configuration
Oct 19 14:41:51 stage1 puppet-master[21155]: Compiled catalog for 
stage1.myserver.com in environment production in 1.79 seconds
Oct 19 14:41:54 stage1 puppet-agent[21124]: 
(/Stage[main]/Ntp-client/File[/etc/ntp.conf]) Could not evaluate: Could not 
retrieve information from environment production source(s) 
puppet:///modules/etc/ntp.conf
Oct 19 14:41:54 stage1 puppet-agent[21124]: 
(/Stage[main]/Ntp-client/Service[ntpd]) Dependency File[/etc/ntp.conf] has 
failures: true
Oct 19 14:41:54 stage1 puppet-agent[21124]: 
(/Stage[main]/Ntp-client/Service[ntpd]) Skipping because of failed 
dependencies
Oct 19 14:41:54 stage1 puppet-agent[21124]: Finished catalog run in 1.85 
seconds


I figured "modules" wouldn't work as it's not there anyway.   So, moving it 
back to the normal URL, which would refer to the file as 
puppet:///etc/ntp.conf (removing "files" as the docs say), I get this:



Oct 19 14:45:17 stage1 puppet-agent[21635]: Ignoring --listen on onetime run
Oct 19 14:45:18 stage1 puppet-master[21638]: Starting Puppet master version 
3.0.1
Oct 19 14:45:18 stage1 puppet-master[21667]: Denying access: Forbidden 
request: stage1.myserver.com(127.0.0.1) access to /node/stage1.myserver.com 
[find] authenticated  at :95
Oct 19 14:45:18 stage1 puppet-master[21667]: Forbidden request: 
stage1.myserver.com(127.0.0.1) access to /node/stage1.myserver.com [find] 
authenticated  at :95
Oct 19 14:45:18 stage1 puppet-agent[21635]: Unable to fetch my node 
definition, but the agent run will continue:
Oct 19 14:45:18 stage1 puppet-agent[21635]: Error 403 on SERVER: Forbidden 
request: stage1.myserver.com(127.0.0.1) access to 
/node/stage1.de-prod.harvard.edu [find] authenticated  at :95
Oct 19 14:45:18 stage1 puppet-master[21667]: Error parsing fileserver 
configuration: wrong number of arguments (3 for 1); using old configuration
Oct 19 14:45:19 stage1 puppet-master[21667]: Compiled catalog for 
stage1.myserver.com in environment production in 0.69 seconds
Oct 19 14:45:22 stage1 puppet-master[21667]: Not authorized to call find on 
/file_metadata/etc/ntp.conf
Oct 19 14:45:22 stage1 puppet-agent[21635]: 
(/Stage[main]/Ntp-client/File[/etc/ntp.conf]) Could not evaluate: Error 400 
on SERVER: Not authorized to call find on /file_metadata/etc/ntp.conf Could 
not retrieve file metadata for puppet:///etc/ntp.conf: Error 400 on SERVER: 
Not authorized to call find on /file_metadata/etc/ntp.conf
Oct 19 14:45:22 stage1 puppet-agent[21635]: 
(/Stage[main]/Ntp-client/Service[ntpd]) Dependency File[/etc/ntp.conf] has 
failures: true
Oct 19 14:45:22 stage1 puppet-agent[21635]: 
(/Stage[main]/Ntp-client/Service[ntpd]) Skipping because of failed 
dependencies
Oct 19 14:45:22 stage1 puppet-agent[21635]: Finished catalog run in 1.98 
seconds


So I'm back to square one.  From what I've read, there is an error with 
auth_ip not being recognized in fileserver.conf -- so, fine, why doesn't 
the older behavior not work?   The auth.conf file just has * next to the 
allow, which should still work.

The error message makes no sense to me:

Error parsing fileserver configuration: wrong number of arguments (3 for 1)

There is only one arg after "allow" - it doesn't seem to care what I put in 
there at this point.

I'm baffled (and getting really frustrated with this).


Thanks.


On Friday, October 19, 2012 10:07:10 AM UTC-4, Alex C wrote:
>
> I ran into a similar issue when upgrading to 3.0.  Make sure your specify 
> 'modules' when loading puppet:// resources that are includes in modules:
>
> source  => "puppet:///modules/etc/ntp.conf",
>
>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/jWf6ENN3nr4J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to