No, I don't have pluginsync enabled, but when I attempt to do so I get this error:
Info: Retrieving plugin Error: Could not retrieve plugin: Parameter source failed on File[/var/lib/puppet/lib]: Could not understand source puppet://lib_puppet2.library.nd.edu/plugins: the scheme puppet does not accept registry part: lib_puppet2.library.nd.edu (or bad hostname?) I've been searching the web, but have not found the combination to get past this. Documentation only suggests enabling pluginsync on both master and agent, which is not enough. What else am I missing? Thanks, Tom On Tuesday, July 30, 2013 5:24:41 PM UTC-4, Tom Hanstra wrote: > > I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from > puppetlabs. > > I'm attempting to use file_line to add a line to a file. I've dumbed this > down to basically the test script: > > class hs_puptest1 { > > file { '/tmp/testfile': > ensure => present > }-> > file_line { 'test_line': > line => 'Some data', > path => '/tmp/testfile', > } > } > > The puppet agent puptest1 creates /tmp/testfile, but it does not add the > line to the file. I don't even see file_line executed: > > puptest1.library.nd.edu|root no_ora /etc/puppet 673$ puppet agent --test > Info: Caching catalog for puptest1.library.nd.edu > Info: Applying configuration version '1375219378' > Notice: /Stage[main]/Hs_puptest1/File[/tmp/testfile]/ensure: created > Notice: Finished catalog run in 1.86 seconds > puptest1.library.nd.edu|root no_ora /etc/puppet 674$ cat /tmp/testfile > puptest1.library.nd.edu|root no_ora /etc/puppet 675$ > > What am I doing wrong? What might be missing? > > Thanks, > Tom > hans...@nd.edu > -- 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.