Re: [Puppet Users] virtual resources & spaceship syntax

2012-06-29 Thread Brett Maton
:D I knew it would be something simple, thanks Kristof that's working now. Brett On 29 Jun 2012, at 16:54, Kristof Willaert wrote: > Hi, > > [snip] > > > node 'puppet-slave.test.net' { > > include users::accounts > > User <| title="account" |> > > } > > Your virtual resource is not

Re: [Puppet Users] virtual resources & spaceship syntax

2012-06-29 Thread Kristof Willaert
Hi, [snip] > node 'puppet-slave.test.net' { >> > include users::accounts >> > User <| title="account" |> >> > } > > Your virtual resource is not a "user", but a define called "users::virtual::account". So you need to realize it using: Users::Virtual::Account <| title == "account" |> Kind re

Re: [Puppet Users] virtual resources & spaceship syntax

2012-06-29 Thread matonb
Thanks for looking Henk, I think my email client replaced == with =, it is using the comparison op in the actual code On Friday, 29 June 2012 16:07:55 UTC+1, (unknown) wrote: > > Hi, > > On Fri, 29 Jun 2012 15:36:35 +0100 > Brett Maton wrote: > > > I'm probably missing something really

Re: [Puppet Users] virtual resources & spaceship syntax

2012-06-29 Thread puppet-users
Hi, On Fri, 29 Jun 2012 15:36:35 +0100 Brett Maton wrote: > I'm probably missing something really simple here, but I can't get > the following to work: > > node 'puppet-slave.test.net' { > include users::accounts > User <| title="account" |> > } It’s supposed to be a comparison, not an ass

[Puppet Users] virtual resources & spaceship syntax

2012-06-29 Thread Brett Maton
I'm probably missing something really simple here, but I can't get the following to work: node 'puppet-slave.test.net' { include users::accounts User <| title="account" |> } Any suggestions welcomed :) Modules: modules/users/manifests/virtual.pp class users::virtual { define account (