MM
2013-Oct-24 14:23 UTC
[Puppet Users] Puppet create_resources function unable to enforce resource order
So I have a hiera data like this, org.vim.Vim64: name: org.vim.Vim64 ensure: installed provider: npackd vim-pathogen: name: vim-pathogen ensure: installed provider: npackd require: org.vim.Vim64 and I feed these data into create_resources function, yet puppet will complain cannnot require org.vim.Vim64 as there''s no title for it. Is there a way to get this to work? Thanks, ~MM -- 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+unsubscribe@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.
Nan Liu
2013-Oct-25 04:38 UTC
Re: [Puppet Users] Puppet create_resources function unable to enforce resource order
On Thu, Oct 24, 2013 at 7:23 AM, MM <wilddog.c.1964@gmail.com> wrote:> So I have a hiera data like this, > > org.vim.Vim64: > name: org.vim.Vim64 > ensure: installed > provider: npackd > vim-pathogen: > name: vim-pathogen > ensure: installed > provider: npackd > require: org.vim.Vim64 > > and I feed these data into create_resources function, yet puppet will > complain cannnot require org.vim.Vim64 as there''s no title for it. Is > there a way to get this to work? >You also need to specify the resource type. HTH, Nan -- 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+unsubscribe@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.