Issue #9415 has been updated by Jim Pirzyk. File authstore_spec.rb.patch added
I've attempted to write some additional tests for this new feature. Not exactly sure how the base system will handle IP addresses of 192.168.0.255 and 192.168.2.0 (broadcast and network addresses), but did put some extra tests for the first and last valid/invalid real IP addresses too. ---------------------------------------- Feature #9415: use IPv4 netmasks in allow statements in config files https://projects.puppetlabs.com/issues/9415 Author: Jim Pirzyk Status: Tests Insufficient Priority: Normal Assignee: Jim Pirzyk Category: plumbing Target version: Affected Puppet version: 2.7.3 Keywords: Branch: If I use the following template for the namespaceauth.conf file (extends to other config files too) [fileserver] allow *.<%= domain %> allow <%= network_eth0 %>/<%= netmask_eth0 %> allow 127.0.0.1 I get the following error: Invalid pattern 192.168.1.0/255.255.255.0 In lieu of having a netmasklen_eth0 fact, I have supplied a patch to enable this syntax. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
