Issue #2244 has been updated by Derek Whayman.


h2. Scenario 1

No [plugins] in /etc/puppet/fileserver.conf
<pre>
debug: No plugins mount given; autocreating with default permissions

</pre>

On client, no pluginsource in /etc/puppet/puppet.conf
<pre>
<0> [email protected] (0 jobs)
 /var/lib/puppet/plugins
  % ls -l
total 0
<0> [email protected] (0 jobs)
 /var/lib/puppet/plugins
  % sudo puppetd -t --noop --no-factsync --pluginsync --tags sdkljfh
info: Retrieving plugin
err: /File[/var/lib/puppet/plugins]: Failed to retrieve current state of 
resource: Could not retrieve information from source(s) 
puppet://engpsr0170.etf.barcapetf.com/plugins
...

</pre>

h2. Scenario 2

[plugins] in /etc/puppet/fileserver.conf, without path

<pre>
...
[plugins]
  allow *
...

info: mount[plugins]: allowing * access
<0> [email protected] (0 jobs)
 /var/lib/puppet/plugins
  % ls -l
total 0
<0> [email protected] (0 jobs)
 /var/lib/puppet/plugins
  % sudo puppetd -t --noop --no-factsync --pluginsync --tags sdkljfh
info: Retrieving plugin
err: /File[/var/lib/puppet/plugins]: Failed to retrieve current state of 
resource: Could not retrieve information from source(s) 
puppet://engpsr0170.etf.barcapetf.com/plugins

</pre>

h2. Scenario 3

Fall back to using an old-style mount
On Master, in /etc/puppet/fileserver.conf:

<pre>
...
[oldplugins]
  path /var/lib/puppet/plugins
  allow *
...

</pre>

On Client,
In /etc/puppet/puppet.conf

<pre>
...
[puppetd]
...
    pluginsource = puppet:///oldplugins/

0> [email protected] (0 jobs)
 /var/lib/puppet/plugins
  % sudo puppetd -t --noop --no-factsync --pluginsync --tags sdkljfh
<1> [email protected] (0 jobs)
 /var/lib/puppet/plugins
  % ls -l
total 0
<0> [email protected] (0 jobs)
 /var/lib/puppet/plugins
  % sudo puppetd -t --noop --no-factsync --pluginsync --tags sdkljfh
info: Retrieving plugin
notice: /File[/var/lib/puppet/plugins/puppet]/ensure: created
notice: /File[/var/lib/puppet/plugins/puppet/parser]/ensure: created
notice: /File[/var/lib/puppet/plugins/puppet/parser/functions]/ensure: created
notice: 
/File[/var/lib/puppet/plugins/puppet/parser/functions/BCutilities.rb]/ensure: 
defined 'content' as '{md5}3cdb1b3a2c9377f2b06b8a3d1eb99f7d'
notice: 
/File[/var/lib/puppet/plugins/puppet/parser/functions/allstringvarsdefined.rb]/ensure:
 defined 'content' as '{md5}57c37a60a75dfca8918596e07ba200dd'
...
notice: /File[/var/lib/puppet/plugins/puppet/provider/sysctl]/ensure: created
notice: /File[/var/lib/puppet/plugins/puppet/provider/sysctl/parsed.rb]/ensure: 
defined 'content' as '{md5}d2286da60de06702b4f4088aea013271'
...
notice: /File[/var/lib/puppet/plugins/puppet/type/sysctl.rb]/ensure: defined 
'content' as '{md5}2dbd57c096f29efa11a4c041af6e41ef'
...
info: Loading downloaded plugin /var/lib/puppet/plugins/puppet/type/sysctl.rb
info: Redefining sysctl in Puppet::Type
...

</pre>

It doesn't seem to be successfully loading my type; that's another ticket.

----------------------------------------
Bug #2244: Non-modular pluginsync fails
http://projects.reductivelabs.com/issues/2244

Author: Derek Whayman
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.25.0
Keywords: 





-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to