Re: [Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-15 Thread Rich Siegel
Can you publish your work on github. I might be able to help it along. -- 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.

Re: [Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-15 Thread Stefan Schulte
On Wed, 13 Mar 2013 09:00:18 -0700 (PDT) jcbollinger wrote: > Your problem is that you are conflating distinct (for your purposes) > aspects of your resource's state. If you care at times whether the > variable is declared at all or not, and at other times what its value > is, then those should

[Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-14 Thread jcbollinger
On Thursday, March 14, 2013 2:28:13 AM UTC-5, dirk.he...@altum.de wrote: > > Am Mittwoch, 13. März 2013 17:00:18 UTC+1 schrieb jcbollinger: > >> >> >> My problem now is that I don't know how to implement "ensure" for this >>> case, as I cannot use "ensurable" in the type. >>> >> >> Your problem

[Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-14 Thread dirk . heinrichs
Am Mittwoch, 13. März 2013 17:00:18 UTC+1 schrieb jcbollinger: > > > My problem now is that I don't know how to implement "ensure" for this >> case, as I cannot use "ensurable" in the type. >> > > Your problem is that you are conflating distinct (for your purposes) > aspects of your resource's s

[Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-13 Thread jcbollinger
On Wednesday, March 13, 2013 5:31:09 AM UTC-5, dirk.he...@altum.de wrote: > > Hi, > > I'm currently writing a custom type for managing Windows environment > variables. > > A variable should be (re-)created if it doesn't exist or the value doesn't > match the desired value. So exists? checks exa