Home /Posts /Puppet Dell iDRAC controlPuppet Dell iDRAC controlManaging Dell iDRAC settings from Puppet with racadm, guarded by an onlyif so it only runs on Dell hardware.4 July, 2014 1 min read 51 words1 2 3 4 5 6 7 if $::manufacturer == 'Dell Inc.' { exec { 'Disable DRAC SNMP': command =>; 'racadm config -g cfgOobSnmp -o cfgOobSnmpAgentEnable 0', path =>; '/opt/dell/srvadmin/sbin:/bin', onlyif =>; '/usr/bin/test `/opt/dell/srvadmin/sbin/racadm getconfig -g cfgOobSnmp -o cfgOobSnmpAgentEnable` -eq 1', } } Yea, I think onlyif bit is not nice.Related postsForeman + Puppet autosign.conf doesn't workGenerate Bacula client cert/key pair via PuppetDell Chat SupportSony WH-1000XM4 noise issueGenerate Bacula client cert/key pair via Puppet Log compression for Cloudera Manager Hadoop