On Wednesday, April 10, 2013 5:27:20 PM UTC+2, Larry Fast wrote: > > When I define the mcollective_version variable using hiera I get the > following error. There is no indication where the problem has occurred. > > Error: Failed to apply catalog: You cannot specify more than one of > content, source, target >
This error is due to the fact that both a source and a template is provided to the module's main configuration file. Generally you either have to specify source => (or $mcollective_source, via hiera/enc) or template ( or $mcollective_template) to populate the configuration, in this module, however, a default template is provided so you might somewhere have a mcollective_source parameter that clashes with it. > > If I set this variable in code it pretents to work but I think its just > ignoring the version rule. IE. when I set it to an invalid version number > it still gets installed. > > hiera: mcollective_version: '2.2.3-1.el6' > code: $mcollective_version = '22.2.3-1.el' > The above error prevents puppet from running on the client, so I'd concentrate on that. Feel free to submit bug reports on https://github.com/example42/puppet-mcollective my2c Al -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.