Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Michael Hashizume updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Michael Hashizume Team: Coremunity Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.33254.1398535206000.3591.1678225500164%40Atlassian.JIRA.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Trevor Vaughan commented on PUP-2368 Re: using booleans result in unmanaged property Removing the inheritance on Puppet::Property::Boolean and adding the following appears to do the trick: def should return nil unless defined?(@should) (@should - [true,:true]).empty? end It's possible that the underlying puppet code could detect whether or not the thing is a boolean in the native should code and "do the right thing". Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Trevor Vaughan commented on PUP-2368 Re: using booleans result in unmanaged property The Resource API hasn't reached parity with the underlying API so this will still need to be addressed at some point. Documentation outside of this ticket would be great. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.33254.1398535206000.16472.1584638700088%40Atlassian.JIRA.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Mykhailo Danylenko commented on PUP-2368 Re: using booleans result in unmanaged property David Schmitt thanks for the suggestion. Well, if it's the future, I guess I'll switch to that. Still, I think a note in the Puppet::Property::Boolean class would be helpful. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title David Schmitt commented on PUP-2368 Re: using booleans result in unmanaged property Mykhailo Danylenko to avoid this (and many other issues) please use the Resource API: https://puppet.com/docs/puppet/6.0/custom_resources.html The Resource API is available to install on puppet 4 and 5 as a gem (there is also a module for that), and it is shipped fully supported with puppet 6. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Mykhailo Danylenko commented on PUP-2368 Re: using booleans result in unmanaged property Hey, could this be finally fixed in some way? I've spent this week digging through puppet internals to understand, why my resource isn't being managed (as it turned out, only boolean properties were not managed, but they comprise the majority of my resource). Or at least documented in the source, so that developers don't waste their time debugging their code, when the problem lies in puppet's. P.S. I am using puppet 5.5.6 from the official debian repo. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Josh Cooper updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Josh Cooper Sprint: Platform Core Grooming Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title David Schmitt commented on PUP-2368 Re: using booleans result in unmanaged property The Resource API now carries a workaround for that: https://github.com/puppetlabs/puppet-resource_api/pull/62 , basically using :true and :false when talking to puppet. This does not affect the provider, which still can work with regular booleans. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title David Schmitt commented on PUP-2368 Re: using booleans result in unmanaged property This is far enough up the stack that it also affects the Resource API. Add Comment This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Josh Cooper commented on PUP-2368 Re: using booleans result in unmanaged property PUP-8442 should resolve the issue for parameter defaults. This issue is related, but different because properties are managed and we want to be able to set the current value to false. Add Comment This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Josh Cooper updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Josh Cooper Sub-team: Coremunity Add Comment This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Josh Cooper updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Josh Cooper Sprint: Platform Core Grooming Add Comment This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Moses Mendoza Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Maggie Dreyer commented on PUP-2368 Re: using booleans result in unmanaged property This is still broken in Puppet 5, see https://github.com/puppetlabs/puppet/blob/master/lib/puppet/transaction/resource_harness.rb#L123. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Maggie Dreyer updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Maggie Dreyer Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Maggie Dreyer updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Maggie Dreyer Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Arney commented on PUP-2368 Re: using booleans result in unmanaged property This problem is still present in Puppet 4.3.2 and here is a minimal example: puppet/type/foo.rb require 'puppet/property/boolean' Puppet::Type.newtype(:foo) do newparam(:name) newproperty(:boolprop, parent: Puppet::Property::Boolean) end puppet/provider/foo/bar.rb Puppet::Type.type(:foo).provide(:bar) do
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Adrien Thebo updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Adrien Thebo Assignee: Adrien Thebo Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2368) using booleans result in unmanaged property
Title: Message Title Daniele Sluijters updated an issue Puppet / PUP-2368 using booleans result in unmanaged property Change By: Daniele Sluijters Summary: setter on provider is never called using booleans result in unmanaged property Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.