I have a package provider which is a modified form of one of the
default ones in the FreeBSD ports version of Puppet 2.6.1r3. I placed
the provider in /usr/local/etc/puppet/modules/test/lib/puppet/
provider/ and ran puppetd on the client with the following command
line:
puppetd -o --no-daemonize -l console --pluginsync --server example.net
I got the following output:
notice: /File[/var/puppet/lib/puppet/provider/portupgradepp.rb]/
content: content changed
''{md5}b0a26e0cf8d707e2d1e391e60a11c5f7'' to
''{md5}7d9343154d1279da4b662068c24301f4''
notice: /Stage[main]/Test/Package[portaudit]/ensure: created
notice: /Stage[main]/Test/Package[ruby]/ensure: created
notice: Finished catalog run in 6.02 seconds
I reran the command, and got the following output:
err: Could not run Puppet configuration client: Parameter provider
failed: Invalid package provider ''portupgradepp'' at
/usr/local/etc/
puppet/modules/test/manifests/init.pp:9
Finally, I modified the provider by prepending a space to the first
line (changing its hash) and reran the command:
notice: /File[/var/puppet/lib/puppet/provider/portupgradepp.rb]/
content: content changed
''{md5}7d9343154d1279da4b662068c24301f4'' to
''{md5}b0a26e0cf8d707e2d1e391e60a11c5f7''
notice: /Stage[main]/Test/Package[portaudit]/ensure: created
notice: /Stage[main]/Test/Package[ruby]/ensure: created
notice: Finished catalog run in 5.99 seconds
I have no configuration files on either the master or the puppet.
This seems like a bug, but I''m open to the possibility that
I''m
missing something. Any thoughts?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.