anyone?  anyone?  (bueller?  bueller?)

are there internal puppet variables or some such that show puppet
state/config that can be interrogated in a manifest?  any other way of
telling if storedconfig is enabled?

the two ways i can think of:

 - assume puppetmaster config is /etc/puppet/puppet.conf and grep for
expected storedconfig parameters
 - add some static data to the database and retrieve through
collecting resources and testing for expected data

both these are a bit 'bodgy', and could potentially show false
positives or negatives. would prefer a more direct test if anyone
knows if it is possible?

thanks
dom


On Jul 29, 4:37 pm, dom <[email protected]> wrote:
> Hi
>
> I'd like to be able to test if stored config is enabled and active,
> and if not then react (eg. notice or die).
>
> Is there any way of doing this?
>
> Thanks
> Dom

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to