Re: [Puppet Users] Problem with Virtual Resource
On 06/07/2012 10:18 AM, Walter Heck wrote: > The other option is to move the include virtual to inside the > user::developers class. > > On Thu, Jun 7, 2012 at 9:11 AM, Walter Heck wrote: >> > We usually choose to inherit the developers class from the virtual >> > class, have you tried that approach? Are you implying a parse order dependency? That should not be the case. I've yet to see any evidence for this happening. The theory is: If a virtual resource X is declared *anywhere* in a given node's manifest, realizing it will add it to the catalog. Regards, Felix -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Problem with Virtual Resource
The other option is to move the include virtual to inside the user::developers class. On Thu, Jun 7, 2012 at 9:11 AM, Walter Heck wrote: > We usually choose to inherit the developers class from the virtual > class, have you tried that approach? > > On Thu, Jun 7, 2012 at 7:44 AM, Worker Bee wrote: >> 2.7.9.. >> >> >> >> >> >> >> On Wed, Jun 6, 2012 at 7:37 PM, Jeff McCune wrote: >>> >>> On Wed, Jun 6, 2012 at 4:26 PM, Worker Bee wrote: >>> > Hello Everyone; >>> > >>> > I am stuck... >>> > >>> > I am testing creating virtual resources and having no luck at all. I am >>> > not >>> > getting any errors when I execute puppet agent --test but, the user >>> > account >>> > is never getting created. I would be so grateful if anyone would be >>> > kind >>> > enough to offer some advice. >>> >>> What version of Puppet? >>> >>> -Jeff >>> >>> -- >>> 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+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/puppet-users?hl=en. >>> >> >> -- >> 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+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. > > > > -- > Walter Heck > > -- > Check out my startup: Puppet training and consulting @ http://www.olindata.com > Follow @olindata on Twitter and/or 'Like' our Facebook page at > http://www.facebook.com/olindata -- Walter Heck -- Check out my startup: Puppet training and consulting @ http://www.olindata.com Follow @olindata on Twitter and/or 'Like' our Facebook page at http://www.facebook.com/olindata -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Problem with Virtual Resource
On 06/07/2012 01:26 AM, Worker Bee wrote: > > I am testing creating virtual resources and having no luck at all. I am > not getting any errors when I execute puppet agent --test but, the user > account is never getting created. I would be so grateful if anyone > would be kind enough to offer some advice. Is *none* of the users created? Please double check that there is in fact no user "graham" on the box in question. Thanks, Felix -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Problem with Virtual Resource
We usually choose to inherit the developers class from the virtual class, have you tried that approach? On Thu, Jun 7, 2012 at 7:44 AM, Worker Bee wrote: > 2.7.9.. > > > > > > > On Wed, Jun 6, 2012 at 7:37 PM, Jeff McCune wrote: >> >> On Wed, Jun 6, 2012 at 4:26 PM, Worker Bee wrote: >> > Hello Everyone; >> > >> > I am stuck... >> > >> > I am testing creating virtual resources and having no luck at all. I am >> > not >> > getting any errors when I execute puppet agent --test but, the user >> > account >> > is never getting created. I would be so grateful if anyone would be >> > kind >> > enough to offer some advice. >> >> What version of Puppet? >> >> -Jeff >> >> -- >> 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+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- Walter Heck -- Check out my startup: Puppet training and consulting @ http://www.olindata.com Follow @olindata on Twitter and/or 'Like' our Facebook page at http://www.facebook.com/olindata -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Problem with Virtual Resource
2.7.9.. On Wed, Jun 6, 2012 at 7:37 PM, Jeff McCune wrote: > On Wed, Jun 6, 2012 at 4:26 PM, Worker Bee wrote: > > Hello Everyone; > > > > I am stuck... > > > > I am testing creating virtual resources and having no luck at all. I am > not > > getting any errors when I execute puppet agent --test but, the user > account > > is never getting created. I would be so grateful if anyone would be kind > > enough to offer some advice. > > What version of Puppet? > > -Jeff > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Problem with Virtual Resource
On Wed, Jun 6, 2012 at 4:26 PM, Worker Bee wrote: > Hello Everyone; > > I am stuck... > > I am testing creating virtual resources and having no luck at all. I am not > getting any errors when I execute puppet agent --test but, the user account > is never getting created. I would be so grateful if anyone would be kind > enough to offer some advice. What version of Puppet? -Jeff -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Problem with Virtual Resource
Hello Everyone; I am stuck... I am testing creating virtual resources and having no luck at all. I am not getting any errors when I execute puppet agent --test but, the user account is never getting created. I would be so grateful if anyone would be kind enough to offer some advice. (virtual.pp) class user::virtual { @user {"john": ensure => present} @user {"graham": ensure => present} @user {"steven":} } class user::developers { realize( User["graham"], User["steven"] ) } node 'default' { include test include motd include user::virtual include user::developers } Thanks in advance! -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.