-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Stan,
You could try setting refreshonly to 'true' in the exec, that way it will only run when the /etc/fstab file it is subscribed to changes. However, I don't know if this will work as you're only ensuring the file is present. http://docs.puppetlabs.com/references/latest/type.html#exec Alternatively, you could add disk information in a separate configuration file (say, /etc/snmp/snmpd.conf.disk) that is included by the main configuration using an include directive, like this: include "/etc/snmp/snmpd.conf.disk" And then change your exec resource to output the result to /etc/snmp/snmpd.conf.disk instead. Hope that helps, Bill On 05/30/2013 01:32 PM, Stan wrote: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGnk9QACgkQ5xgg9J6hpUthFgCfUSFpOSoieOxfujGgZhMZp5Qo +yoAn37BL1lFkwiA/o/jzfyOS0qizM8C =QWOk -----END PGP SIGNATURE----- -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
