Hi Gary, Thank you very much! I thought it may have been a scoping issue!
Peter. On Apr 25, 8:56 am, Gary Larizza <g...@puppetlabs.com> wrote: > Hey Peter, > > You should be able to do $settings::storeconfigs to get that value. > > > > > > > > > > On Tue, Apr 24, 2012 at 2:14 PM, Peter Foley <pe...@ifoley.id.au> wrote: > > Hi List, > > > In a module that I am developing I would like to do different things > > depending on if storeconfigs is true or false. > > > Is there any way to: > > > if $storeconfigs == true { > > # Use stored config values > > } else { > > # Use non stored config values > > } > > > Thanks, > > > Peter. > > > -- > > 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. > > -- > > Gary Larizza > Professional Services Engineer > Puppet Labs -- 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.