def delete_stanza(self, conf_name, stanza):
     scmc.delete_stanza(
         self.splunkd_uri,
         self.session_key,
         self.owner,
         self.app_name,
         conf_name,
         stanza,
     )
예제 #2
0
 def delete_stanza(self, conf_name, stanza):
     if self.stanza_exist(conf_name, stanza):
         return scmc.delete_stanza(self.splunkd_uri, self.session_key,
                                   self.update_owner, self.app_name,
                                   conf_name, stanza)
     else:
         _LOGGER.info("The stanza to be deleted %s does not exist.", stanza)
         return False
예제 #3
0
 def delete_stanza(self, conf_name, stanza):
     scmc.delete_stanza(self.splunkd_uri, self.session_key,
                        self.owner, self.app_name,
                        conf_name, stanza)
예제 #4
0
 def delete_stanza(self, conf_name, stanza):
     return scmc.delete_stanza(self.splunkd_uri, self.session_key,
                               self.update_owner, self.app_name, conf_name,
                               stanza)